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

ASP.NET

 
QuestionHow to load dropdownlist inside datalist in edit mode ? Pin
ngoloi15-Dec-08 16:09
ngoloi15-Dec-08 16:09 
AnswerRe: How to load dropdownlist inside datalist in edit mode ? Pin
Christian Graus15-Dec-08 16:29
protectorChristian Graus15-Dec-08 16:29 
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 
Thanks for the response Guffa. Here are a few more things I should've mentioned about the data. No the values are not quoted, and secondly I have a lot of data in that file.

here's a sample again:
343243,23423432,34234234,2343423,23434234, Name, Address, Phone, Security Level, Coverage, RTX, 123 main st, 600-333-1234, Medium, Full, RTP, 456 Main st, 777-123-8900, High, Full and so forth.

where the first 5 numbers just needs to be ignored (unfortunately they are part of the CSV file and we can't ask them to remove these prior to the file coming into our folder) the second 5 words will actually become the columns headers in a database table, and the rest is the actual data that is corresponding to each of these columns and will go under separate rows.

Now as you showed me above, I see that col[5] through col[9] will work fine in order to identify the columns accurately since we have a limited number of them, and the rest of the comma separated values in the file are data values. So in other words i could pottentially have 10,000 of those data values (rows) under these column headers...which would mean I can't pass every value myself explicitly (it has to be passed automatically somehow). Can you perhaps help me with that? SHould i create a loop or something to add the values to the parameter. A sample code snippet would help tremendously!

Thank you once again.

Tina
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 
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 

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.