954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

datagrid coantianing checkbox as column

hi everyone,
i am doing a application on datagrid containing checkbox.when the checkbox is checked ,the textbox present in the next column of the datagrid must be visible otherwise it should not.can any one help in this matter.
bye

greeny_1984
Posting Whiz
372 posts since Apr 2007
Reputation Points: 25
Solved Threads: 29
 

What are your trying to say is when the checkbox is true one of the cells in the datagrid should be visible?

If checkbox.check = True Then

DataGrid1.Columns[INDEX].Visible=True;

Elseif Checkbox.check = False Then

DataGrid1.Columns[INDEX].Visible=False;
arjunsasidharan
Practically a Posting Shark
826 posts since Aug 2006
Reputation Points: 347
Solved Threads: 13
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You