hi,
i want help on adding a dropdownlist in a datagrid when it is in edit mode and a way to populate it from the database.
thank u in advance
abhijit
hi,
i want help on adding a dropdownlist in a datagrid when it is in edit mode and a way to populate it from the database.
thank u in advance
abhijit
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit MRank #3,390 · 425 reputationPosted Oct 9, 2007, 4:59 AM EDT
By adding a template column you can add dropdown list in datagrid.
and for binding drop down from database you have two ways.
1).make an asp:sqldatasource and pass its id to ur dropdown list datasource
id properties.
2).fill dropdown list in rowdatabound event.which get execute after binding the grid.