A
Anamika
Hi All,
I have a problem trying to edit the data in a datagrid control.
I have 2 bound columns in the datagrid. I have added the following
code inorder to edit the data. I want it such that certain rows of
data when edited will bring the textbox control while certain other
rows will bring a dropdownlist from where i can select a value.
is it possible to do that in the SAME template column?
Any help will be much appreciated.
Thanks,
Anamika
----
<Columns>
<asp:EditCommandColumn
ButtonType="LinkButton"
UpdateText="Update"
CancelText="Cancel"
EditText="Edit"
ItemStyle-HorizontalAlign="Center"
HeaderText="Edit">
</asp:EditCommandColumn>
<asp:BoundColumn DataField="Header" HeaderText="Application
Field"></asp:BoundColumn>
<asp:BoundColumn DataField="Value" HeaderText="Field
Value"></asp:BoundColumn>
</Columns>
I have a problem trying to edit the data in a datagrid control.
I have 2 bound columns in the datagrid. I have added the following
code inorder to edit the data. I want it such that certain rows of
data when edited will bring the textbox control while certain other
rows will bring a dropdownlist from where i can select a value.
is it possible to do that in the SAME template column?
Any help will be much appreciated.
Thanks,
Anamika
----
<Columns>
<asp:EditCommandColumn
ButtonType="LinkButton"
UpdateText="Update"
CancelText="Cancel"
EditText="Edit"
ItemStyle-HorizontalAlign="Center"
HeaderText="Edit">
</asp:EditCommandColumn>
<asp:BoundColumn DataField="Header" HeaderText="Application
Field"></asp:BoundColumn>
<asp:BoundColumn DataField="Value" HeaderText="Field
Value"></asp:BoundColumn>
</Columns>