Hello,
I am new to asp.net c# were i need to develop a website which accept the text file by file upload ,were the text file will be looking like this
eg:
one,two,three,four,five,six,seven,eight,nine,ten
one,two,three,four,five,six,seven,eight,nine,ten
one,two,three,four,five,six,seven,eight,nine,ten
one,two,three,four,five,six,seven,eight,nine,ten
one,two,three,four,five,six,seven,eight,nine,ten
which has 5 rows and 10 column which is separate by comma delimiter and i need to read the string into the mysql database but before that i need to read those value into string array and .
now the problem is i need only certain values for example
eg:
one,four,seven,ten
one,four,seven,ten
one,four,seven,ten
one,four,seven,ten
one,four,seven,ten
in here i only need one four seven and ten column value or string from every row.
I need coding to do this process.
thank you in advance.
Loading

Kunal VaishyaRank #990 · 2K reputationPosted Sep 15, 2013, 8:16 PM EDT
krishnakumar kuna55 reputationPosted Sep 15, 2013, 10:08 PM EDT
1. is the string item is array?
2. how can get the 1,5,9th string alone
is this correct
firstvalue=item[1];
fifthvalue=item[5];
ninthvalue=item[9];
thanks in advance
Kunal VaishyaRank #990 · 2K reputationPosted Sep 16, 2013, 1:52 AM EDT
krishnakumar kuna55 reputationPosted Sep 18, 2013, 3:59 AM EDT