Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: Compile C# run under Windows 98 Pin
Hoang Dung11-Jul-03 7:19
Hoang Dung11-Jul-03 7:19 
QuestionHow to know numeric of instance... Pin
Hoang Dung7-Jul-03 8:59
Hoang Dung7-Jul-03 8:59 
AnswerRe: How to know numeric of instance... Pin
jspano7-Jul-03 9:30
jspano7-Jul-03 9:30 
GeneralRe: How to know numeric of instance... Pin
Hoang Dung11-Jul-03 7:21
Hoang Dung11-Jul-03 7:21 
QuestionCapture the HTTP request header? Pin
Bog7-Jul-03 7:49
Bog7-Jul-03 7:49 
QuestionAm I being dense? Pin
SpudgunDoogal7-Jul-03 6:01
SpudgunDoogal7-Jul-03 6:01 
AnswerRe: Am I being dense? Pin
Daniel Turini7-Jul-03 15:10
Daniel Turini7-Jul-03 15:10 
GeneralRe: Am I being dense? Pin
SpudgunDoogal7-Jul-03 22:47
SpudgunDoogal7-Jul-03 22:47 
GeneralRe: Am I being dense? Pin
SpudgunDoogal8-Jul-03 1:14
SpudgunDoogal8-Jul-03 1:14 
GeneralRe: Am I being dense? Pin
Daniel Turini8-Jul-03 2:03
Daniel Turini8-Jul-03 2:03 
GeneralDataSet -> Comma/Tab delimited Pin
dratti7-Jul-03 5:36
dratti7-Jul-03 5:36 
GeneralRe: DataSet -> Comma/Tab delimited Pin
Heath Stewart7-Jul-03 9:48
protectorHeath Stewart7-Jul-03 9:48 
GeneralRe: DataSet -> Comma/Tab delimited Pin
dratti7-Jul-03 10:51
dratti7-Jul-03 10:51 
GeneralRe: DataSet -> Comma/Tab delimited Pin
leppie7-Jul-03 14:39
leppie7-Jul-03 14:39 
GeneralRe: DataSet -> Comma/Tab delimited Pin
MrEyes11-Jul-03 5:33
MrEyes11-Jul-03 5:33 
GeneralRe: DataSet -> Comma/Tab delimited Pin
Anonymous11-Jul-03 11:22
Anonymous11-Jul-03 11:22 
Generalgrid control Pin
retZ7-Jul-03 4:50
retZ7-Jul-03 4:50 
GeneralRe: grid control Pin
Not Active7-Jul-03 6:08
mentorNot Active7-Jul-03 6:08 
GeneralRe: grid control Pin
retZ7-Jul-03 11:01
retZ7-Jul-03 11:01 
GeneralNeed to Export Records to Remote Terminal Pin
Leon van Wyk7-Jul-03 4:04
professionalLeon van Wyk7-Jul-03 4:04 
GeneralRe: Need to Export Records to Remote Terminal Pin
Heath Stewart7-Jul-03 10:01
protectorHeath Stewart7-Jul-03 10:01 
GeneralRe: Need to Export Records to Remote Terminal Pin
leppie7-Jul-03 16:20
leppie7-Jul-03 16:20 
GeneralAdding to a dataTable Pin
totig7-Jul-03 3:33
totig7-Jul-03 3:33 
GeneralRe: Adding to a dataTable Pin
perlmunger7-Jul-03 11:28
perlmunger7-Jul-03 11:28 
Did you add the row back to the rows collection and call Update on the dataAdapter? The code should look like this:
// Create a new row
DataRow row = dataTable.NewRow();

// Set the row's members
row["Column1"] = "blah";
row["Column2"] = "blech";

// Add the row to the rows collection
dataTable.Rows.Add( row );
// Update the dataset
dataAdapter.Update( dataSet, "TableName" );
// Accept changes
dataSet.AcceptChanges();


-Matt


------------------------------------------

The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
Generalcomponent configuration. Pin
Darkmatter7-Jul-03 3:20
Darkmatter7-Jul-03 3:20 

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.