User Profile

Collapse

Profile Sidebar

Collapse
michaeleaton
michaeleaton
Last Activity: Mar 15 '07, 05:08 PM
Joined: Feb 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • michaeleaton
    started a topic [c# .net 2] Exporting data from dataGridView
    in .NET

    [c# .net 2] Exporting data from dataGridView

    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....
    See more | Go to post

  • 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();
    ...
    See more | Go to post

    Leave a comment:


  • [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
    ...
    See more | Go to post
    Last edited by kenobewan; Feb 21 '07, 11:21 PM. Reason: Add code tags
No activity results to display
Show More
Working...