|
-
Aug 31st, 2008, 01:57 PM
#1
Thread Starter
Lively Member
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
-
Aug 31st, 2008, 02:10 PM
#2
Re: data in a table view help neeeded
What specific part of your application are you having trouble with?
-
Aug 31st, 2008, 07:06 PM
#3
Thread Starter
Lively Member
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
-
Aug 31st, 2008, 07:38 PM
#4
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.
-
Aug 31st, 2008, 08:22 PM
#5
Thread Starter
Lively Member
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?
-
Aug 31st, 2008, 08:28 PM
#6
Re: data in a table view help neeeded
 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"?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|