Results 1 to 4 of 4

Thread: Suggestions how to do this...

  1. #1

    Thread Starter
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Question Suggestions how to do this...

    I'm new to C# in fact this is going to be my first full application.

    I need to be able to transfer the contents of an HTML table (simply copied using CTRL-C) into a datagrid (or some similar control that I could use). I'm presuming this requires work with windows clipboard so if any one could give me any useful suggestions/URLs to take a look at that would be cool.

    Also the same datagrid (or similar) needs to be able to be populated by selecting a CSV file - to allow the user alternative methods of population. I'm pretty sure I can do this by loading the CSV into a dataTable which is bound to the datagrid.

    Cheers

    DJ

  2. #2
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    use the System.Windows.Forms.Clipboard Class, its near the vb6 one(very easy to use)
    \m/\m/

  3. #3

    Thread Starter
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131
    Excellent cheers - I'll have a look into that. So it sounds like you think its possible then?

    DJ

  4. #4
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    I dont know a flying f*** about datagrids but it looks perfectly possible to do..just dont ask me anything related with datagrids
    \m/\m/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width