Click here to Skip to main content
15,920,503 members
Home / Discussions / C#
   

C#

 
AnswerRe: Datagrid and repeater allow paging Pin
bhanu1234518-Oct-06 21:05
bhanu1234518-Oct-06 21:05 
GeneralRe: Datagrid and repeater allow paging Pin
iyoko21-Oct-06 5:34
iyoko21-Oct-06 5:34 
QuestionFtpClientConnection Pin
toink toink18-Oct-06 0:43
toink toink18-Oct-06 0:43 
QuestionChanging settings of an installed windows service. Pin
kulile18-Oct-06 0:33
kulile18-Oct-06 0:33 
QuestionInserting into a multiple Datasets with 1 method Pin
Gareth H17-Oct-06 23:49
Gareth H17-Oct-06 23:49 
AnswerRe: Inserting into a multiple Datasets with 1 method Pin
Robert Rohde18-Oct-06 0:10
Robert Rohde18-Oct-06 0:10 
GeneralRe: Inserting into a multiple Datasets with 1 method [modified] Pin
Gareth H18-Oct-06 1:51
Gareth H18-Oct-06 1:51 
GeneralRe: Inserting into a multiple Datasets with 1 method Pin
Robert Rohde18-Oct-06 3:28
Robert Rohde18-Oct-06 3:28 
Hi,

that's nearly the same:
DataTable tableNodeChanges = graphShared.MainDataSet.Tables["NodeChanges"];
DataRow[] newUserServiceRows = tableNodeChanges.Select("stateChanged = " + 
                                  (int)ServiceModeler.ModelerClass.StateChangeType.Added + 
                                  " AND className = '" + className + 
                                  "' AND userCreated = 'y'");

DataTable tableToInsertInto = theSaveModelDataSet.Tables["New" + className];

foreach (DataRow row in newUserServiceRows)
{
   DataRow rowToInsert = tableToInsertInto.NewRow();
   foreach (DataColumn column in tableNodeChanges.Column) {
      if (tableToInsertInto.Columns.Contains(column.ColumnName)) {
         rowToInsert[column.ColumnName] = row[column.ColumnName];
      }
   }
   tableToInsertInto.Rows.Add(rowToInsert);
}


Robert
GeneralRe: Inserting into a multiple Datasets with 1 method Pin
Gareth H19-Oct-06 23:41
Gareth H19-Oct-06 23:41 
GeneralRe: Inserting into a multiple Datasets with 1 method Pin
Robert Rohde20-Oct-06 21:38
Robert Rohde20-Oct-06 21:38 
QuestionMember hiding and polymorphism Pin
Mairaaj Khan17-Oct-06 23:43
professionalMairaaj Khan17-Oct-06 23:43 
AnswerRe: Member hiding and polymorphism Pin
Christian Graus18-Oct-06 0:01
protectorChristian Graus18-Oct-06 0:01 
AnswerRe: Member hiding and polymorphism Pin
saqib8218-Oct-06 0:01
saqib8218-Oct-06 0:01 
GeneralRe: Member hiding and polymorphism Pin
Christian Graus18-Oct-06 0:08
protectorChristian Graus18-Oct-06 0:08 
GeneralRe: Member hiding and polymorphism Pin
saqib8218-Oct-06 0:11
saqib8218-Oct-06 0:11 
GeneralRe: Member hiding and polymorphism Pin
Christian Graus18-Oct-06 0:19
protectorChristian Graus18-Oct-06 0:19 
GeneralRe: Member hiding and polymorphism Pin
Mairaaj Khan18-Oct-06 1:33
professionalMairaaj Khan18-Oct-06 1:33 
QuestionOverriding Hide method Pin
Mandaar Kulkarni17-Oct-06 23:03
Mandaar Kulkarni17-Oct-06 23:03 
AnswerRe: Overriding Hide method Pin
Martin#17-Oct-06 23:26
Martin#17-Oct-06 23:26 
GeneralRe: Overriding Hide method Pin
Mandaar Kulkarni18-Oct-06 0:03
Mandaar Kulkarni18-Oct-06 0:03 
Questioncalling Console Application from Windows Application? Pin
leanhsang17-Oct-06 22:57
leanhsang17-Oct-06 22:57 
AnswerRe: calling Console Application from Windows Application? Pin
Christian Graus17-Oct-06 23:00
protectorChristian Graus17-Oct-06 23:00 
QuestionHow can i set/get metadata information of file using C# Pin
Adiphe17-Oct-06 22:56
Adiphe17-Oct-06 22:56 
AnswerRe: How can i set/get metadata information of file using C# Pin
Christian Graus17-Oct-06 23:00
protectorChristian Graus17-Oct-06 23:00 
GeneralRe: How can i set/get metadata information of file using C# Pin
Adiphe17-Oct-06 23:11
Adiphe17-Oct-06 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.