|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
store the data that is entered in the formhello all,
is it possible to store the data that is entered in the form for example 1. we have a datagridview in the form and we entered some values during run time 2. form is closed 3. when next time the form is loaded is it possible to have the values that are entered during last time. thank you for any help If the data that needs to be stored and retrieved is specific to each person
who uses the application, then this might be relevant. http://msdn.microsoft.com/en-us/library/bc6ws923.aspx If the data needs to be common across a group of users and accessible to all of them, you need to save it to a common database. You could also use a database for individual users, but you would need a way to identify which database to use for each user. http://msdn.microsoft.com/en-us/library/zh26sed6.aspx Show quoteHide quote "friend" <lavanyaredd***@gmail.com> wrote in message news:57a85bbf-7e96-40c0-acfe-a2214c94f080@w40g2000yqd.googlegroups.com... > hello all, > > is it possible to store the data that is entered in the form > for example > 1. we have a datagridview in the form and we entered some values > during run time > 2. form is closed > 3. when next time the form is loaded is it possible to have the values > that are entered during last time. > > thank you for any help It is possible.
However it depends what is the datasource. If that is a dataset you can use the DataSet.WriteXML with its overloaded function ds.WriteXml("path", XmlWriteMode.DiffGram) I hope this is what you mean cor Show quoteHide quote "friend" <lavanyaredd***@gmail.com> wrote in message news:57a85bbf-7e96-40c0-acfe-a2214c94f080@w40g2000yqd.googlegroups.com... > hello all, > > is it possible to store the data that is entered in the form > for example > 1. we have a datagridview in the form and we entered some values > during run time > 2. form is closed > 3. when next time the form is loaded is it possible to have the values > that are entered during last time. > > thank you for any help |
|||||||||||||||||||||||