Click here to Skip to main content
15,895,370 members
Home / Discussions / C#
   

C#

 
Questiontrapping dockpadding changes Pin
microsoc11-Sep-05 19:58
microsoc11-Sep-05 19:58 
AnswerRe: trapping dockpadding changes Pin
leppie11-Sep-05 21:14
leppie11-Sep-05 21:14 
AnswerRe: trapping dockpadding changes Pin
leppie11-Sep-05 21:19
leppie11-Sep-05 21:19 
QuestionRe: trapping dockpadding changes Pin
microsoc11-Sep-05 21:39
microsoc11-Sep-05 21:39 
QuestionResizing C# windows application controllers in run time Pin
cshaaaa11-Sep-05 17:53
cshaaaa11-Sep-05 17:53 
AnswerRe: Resizing C# windows application controllers in run time Pin
Rahul Walavalkar11-Sep-05 18:13
Rahul Walavalkar11-Sep-05 18:13 
GeneralRe: Resizing C# windows application controllers in run time Pin
cshaaaa11-Sep-05 20:44
cshaaaa11-Sep-05 20:44 
QuestionUrgent question about Updates Pin
nidhelp11-Sep-05 17:50
nidhelp11-Sep-05 17:50 
Hi
I have 4 fields as my pk in access db.. I query for data in VS.NET 2003. I query by id AND pwd.. I can view the data in datagrid, but not update properly.

When i update it says:
The changes you requested to the table were not successful because they would create duplicate values in the index, pk, or relationship. Change the data in the field or fields that contain duplicated data, remove the index, or redefine the index to permit duplicate entries and try again.

I tried to solve the problem by going to access db and changed the 'Indexed' properties (of the 4 fields i used as my pk) from 'No' to 'Yes (Duplicates OK)'. but still i get the same error when i edit values in datagrid and click on update.

Something puzzling is, when i click on view button after i update, i can see the latest AND first updated entry in my datagrid and access db. The previously edited data is changed back to the original value again.

so what im saying is,
eg. row1) 4
row2) 4
row3) 4

I changed row2) from 4 to 5 and press update. the error msg is shown. then, i press View button. i see:
row1) 4
row2) 5
row3) 4

Now i change row3) from 4 to 3. again, error is shown. now i see:
row1) 4
row2) 4
row3) 3
I tried playing with it, i update both row1) and row2) at the same time. I changed row1) to 5 and row2) to 6 and i see:
row1) 5
row2) 4
row3) 4

What's happening and what must i do exactly?? Please help asap. Thank you!






AnswerRe: Urgent question about Updates Pin
Christian Graus11-Sep-05 18:49
protectorChristian Graus11-Sep-05 18:49 
GeneralRe: Urgent question about Updates Pin
nidhelp11-Sep-05 19:41
nidhelp11-Sep-05 19:41 
GeneralRe: Urgent question about Updates Pin
Christian Graus12-Sep-05 12:00
protectorChristian Graus12-Sep-05 12:00 
QuestionBroadcastEventWindow not responding and program lockup Pin
0ryan011-Sep-05 16:19
0ryan011-Sep-05 16:19 
AnswerRe: BroadcastEventWindow not responding and program lockup Pin
S. Senthil Kumar11-Sep-05 21:56
S. Senthil Kumar11-Sep-05 21:56 
AnswerRe: BroadcastEventWindow not responding and program lockup Pin
leppie11-Sep-05 22:00
leppie11-Sep-05 22:00 
QuestionThreading in C# ! Pin
lucdt11-Sep-05 16:17
lucdt11-Sep-05 16:17 
AnswerRe: Threading in C# ! Pin
Andy Brummer11-Sep-05 17:50
sitebuilderAndy Brummer11-Sep-05 17:50 
GeneralRe: Threading in C# ! Pin
lucdt11-Sep-05 18:26
lucdt11-Sep-05 18:26 
Questionform flickers when z-order changed Pin
g00fyman11-Sep-05 15:48
g00fyman11-Sep-05 15:48 
QuestionProblem inserting records Pin
rich_wenger11-Sep-05 12:15
rich_wenger11-Sep-05 12:15 
AnswerRe: Problem inserting records Pin
Christian Graus11-Sep-05 15:26
protectorChristian Graus11-Sep-05 15:26 
GeneralRe: Problem inserting records Pin
rich_wenger12-Sep-05 11:00
rich_wenger12-Sep-05 11:00 
GeneralRe: Problem inserting records Pin
Christian Graus12-Sep-05 12:02
protectorChristian Graus12-Sep-05 12:02 
AnswerRe: Problem inserting records Pin
leppie11-Sep-05 22:20
leppie11-Sep-05 22:20 
GeneralRe: Problem inserting records Pin
rich_wenger12-Sep-05 11:05
rich_wenger12-Sep-05 11:05 
GeneralRe: Problem inserting records Pin
Christian Graus12-Sep-05 12:08
protectorChristian Graus12-Sep-05 12:08 

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.