Posted on: 9/17/2013 11:23:17 PM | Views : 633

I have the following code for a radgrid. When i click on Add a little form comes up and when i fill it out and click insert, i am trying to loop through the form values but i don't know what exactly i should loop or how. Because its not really a form collection. Any help is very much appreciated.

protected void Page_Load(object sender, EventArgs e) { if (Session["GridData"] == null) { DataTable table = GetTable(); Session.Add("GridData", table); } DefineGridStructure(); } private void DefineGridStructure() { RadGrid grid = new RadGrid(); grid.ID = "RadGrid1"; grid.NeedDataSource += new GridNeedDataSourceEventHandler(grid_NeedDataSource); grid.AutoGenerateEditColumn = true; grid.AutoGenerateDeleteColumn = true; ...

Go to the complete details ...