Click here to Skip to main content
15,914,943 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow do I remove the commas after reading a CSV file into a streamreader Pin
Tina P15-Dec-08 15:19
Tina P15-Dec-08 15:19 
AnswerRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Christian Graus15-Dec-08 15:21
protectorChristian Graus15-Dec-08 15:21 
AnswerRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Guffa15-Dec-08 15:27
Guffa15-Dec-08 15:27 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Tina P15-Dec-08 19:41
Tina P15-Dec-08 19:41 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Guffa15-Dec-08 21:15
Guffa15-Dec-08 21:15 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Tina P16-Dec-08 13:40
Tina P16-Dec-08 13:40 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Guffa16-Dec-08 14:29
Guffa16-Dec-08 14:29 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Tina P16-Dec-08 14:56
Tina P16-Dec-08 14:56 
Hell dear and thanks for the speedy response!

I guess I can see that you are using i+=5 instead of i++ because I told you that there might be 5 column headers and then the data would be repeated after every 5 values? Is that why you have increments of 5?

Secondly, in regards to the line
Guffa wrote:
here col[i], col[i+1] ... col[i+4] contains the five values


well even if we use i based syntax instead of actual numbers...we are still doing it manually...in other words I'd still have to provide values (@Col,@Col2,@Col3,@Col4,@Col5)"; myself, which incase of tens of thousands of line, may not be practical! I'm sure thats not what you are suggesting. I think I'm missing a piece here sorry Frown | :( Can you please elaborate where am I wrong here?

Thanks
Tina
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Guffa16-Dec-08 15:09
Guffa16-Dec-08 15:09 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Tina P16-Dec-08 16:08
Tina P16-Dec-08 16:08 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Guffa17-Dec-08 5:09
Guffa17-Dec-08 5:09 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Tina P17-Dec-08 7:30
Tina P17-Dec-08 7:30 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Guffa17-Dec-08 11:52
Guffa17-Dec-08 11:52 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Tina P17-Dec-08 14:10
Tina P17-Dec-08 14:10 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Tina P17-Dec-08 19:37
Tina P17-Dec-08 19:37 
GeneralRe: How do I remove the commas after reading a CSV file into a streamreader Pin
Guffa26-Dec-08 7:51
Guffa26-Dec-08 7:51 
QuestionHELP! using Replace function to replace letters with images Pin
icecandy15-Dec-08 12:36
icecandy15-Dec-08 12:36 
AnswerRe: HELP! using Replace function to replace letters with images Pin
Christian Graus15-Dec-08 13:19
protectorChristian Graus15-Dec-08 13:19 
AnswerRe: HELP! using Replace function to replace letters with images Pin
treputt15-Dec-08 14:17
treputt15-Dec-08 14:17 
QuestionAssigning and retrieving values from checkboxes which are dynamically created. Pin
Member 340288615-Dec-08 10:12
Member 340288615-Dec-08 10:12 
AnswerRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Christian Graus15-Dec-08 10:24
protectorChristian Graus15-Dec-08 10:24 
GeneralRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Member 340288615-Dec-08 11:16
Member 340288615-Dec-08 11:16 
GeneralRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Christian Graus15-Dec-08 11:41
protectorChristian Graus15-Dec-08 11:41 
AnswerRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Nishant Singh15-Dec-08 17:22
Nishant Singh15-Dec-08 17:22 
QuestionGridView databinding event handler Pin
compninja2515-Dec-08 8:37
compninja2515-Dec-08 8:37 

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.