Results 1 to 6 of 6

Thread: data in a table view help neeeded

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2008
    Posts
    95

    data in a table view help neeeded

    Hi
    This forum is been very helpful for me... I have made a great progress in my project. Now I have data which is stored in a local file (txt) .. ... data has two field.. one filed is a link to a website. another one is just a string.
    so what i want is to show all data in a table and if someone click in any cell of that table. it will directes the user to next tab view window to show something...

    for better understand i have uploaded a pic of a table that i want my one to look like


    http://www.mediafire.com/?sharekey=e...db6fb9a8902bda

    please help

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: data in a table view help neeeded

    What specific part of your application are you having trouble with?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2008
    Posts
    95

    Re: data in a table view help neeeded

    hi
    I have data which is stored in a text file. all i want is to show that data in a table. like it is shown in the picture

    thanks

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: data in a table view help neeeded

    In future, please just attach your image to your post so we don't have to traipse off to other sites to see them.

    As to the question, if you have a delimited text file whose contents you want to display in a grid then the easiest way is to use ADO.NET. You read the file into a DataTable mush as you would a table from an Access database. You then bind the table to a DataGridView and voila!

    Follow the Data Access link in my signature for some ADO.NET examples. Make ABSOLUTELY sure that you follow the connection string link I provided.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2008
    Posts
    95

    Re: data in a table view help neeeded

    Hi..
    thanks.. but what if i have a data which is stored in a structure?
    any idea?

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: data in a table view help neeeded

    Quote Originally Posted by sillykiddo
    Hi..
    thanks.. but what if i have a data which is stored in a structure?
    any idea?
    Then there's no need to use ADO.NET to read it, so your job is simpler. What EXACTLY do you mean by "a structure"?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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