Click here to Skip to main content
15,893,564 members
Home / Discussions / C#
   

C#

 
GeneralRe: Bounds Checker in C# / .NET Pin
leppie8-Jul-03 7:41
leppie8-Jul-03 7:41 
GeneralRe: Bounds Checker in C# / .NET Pin
Kant8-Jul-03 16:40
Kant8-Jul-03 16:40 
GeneralRe: Bounds Checker in C# / .NET Pin
Daniel Turini9-Jul-03 4:14
Daniel Turini9-Jul-03 4:14 
GeneralRe: Bounds Checker in C# / .NET Pin
James T. Johnson9-Jul-03 6:14
James T. Johnson9-Jul-03 6:14 
Generalclosing an open form Pin
.gonad8-Jul-03 4:08
.gonad8-Jul-03 4:08 
GeneralRe: closing an open form Pin
zuhx8-Jul-03 10:29
zuhx8-Jul-03 10:29 
GeneralRe: closing an open form Pin
.gonad8-Jul-03 15:46
.gonad8-Jul-03 15:46 
GeneralUpdating a data table Pin
totig8-Jul-03 1:03
totig8-Jul-03 1:03 
Below is the code I am trying to use. I am trying to update a row in the datatable. The test2 just points at which row it should update. The error I get tells me I am trying to create a duplicate key. I understand that, but I cant figure out anyother way to update the database. On other tests, the dataTable updates perfectly, however the DataAdapter does not update the database. Please help me if you can.

DataRow newRow = categoryDataTable.NewRow();
newRow["catCategoryID"] = test2;
newRow["catCategoryName"] = catTextBox1.Text;
categoryDataTable.Rows.Add(newRow);
categoryDataTable.AcceptChanges();
categoryDataAdapter.Update(categoryDataTable);
GeneralRe: Updating a data table Pin
Rocky Moore8-Jul-03 1:13
Rocky Moore8-Jul-03 1:13 
GeneralRe: Updating a data table Pin
totig8-Jul-03 1:26
totig8-Jul-03 1:26 
GeneralRe: Updating a data table Pin
totig8-Jul-03 1:58
totig8-Jul-03 1:58 
GeneralRe: Updating a data table Pin
Rocky Moore8-Jul-03 4:51
Rocky Moore8-Jul-03 4:51 
GeneralRe: Updating a data table Pin
STW10-Jul-03 20:49
STW10-Jul-03 20:49 
Generalssh & C# Pin
Karavaev Denis7-Jul-03 23:23
Karavaev Denis7-Jul-03 23:23 
GeneralRe: ssh & C# Pin
Daniel Turini8-Jul-03 2:05
Daniel Turini8-Jul-03 2:05 
Generaldatagrid Pin
Cristian_Dior7-Jul-03 21:29
Cristian_Dior7-Jul-03 21:29 
Questionhow do I change the views using the same frame windows Pin
mdolby7-Jul-03 14:34
mdolby7-Jul-03 14:34 
AnswerRe: how do I change the views using the same frame windows Pin
leppie7-Jul-03 14:42
leppie7-Jul-03 14:42 
GeneralArrays and Threads Pin
albean7-Jul-03 14:05
albean7-Jul-03 14:05 
GeneralRe: Arrays and Threads Pin
leppie7-Jul-03 14:22
leppie7-Jul-03 14:22 
GeneralRe: Arrays and Threads Pin
J. Dunlap7-Jul-03 14:34
J. Dunlap7-Jul-03 14:34 
GeneralRe: Arrays and Threads Pin
leppie7-Jul-03 14:35
leppie7-Jul-03 14:35 
GeneralRe: Arrays and Threads Pin
Daniel Turini7-Jul-03 15:04
Daniel Turini7-Jul-03 15:04 
GeneralRe: Arrays and Threads Pin
albean7-Jul-03 18:02
albean7-Jul-03 18:02 
GeneralYankees Pin
eggie57-Jul-03 11:38
eggie57-Jul-03 11:38 

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.