Click here to Skip to main content
16,006,768 members
Home / Discussions / C#
   

C#

 
GeneralRe: concateing strings in c# Pin
lawrenceinba6-Feb-09 9:12
lawrenceinba6-Feb-09 9:12 
GeneralRe: concateing strings in c# Pin
Guffa6-Feb-09 11:17
Guffa6-Feb-09 11:17 
GeneralRe: concateing strings in c# Pin
lawrenceinba6-Feb-09 13:10
lawrenceinba6-Feb-09 13:10 
GeneralRe: concateing strings in c# Pin
lawrenceinba6-Feb-09 9:27
lawrenceinba6-Feb-09 9:27 
QuestionDataAdapter is containing null value Pin
ashish1nov20086-Feb-09 1:08
ashish1nov20086-Feb-09 1:08 
Questionproblem with true type font Pin
prasadbuddhika6-Feb-09 0:53
prasadbuddhika6-Feb-09 0:53 
Questiondata extraction from .mpp file, MS Project not installed. Pin
ajay265816-Feb-09 0:27
ajay265816-Feb-09 0:27 
QuestionSplit CSV Pin
Burim Rama6-Feb-09 0:27
Burim Rama6-Feb-09 0:27 
Hey everbody

I have a big problem to upload one csv fil to mysql database.
i have a big csv file with many records and column
Eks.:
ArticleNo ManArticleNo DescShort DescLong Manufacturer Price Stock
642 0993A001 BJ-642/black 790sh f BJ300 330 Canon blækpatron, sort (BJI-642BK) Canon 97,11 0
665 1009A001 BJC-643/black f BJC-800 820 880 Canon blækpatron, sort (BJI-643BK) Canon 157,43 0
673 1012A001 BJC-643/yellow f BJC-800 820 880 Canon blækpatron, gul (BJI-643Y) Canon 203,42 0
3131 51604A HP Ink Cart/Black f ThJet QJet+ f plain HP blækpatron, sort (CJ-3A) Hewlett Packard 57,91 115
3135 51605R HP Ink cart/red f Think- Quietjet HP blækpatron til ThinkJet/QuietJet, magenta Hewlett Packard 63,63 0


i load the file like this

StreamReader input = new StreamReader(@"c:\test.csv");
string inputLine = "";

while ((inputLine = input.ReadLine()) != null)
{

but now i need just to take ManArticleNo and Price from the inputLine
my input line has all the row, how can i split or somthing to take just that column i need ?

string tr = inputLine.?(?);





}
input.Close();
AnswerRe: Split CSV Pin
musefan6-Feb-09 0:34
musefan6-Feb-09 0:34 
GeneralRe: Split CSV Pin
Burim Rama6-Feb-09 0:36
Burim Rama6-Feb-09 0:36 
QuestionC# Excel RTD server Pin
hirenkshah5-Feb-09 23:57
hirenkshah5-Feb-09 23:57 
AnswerRe: C# Excel RTD server Pin
Rob Philpott6-Feb-09 0:18
Rob Philpott6-Feb-09 0:18 
QuestionData grid combo box items in windows application Pin
pavanip5-Feb-09 23:35
pavanip5-Feb-09 23:35 
Questiontab key in a textbox Pin
felixdisc5-Feb-09 23:15
felixdisc5-Feb-09 23:15 
AnswerRe: tab key in a textbox Pin
OkkiePepernoot5-Feb-09 23:25
OkkiePepernoot5-Feb-09 23:25 
GeneralRe: tab key in a textbox Pin
felixdisc5-Feb-09 23:30
felixdisc5-Feb-09 23:30 
Questionwindows service created in 2005 .net is not running in vista Pin
arun_pk5-Feb-09 23:00
arun_pk5-Feb-09 23:00 
AnswerRe: windows service created in 2005 .net is not running in vista Pin
musefan6-Feb-09 0:31
musefan6-Feb-09 0:31 
GeneralRe: windows service created in 2005 .net is not running in vista Pin
arun_pk6-Feb-09 0:34
arun_pk6-Feb-09 0:34 
GeneralRe: windows service created in 2005 .net is not running in vista Pin
musefan6-Feb-09 0:37
musefan6-Feb-09 0:37 
QuestionLock ComboBox Pin
VB 8.05-Feb-09 22:30
VB 8.05-Feb-09 22:30 
AnswerRe: Lock ComboBox Pin
Christian Graus5-Feb-09 22:46
protectorChristian Graus5-Feb-09 22:46 
GeneralRe: Lock ComboBox Pin
VB 8.06-Feb-09 0:10
VB 8.06-Feb-09 0:10 
GeneralRe: Lock ComboBox Pin
musefan6-Feb-09 0:15
musefan6-Feb-09 0:15 
AnswerRe: Lock ComboBox Pin
Henry Minute6-Feb-09 2:28
Henry Minute6-Feb-09 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.