Read data from txt or csv and display in a gridview

Posted by Gee under ASP.NET on 6/23/2009 | Views : 3401 | Status : [Member] | Replies : 3
Hi, i m new to asp.net and vb, looking for help...

in my project
1st, it will let users to upload a file in .txt or .csv ans store the file in a folder. (done)
2nd, read the data in the .txt or .csv and display it in a gridview. <<<problem

i do the project in both asp.net and vb

sample .txt or .csv file:
item price qty
aaa 23.9 10
bbb 45.3 9
ccc 23.0 9

Thanks.




Responses

Posted by: Vuyiswamb on: 6/23/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Morning Gee

It can be easly done as demostrated in the following article

http://www.codeproject.com/KB/aspnet/Read_Text_File.aspx


Thank you for Posting at Dotnetfunda

Vuyiswa Maseko


Thank you for posting at Dotnetfunda
[Administrator]

Gee, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gee on: 6/23/2009 [Member] Starter

Up
0
Down
thank you very much ^^

Gee, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 6/23/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Thank you for posting at DotnetFunda


Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Gee, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response