Posted on: 2/4/2014 10:46:43 PM | Views : 600

I have sample code but I can not figure out why the new data added during button_click is not being saved back to the DataTable.
Below is my code
Any help or suggestion is greatly appricated.
Thanks

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; namespace WebDataTable { public partial class Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { sessionTable(); } } protected void sessionTable() { DataTable dt = new DataTable(); //create the datatable dt.Columns.Add(new DataColum ...

Go to the complete details ...