Microsoft
Software
Hardware
Network
Question : C #DBNULL
Hi Experts
In one of my recents questions regaring passing of DBNULL to Oracle DB based on user input, I was suggested to use as follows
object GetDBValue(object value)
{
return value == null ? DBNull.Value : value;
}
Purpose of this is, when I save data, I pass user input to this function. If input is null it returns DBNull. This is working fine as far as string is concerned. But in Numbers I have a problem it does not work. Example I cant write as follows
Convert.ToInt32(ValidateUI
.GetDbValu
e(cmbcityi
d.Selected
Value));
So what is the way out for numbers ?
Answer : C #DBNULL
metazend try ontrack pst recovery before you give up
ontrackdatarecovery.com/ps
t-ost-reco
very/
Random Solutions
Working with Legacy Systems and Users (Database Design)
Can musical notes/sound frequencies act to cancel each other out?
Error ORA-1722 when DAO is writing data to an Oracle 11g database
Password Protect Folder
Win RAR
My RAM clock speed is off in CPU-Z
Identify available memory for an x86 application in x64 Windows
turn off Translating " "...domain server (255.255.255.255)
SQL reporting services error in sharepoint integrated mode. Shared data source not valid
Error running scheduled task in Windows Server 2008