Hi,
Please share source code for input data in textbox & save data in new row in gridview through button click.in C# asp.net..3.5..
Thanks
Input data in text box save in gridview through through button click in C#.asp.net
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sukesh MarlaRank #461 · 5.4K reputationPosted Aug 15, 2012, 4:57 AM EDT
and dont forget to check this is correct answer
Nattudurai EswaramurthyRank #5,536 · 296 reputationPosted Aug 15, 2012, 7:01 AM EDT
Please go through the following link, surely this will helpful to solve ur issue.
http://www.c-sharpcorner.com/blogs/8274/insert-data-in-grid-view-without-using-database.aspx
else
DataTable dt;
DataRow dr1 = dt.NewRow();
dr1[0] = TextBox1.Text;
dr1[1] = TextBox2.Text;
dt.Rows.Add(dr1);
GridView1.DataSource = dt;
GridView1.DataBind();
If this helps to solve ur issue, plz select it as accepted answer.
Thanks in Adavance
Sukesh MarlaRank #461 · 5.4K reputationPosted Aug 15, 2012, 11:46 AM EDT