Gridview button filed dynamically add
I am having one DataGrid..I want to create one button field inside the DataGrid dynamicall开发者_C百科y.
Button filed type is link type.. this button field is fill after checking some conditions in my database..any body help me
Maybe use Jquery to add some controls or you can use httpwriter
httpwriter msdn
The answer for this may require you do a tiny bit of reading/understanding.
Basically you do two things: 1) Add the button design-time and 2) choose its visibility based on database condition.
精彩评论