Click here to Skip to main content
15,914,943 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get the IP from HttpWebRequest Pin
Heath Stewart27-Oct-04 21:07
protectorHeath Stewart27-Oct-04 21:07 
QuestionC# on Linux...?!? Pin
QzRz27-Oct-04 7:24
QzRz27-Oct-04 7:24 
AnswerRe: C# on Linux...?!? Pin
Alex Korchemniy27-Oct-04 7:39
Alex Korchemniy27-Oct-04 7:39 
GeneralRe: C# on Linux...?!? Pin
QzRz27-Oct-04 7:43
QzRz27-Oct-04 7:43 
Generalupdating using a dataset. Pin
steve_rm27-Oct-04 7:13
steve_rm27-Oct-04 7:13 
GeneralRe: updating using a dataset. Pin
Hugo Migneron27-Oct-04 7:49
Hugo Migneron27-Oct-04 7:49 
GeneralRe: updating using a dataset. Pin
steve_rm27-Oct-04 14:12
steve_rm27-Oct-04 14:12 
GeneralRe: updating using a dataset. Pin
Hugo Migneron28-Oct-04 3:16
Hugo Migneron28-Oct-04 3:16 
Hello,
No, the NewRow() function does not add a line to the existing table, it creates a line from the row without adding it to the table (it creates the column as they are in the table)
The function DataTable.ImportRow(DataRow row) is the one that adds the line.
You have to create the row with the NewRow function because otherwise, the compiler won't be able to know how many columns there is in the table, what are the columns name/index, etc.
When you create your DataRow object, it has a null value until you write the
row = DataTable.NewRow() statement.

Hope this helps!

Hugo Migneron
GeneralSplash Screen Pin
mathon27-Oct-04 6:53
mathon27-Oct-04 6:53 
GeneralRe: Splash Screen Pin
Colin Angus Mackay27-Oct-04 7:20
Colin Angus Mackay27-Oct-04 7:20 
GeneralRe: Splash Screen Pin
Dave Kreskowiak27-Oct-04 11:30
mveDave Kreskowiak27-Oct-04 11:30 
GeneralManipulating cmd.exe on another pc Pin
uwgrimlock27-Oct-04 6:48
uwgrimlock27-Oct-04 6:48 
GeneralRe: Manipulating cmd.exe on another pc Pin
Nick Parker27-Oct-04 8:07
protectorNick Parker27-Oct-04 8:07 
GeneralTAPI Pin
Mridang Agarwalla27-Oct-04 5:26
Mridang Agarwalla27-Oct-04 5:26 
GeneralRe: TAPI Pin
Nick Parker27-Oct-04 8:03
protectorNick Parker27-Oct-04 8:03 
GeneralRe: TAPI Pin
Michael P Butler27-Oct-04 23:25
Michael P Butler27-Oct-04 23:25 
GeneralC# p/invoke the sendmessage(Hwnd,....) Pin
ting66827-Oct-04 5:16
ting66827-Oct-04 5:16 
GeneralRe: C# p/invoke the sendmessage(Hwnd,....) Pin
Colin Angus Mackay27-Oct-04 5:33
Colin Angus Mackay27-Oct-04 5:33 
GeneralRe: C# p/invoke the sendmessage(Hwnd,....) Pin
Nick Parker27-Oct-04 8:00
protectorNick Parker27-Oct-04 8:00 
GeneralC# showing forms problem Pin
ting66827-Oct-04 5:11
ting66827-Oct-04 5:11 
GeneralSystem.Web.Mail Pin
Hugo Migneron27-Oct-04 4:50
Hugo Migneron27-Oct-04 4:50 
GeneralRe: System.Web.Mail Pin
Salil Khedkar27-Oct-04 21:10
Salil Khedkar27-Oct-04 21:10 
GeneralRe: System.Web.Mail Pin
Heath Stewart27-Oct-04 21:13
protectorHeath Stewart27-Oct-04 21:13 
GeneralRe: System.Web.Mail Pin
Hugo Migneron28-Oct-04 3:53
Hugo Migneron28-Oct-04 3:53 
GeneralRe: System.Web.Mail Pin
Heath Stewart28-Oct-04 5:49
protectorHeath Stewart28-Oct-04 5:49 

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.