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
http://www.mediafire.com/?sharekey=e...db6fb9a8902bda
please help
Re: data in a table view help neeeded
What specific part of your application are you having trouble with?
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
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.
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?
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"?