Click here to Skip to main content
15,887,967 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: component configuration. Pin
perlmunger7-Jul-03 11:43
perlmunger7-Jul-03 11:43 
GeneralWriting to the Output | Debug window Pin
albean7-Jul-03 2:51
albean7-Jul-03 2:51 
GeneralRe: Writing to the Output | Debug window Pin
Roland Bär7-Jul-03 3:13
Roland Bär7-Jul-03 3:13 
GeneralCrystal Reports 'Command' SetDataSource Pin
krisp7-Jul-03 1:49
krisp7-Jul-03 1:49 
GeneralArrays Pin
_cancer_7-Jul-03 1:21
_cancer_7-Jul-03 1:21 
GeneralRe: Arrays Pin
perlmunger7-Jul-03 11:58
perlmunger7-Jul-03 11:58 
GeneralRe: Arrays Pin
PeterMoon29-Jan-08 17:53
PeterMoon29-Jan-08 17:53 
GeneralC# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 1:05
SpudgunDoogal7-Jul-03 1:05 
GeneralRe: C# COM+ Client/Server Pin
Daniel Turini7-Jul-03 1:21
Daniel Turini7-Jul-03 1:21 
GeneralRe: C# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 1:38
SpudgunDoogal7-Jul-03 1:38 
GeneralRe: C# COM+ Client/Server Pin
Philip Fitzsimons7-Jul-03 2:53
Philip Fitzsimons7-Jul-03 2:53 
GeneralRe: C# COM+ Client/Server Pin
Giles7-Jul-03 3:05
Giles7-Jul-03 3:05 
GeneralRe: C# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 3:10
SpudgunDoogal7-Jul-03 3:10 
GeneralCounting a datatable Pin
totig7-Jul-03 0:46
totig7-Jul-03 0:46 
GeneralRe: Counting a datatable Pin
Philip Fitzsimons7-Jul-03 2:53
Philip Fitzsimons7-Jul-03 2:53 
GeneralRe: Counting a datatable Pin
totig7-Jul-03 3:10
totig7-Jul-03 3:10 

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.