Hi to all.
Why is the code not work?
In this code I take the Value (object from class) and transfer it to Store Procedure but before I check if the
null transfer to SP null else transfer the value in the "CompanyCode"
ClientData.CompanyCode == null ?
DBNull.Value : ClientData.CompanyCode));
there is not my code than I don't very well understand this code.
Get this error :
Type of conditional expression cannot be determined because there is no implicit conversion between 'System.DBNull' and 'string'
View Complete Post