Click here to Skip to main content
16,006,428 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating .resources files? Pin
monrobot1320-Jun-03 18:01
monrobot1320-Jun-03 18:01 
GeneralRe: Creating .resources files? Pin
James T. Johnson20-Jun-03 18:22
James T. Johnson20-Jun-03 18:22 
GeneralRe: Creating .resources files? Pin
monrobot1321-Jun-03 7:02
monrobot1321-Jun-03 7:02 
GeneralRe: Creating .resources files? Pin
monrobot133-Jul-03 11:12
monrobot133-Jul-03 11:12 
GeneralDataGrid CheckBox Pin
vladmihai20-Jun-03 10:56
vladmihai20-Jun-03 10:56 
GeneralRe: DataGrid CheckBox Pin
vladmihai20-Jun-03 10:59
vladmihai20-Jun-03 10:59 
GeneralRe: DataGrid CheckBox Pin
Dimitris Iliopoulos20-Jun-03 11:31
Dimitris Iliopoulos20-Jun-03 11:31 
GeneralRe: DataGrid CheckBox Pin
vladmihai20-Jun-03 11:58
vladmihai20-Jun-03 11:58 
Thanks very much. I will try to use the code you gave me.




Here is the reason I came here. I have a "Stock" application. (Inputs, Outputs and Materials).An input contains more materials (1 to many relation). An Output is also a collection of materials. (1 to many again).
To create such an Output I must select from a DataGrid (containing the Materials) those Materials that I need. I do that by means of a CheckBox column.

The Update method of the DataAdapter (that fills the DataSet Materials-Table) should set the value for the Foreign Key in the Materials Table, but only in those that have been checked, and set a boolean value saying that the Material is out of stock since it belongs to an Output (so only 2 fields are Updated).

Nothing fancy. But when the Update method is executed, and by accident I have checked and after that unchecked a row in the DataGrid... surprise: a fuuny error arises
"System.Data.DBConcurrencyException: Concurrency violation: the UpdateCommand affected 0 records"
No multi user environment, no data changed during my DataSet experience to explain the Concurency Error.

Thanks again

Generalreal problem with scrollbars and user control Pin
Allen Anderson20-Jun-03 10:25
Allen Anderson20-Jun-03 10:25 
GeneralRe: real problem with scrollbars and user control Pin
J. Dunlap20-Jun-03 10:31
J. Dunlap20-Jun-03 10:31 
GeneralRe: real problem with scrollbars and user control Pin
Allen Anderson20-Jun-03 10:34
Allen Anderson20-Jun-03 10:34 
Generaldatagrid Pin
jphuphilly20-Jun-03 10:23
jphuphilly20-Jun-03 10:23 
Generaldatagrid Pin
jphuphilly20-Jun-03 10:23
jphuphilly20-Jun-03 10:23 
GeneralRe: datagrid Pin
Dimitris Iliopoulos20-Jun-03 11:33
Dimitris Iliopoulos20-Jun-03 11:33 
GeneralRe: datagrid Pin
jphuphilly21-Jun-03 7:04
jphuphilly21-Jun-03 7:04 
Generalwindows form Pin
jphuphilly20-Jun-03 10:17
jphuphilly20-Jun-03 10:17 
GeneralRe: windows form Pin
J. Dunlap20-Jun-03 10:20
J. Dunlap20-Jun-03 10:20 
GeneralRe: windows form Pin
jphuphilly20-Jun-03 10:25
jphuphilly20-Jun-03 10:25 
GeneralRe: windows form Pin
J. Dunlap20-Jun-03 10:28
J. Dunlap20-Jun-03 10:28 
GeneralRe: windows form Pin
Dimitris Iliopoulos20-Jun-03 11:37
Dimitris Iliopoulos20-Jun-03 11:37 
GeneralRe: windows form Pin
jphuphilly21-Jun-03 7:08
jphuphilly21-Jun-03 7:08 
GeneralSQL in C# question Pin
puppiesLover20-Jun-03 8:08
puppiesLover20-Jun-03 8:08 
GeneralRe: SQL in C# question Pin
Anonymous20-Jun-03 9:36
Anonymous20-Jun-03 9:36 
GeneralRe: SQL in C# question Pin
Danny Rodriguez20-Jun-03 10:12
Danny Rodriguez20-Jun-03 10:12 
GeneralControl Sizing Pin
Anonymous20-Jun-03 7:15
Anonymous20-Jun-03 7:15 

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.