Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
Problem with dataset crashing my app
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Guest, post: 2879024"] yes, but it has to be supported by your DataAccessLayer... For example, in ADO.NET, when you have to pass a NULL value to the server, you should set the db-variable to DBNull.Value. But, you know what? Try to build sql as if (PostingGuid == null) { sql = "select * from Page where PageGuid IS NULL limit 0, 1"; } else { sql = "select * from Page where PageGuid = " + PostingGuid.ToString() + " limit 0, 1"; } Maybe the problem is in the "IS NULL" construction... [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
Problem with dataset crashing my app
Top