adding data to datagrid without saving to db
i first add data to datagrid by pressing add button but when i press save button it saves to db using c#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ramesh MaruthiPosted Sep 22, 2015, 9:25 AM
Carlos kambuiPosted Sep 22, 2015, 8:05 AM
DataColumn dc = new DataColumn("column1");
DataRow dr = dt.NewRow();
dr["column1"] = txtExamstudid.Text;
dt.Rows.Add(dr);
Sujeet SumanPosted Sep 22, 2015, 6:32 AM