AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 I want to edit a grid view row in another grid view or in a page with text boxes in editable mode
Posted by sravan on  6/11/2013 7:05:03 AM Category: ADO.NET
Add to my favorites
Email to friend
hi,
I want to edit a grid view row in another grid view or in a page with text boxes in editable mode.
I mean if we click on edit image on gridview, then that row details should be open in another page or in other gridview with editable mode,
please ,give me a step by step procedure.

thank you.

Post Your Reply Post New Question

 Viewer's Reply
Edit Mode GridView in Page Load
Answered By Moderator1 on 6/28/2013 9:07:15 PM
Hi,

You can do the below steps.

Step 1:
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{

Response.Redirect("NextPage.aspx?id=editindex");
}

Step 2:
In the NextPage.aspx, bind the GridView control and after GridView1.DataBind, you need to set the EditIndex of this GridView with Request["id"].

Try this and let me know.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Backup and Recovery Best Practices for Microsoft SQL Server 2005
Sexy Web Design - Free 71 Page Preview!
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview