checkbox column in datagrid (.net)
Hi,
A got a page that list all members from my database, but I would like to have a checkbox to see if the user is active or not, and to be able to update the page in the database, but i'm not really sure how to do it because it's the first time a try.
Thanks for the help
punky.
Re: checkbox column in datagrid (.net)
You say "page". Does that mean that this is a WebForms app? The WinForms DataGrid is a completely different control to the WebForms DataGrid so this is an important distinction. If so, the ASP.NET forum is probably a better place to post this question, although you may well still get an answer here.
Re: checkbox column in datagrid (.net)
attached to the datagrid the datagridboolcolumn in
Dim myboolcol as datagridboolcolumn
datagrridtablestyle.gridcolumnstyles.add(myboolcol)
Re: checkbox column in datagrid (.net)
for a web form , you can right-click the datagrid then click the propery builder then you can assign the column as a textbox, checkbox.....