Monday, August 16, 2010

I have to know how to add an checkbox in datagrid of vb.net?

i am trying to insert an checkbox into an datagrid i am getting code for dynamic only but i want to know how to insert in datagrid staticallyI have to know how to add an checkbox in datagrid of vb.net?
you can show a checkbox in your datagrid by writing following code in your html page view





%26lt;asp:datagrid id=';xxx'; runat=server%26gt;


%26lt;asp:templatecolumn%26gt;


%26lt;itemtemplate%26gt;


%26lt;asp:checkbox id=';xxx'; runat=server%26gt;


%26lt;/itemtemplate%26gt;


%26lt;asp:templatcolumn%26gt;


%26lt;/asp:datagrid%26gt;I have to know how to add an checkbox in datagrid of vb.net?
Which datagrid ? system.Windows.Forms.DataGrid Or System.Web.UI.WebControls.DataGrid.





Both uses different techniques.

No comments:

Post a Comment