Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: design question Pin
Khang Nguyen18-Jun-03 5:38
Khang Nguyen18-Jun-03 5:38 
GeneralRe: design question Pin
monrobot1318-Jun-03 6:33
monrobot1318-Jun-03 6:33 
GeneralRe: design question Pin
Khang Nguyen18-Jun-03 7:11
Khang Nguyen18-Jun-03 7:11 
Generalalittle help please Pin
jphuphilly18-Jun-03 3:13
jphuphilly18-Jun-03 3:13 
GeneralRe: alittle help please Pin
Dimitris Iliopoulos18-Jun-03 5:28
Dimitris Iliopoulos18-Jun-03 5:28 
GeneralDatasets - performing selects Pin
MrEyes18-Jun-03 3:13
MrEyes18-Jun-03 3:13 
GeneralRe: Datasets - performing selects Pin
Oleksandr Kucherenko18-Jun-03 3:21
Oleksandr Kucherenko18-Jun-03 3:21 
GeneralRe: Datasets - performing selects Pin
MrEyes18-Jun-03 3:35
MrEyes18-Jun-03 3:35 
Unfortunatly I probably over simplified things, so although the code you posted works perfectly it wont work in my code.

This is the scenario I am up agaisnt. I have a populated dataset with a single table, multiple rows, and multiple columns.

I need to add a column to this dataset but it has to be at position 7 (of 40), i.e. not at the end as columns.Add() would do.

The reason for asking about the possibilites of using selects is that the only way I can imagine doing this is to :

1) foreach through each row in the source dataset
2) Select all the data into a comma seperated string.
3) Inserting the new column (techincally another '',) where needed.
4) Build a new datarow from the string.
5) Insert the new datarow into another dataset

This all seems way to over complex for what originally seemed like a simple problem. I am sure I am missing something here put I cant put my finger on what it is.
GeneralRe: Datasets - performing selects Pin
Dimitris Iliopoulos18-Jun-03 5:10
Dimitris Iliopoulos18-Jun-03 5:10 
GeneralRe: Datasets - performing selects Pin
Oleksandr Kucherenko18-Jun-03 3:26
Oleksandr Kucherenko18-Jun-03 3:26 
GeneralDatasets - Adding columns Pin
MrEyes18-Jun-03 2:03
MrEyes18-Jun-03 2:03 
GeneralRe: Datasets - Adding columns Pin
Oleksandr Kucherenko18-Jun-03 3:36
Oleksandr Kucherenko18-Jun-03 3:36 
GeneralRe: Datasets - Adding columns Pin
MrEyes18-Jun-03 4:17
MrEyes18-Jun-03 4:17 
GeneralRe: Datasets - Adding columns Pin
Oleksandr Kucherenko18-Jun-03 4:43
Oleksandr Kucherenko18-Jun-03 4:43 
GeneralRe: Datasets - Adding columns Pin
MrEyes18-Jun-03 4:50
MrEyes18-Jun-03 4:50 
GeneralRe: Datasets - Adding columns Pin
MrEyes18-Jun-03 5:21
MrEyes18-Jun-03 5:21 
GeneralMultiple Events Pin
Anonymous18-Jun-03 0:52
Anonymous18-Jun-03 0:52 
GeneralListView Column Resize Pin
somanath17-Jun-03 23:44
somanath17-Jun-03 23:44 
GeneralSmtpMail.Send exception Pin
EnkelIk17-Jun-03 23:16
EnkelIk17-Jun-03 23:16 
GeneralRe: SmtpMail.Send exception Pin
EnkelIk18-Jun-03 0:53
EnkelIk18-Jun-03 0:53 
GeneralRe: SmtpMail.Send exception Pin
EnkelIk18-Jun-03 1:43
EnkelIk18-Jun-03 1:43 
GeneralRe: SmtpMail.Send exception Pin
EnkelIk18-Jun-03 21:39
EnkelIk18-Jun-03 21:39 
GeneralRe: SmtpMail.Send exception Pin
EnkelIk22-Jun-03 20:38
EnkelIk22-Jun-03 20:38 
Questionhow to view property of a file in terms of coding Pin
puppiesLover17-Jun-03 22:49
puppiesLover17-Jun-03 22:49 
AnswerRe: how to view property of a file in terms of coding Pin
nfactorial17-Jun-03 23:11
nfactorial17-Jun-03 23:11 

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.