Ask a Question related to ASP.NET General, Design and Development.
-
buran #1
nullable sqlparameter
Dear ASP.NET Programmers,
How can I make an sqlparamater accept NULL value programmatically? I use the
following the code, but it does not work:
Dim admDate As SqlParameter
admDate = New SqlParameter("@admissionDate", SqlDbType.SmallDateTime)
admDate.isNullable = True
admDate.Value = CType(admissionDate, Date).Date.ToString("dd.MM.yyyy")
The compliler throws an exception when passing System.DBNull value to the
sqlparamater admDate.
Thanks in advance,
Buran
buran Guest
-
Webservice question regaurding nullable fields
I am porting a Flex 2 web services application to Flex 3 and it seems the behavior has changed a little. For instance, let us suppose we have a User... -
Unable to pass SqlParameter object to a web service function
I am trying to create a webservice for executing a stored procedure. This webservice is just a wrapper class for Microsoft.ApplicationBlocks.Data... -
Cannot Get Field Nullable Property
Hi I am using asp/vbscript/ado/mssql. I am able to get the nullable property OK when generating a recordset with a simple SQL statement such...



Reply With Quote

