PC Review


Reply
Thread Tools Rate Thread

concurrency violation [Solve]

 
 
Agnes
Guest
Posts: n/a
 
      23rd Nov 2004
Finally, I found my bugs . It is about sql table,
in my sql table, I had already set the default value is '' ( string) and
allow null is false. (e.g deptid)
in my form, deptid may not use, so I didn't put any data in that field.

Now, i found the error is about THAT field. ( If I set 'allow null' is true,
with the default value is '')
I can modify the 'new add' record and save it without concurrency violation.
Also, I find the field (deptid is null but not '')

However, I am wonder why EVEN I set the default value is '' , that field
still got null ???

--
..


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concurrency Violation elziko Microsoft ADO .NET 5 30th Dec 2007 06:19 AM
Concurrency Violation Dustin Davis Microsoft ADO .NET 13 11th Jan 2007 04:39 PM
Concurrency Violation Help =?Utf-8?B?QnJ5YW4gWk0=?= Microsoft ADO .NET 1 1st Mar 2005 12:26 AM
Concurrency Violation Billy Jacobs Microsoft Dot NET 2 13th Oct 2003 02:13 PM
Concurrency Violation Joao Santa Barbara Microsoft ADO .NET 0 26th Aug 2003 01:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:26 AM.