|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Datagrid editing a coulmn
Hi,
I am developing an application where i want to edit a datagrid. I am retreiving values from a sql database and populating it to the grid. If the value of one of the columns is say true, the coulmns contining that values must not be editable. if it is false , it should be editable. I am having a datagrid_edit and datagrid_update methods. I am not able to find the right way of doing it. can someone Post me a snippet, so that i can get myself started. Here is my code. I am coding it in the script. <EditItemTemplate> <asp:TextBox id="Itemtxt" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ItemNumber") %>' Width="90"> </asp:TextBox> </EditItemTemplate> say if the item number is 2, i want to edit this coulmn alone. else i dont want to edit this column. All other columns for a particular row are editable. any suggestions. can someone help ?? thanks, -sriram |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Datagrid editing a coulmn |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|