Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Insertion into GridView

Thread Tools

Insertion into GridView

Posts: n/a
i have added a footer row in the gridview and a link button in the footer row for insertion of new row into the database. when i press new button, appropriate textboxes are appearing in the footer row. i had written the code in Page_Load() as follows
protected void Page_Load(object sender, EventArgs e)

lbNew = new LinkButton();
lbNew.Text = "New";
New_Button_On_Click += new dlgNew(GridViewInsert);
lbNew.Click += new EventHandler(New_Button_On_Click);


but when i go to the second page, i cannot see the linkbutton in the footer row in the second page. Also when i come back to the first page, i cannot see the linkbutton in the footer row of template column. the datagrid is created at design time and not at runtime. Please help me in this issue and mail me if anybody can provide solution
Posted via
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calender insertion into Visual Web developer Webpage NoviceASPNET ASP .Net 0 11-04-2009 09:58 PM
Constant time insertion into a sorted list? C Programming 1 07-16-2008 01:13 AM
For VK - Revisiting Insertion of HTML into JavaScript Serious_Practitioner Javascript 1 01-28-2007 07:12 PM
displaying the date in mysql format for insertion into db libsfan01 Javascript 1 06-13-2006 09:03 PM
insertion of string into characters of parsed xml (in SAX) YuliaG Java 2 04-04-2005 07:16 AM