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 ?
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.
Vikram AgrawalPosted Jan 13, 2015, 7:42 AM
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
Manish Kumar ChoudharyPosted Jan 13, 2015, 6:44 AM
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