|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
using datagridhi everyone...
i have a problem here.. i am using datagrid to store information which i have gotten in a dataset.. then i wish to covert all the information into string so that i can save all the information into a .txt format file.. can i know how to do that? thanks in advance chris The DataSet can automatically save out all of its information to a text file,
although it liberally sprinkles lots of angle brackets in it if you can put up with that: DataSet.WriteXml("c:\\mydata.xml") Otherwise I think you're on your own. -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > hi everyone... > > i have a problem here.. i am using datagrid to store information which > i have gotten in a dataset.. then i wish to covert all the information > into string so that i can save all the information into a .txt format > file.. can i know how to do that? thanks in advance > > chris > hi brock....
hmmm .. ur way sure works and i appriciate it... but what i want is not XML information.. wad i wan is a txt file that contains all the fields inside the dataset something like this name NRIC tel chris s8616902J 63685555 thanks
I've lost my drop down list box!
Columns are displayed twice Pop-up Message Box binding ArrayLists to DataGrids-- how to name the columns? Newbie: Datagrid Comes Up Blank?!? trying to display header only Wrong window gets the content HOWTO: Bring that row back into focus ... ItemStyle question Arrow Key navigation in Datagrid |
|||||||||||||||||||||||