Bhushan Posted March 3, 2006 Share Posted March 3, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now