开发者

How to enable / disable any record in gridview?

How to enable / disable any record in gridview ?

using mssql

I want in my gridview the following will appear ..

Name          Course         Year          Status  
Sam           MCA            2010          Enable

when i click on enable then record will be displayed in gridview and the enable button will convert into text disable... and when i click on disable then the record will be disable in gridview and enabl开发者_运维知识库e button will appear ...

I want to use vb.net, asp.net (vb) to do that ...


Use a Checkbox in a TemplateField or a CheckBoxField in your GridView to display the Enabled-State. Here is a Tutorial: http://msdn.microsoft.com/en-us/library/bb288032.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜