Thanks Radcaesar for the reply.
Actually i am struggling at the very begining. Let me be very precise
I have 6 fields in my table and i have added two image buttons for edit and delete events.
I have converted all of the above(6 fields+2(1 for edit,1 for delete))=8 fields to template fields.
Now on each of the 6 templatefields(databse fields which i converted to template) I have inserted a textbox on the footer.
Also on the footer template of the edit field i have created an imagebutton for delete field.
Now my first problem. When I run the program i do not see the fields present in the footer nor the deletebutton which i placed in the footer of the edit field.
Where does my problem lie.?
thanks for the previous reply.
if (e.CommandName == "Insert")
{
//handle insert here
TextBox tbInsert = GridView1.FooterRow.FindControl("tbInsert") as TextBox;
Label1.Text = string.Format("You would have inserted the name : <b>{0}</b> from the footerrow", tbInsert.Text);
}
Refer this post for further clarifications,
http://geekswithblogs.net/casualjim/archive/2006/05/04/77151.aspx