Possible to add,update,delete temporary data in datatable wi
Possible to add,update,delete temporary data in datatable without database in c#, using textbox ,datagridview ?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Jan 13, 2015, 1:44 AM EST
Yes just create a list of object and hardcode some data and bind that list to your datagridview.
Or button click add the value of that textbox to list store that list to any temporary location. That's it
Vikram AgrawalRank #4,713 · 329 reputationPosted Jan 13, 2015, 2:42 AM EST
In C# we are provided with a large set of classes where we can maintain our data same as database. Like DataSet, DataTable, DataView etc.
please follow the links
http://www.dotnetperls.com/dataset
http://msdn.microsoft.com/en-us/library/System.Data(v=vs.110).aspx
just go through once and you will get sufficient info for this.
Thanks