Evening.
I have an unbound dataGridView which i'm populating programatically (not using a dataset) from xml/user entered data. What i now need to do is when the user clicks save i want it to write all data from the dataGridView to an xml file.
I think the only/best (?) way to do this is to iterate through each row/cell and write the xml file manually.
Problem is, I just cant seem to do the forloop right....
User Profile
Collapse
-
[c# .net 2] Exporting data from dataGridView
-
Sorry about the code tags.. didnt even think.
As for my problem, I had another go last night and it just doesnt seem to work:
...Code:try { System.Net.WebRequest myRequest = System.Net.WebRequest.Create(rssURL); System.Net.WebResponse myResponse = myRequest.GetResponse(); System.IO.Stream rssStream = myResponse.GetResponseStream(); -
[C# .NET 2.0] Setting row backcolor dataGridView
Hey guys, I have searched and there are loads of suggestions but I cant seem to apply any of them to my situation so here goes:
I download an XML file from the web(server list), and go through each node and then add a row to the dataGridView, I want to show every rows backcolor red for each server that is down: Heres some code to help:
...Code:System.Net.WebRequest myRequest = System.Net.WebRequest.Create(rssURL); System.Net.WebResponse
No activity results to display
Show More
Leave a comment: