Jump to content

How to place editable text box inside HTML table??


Bhushan

Recommended Posts

Hi All,I am populating datagrid from my database. I have 3 columns in my datagrid. First is editableCommandColumn, second is my primary key field column and third one is description column.Description contains 3 fields. So I have made use of template column and have used html table to place those 3 fields in 3 rows.But this field should be editable when I click the edit button. But hw can i make use of EditItemTemplate in table?..I tried to place this iside but gives error.Please see the below piece of code.<asp:TemplateColumn HeaderText="GIMS Details"> <ItemTemplate> <table border="1" width="450"> <tr> <td width="18%"> Description </td> <td> <%# DataBinder.Eval(Container.DataItem,"severity")%> </td> </tr> <tr>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...