|
-
Feb 19th, 2004, 05:44 PM
#1
Thread Starter
Lively Member
Help!! [RESOLVED]
i've got a table on sql that holds over 9000 names they are all one string i.e. mr j j Smith, etc.
i need to read the table into a dataset split the string then feed that data into a new dataset can you help me????
once i've done that i need to update another table using the diferent columns.
any idea's have tried the obvious one of filling a dataset the using a split function but i don't know where to go after that any ideas?
Last edited by nokia8210; Feb 23rd, 2004 at 04:11 AM.
-
Feb 19th, 2004, 10:11 PM
#2
Frenzied Member
If I understand you correctly, you're already filling the dataset with the original strings, and then splitting each string from that dataset.
Why not just read the split items into the second table w/o another dataset? If you need it in a dataset, create a new one from the new table.
-
Feb 19th, 2004, 10:21 PM
#3
Sleep mode
How do you want to split the string (the final result of the string)?
Like this ?
Mr.
j
j
...etc
-
Feb 20th, 2004, 04:09 AM
#4
Thread Starter
Lively Member
yes i need to split it up like that pirate i think i know where i'm going wrong now will post again if i have problems.
-
Feb 20th, 2004, 12:26 PM
#5
Sleep mode
Originally posted by nokia8210
yes i need to split it up like that pirate i think i know where i'm going wrong now will post again if i have problems.
Little hint : You can use Split(" ".ToCharArray)
-
Feb 23rd, 2004, 04:11 AM
#6
Thread Starter
Lively Member
thanks everyone got it working now needed to do it in three steps rather than one.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|