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
Schema Changes by User
Spread sheet formula to reference entire row/column, or at least the number of rows/columns available
How do I trawl through an Excel 2003 range and copy certain cells of certain rows to another worksheet in VBA
Office 2010 MSI GPO Installation
Jboss fails to start up with liferay portal application
mcafee EPO script to remove agent and virusscan
Deployment
Editing an Exchange Dynamic Distribution Group via EMS
How to disable user account and/or disable change password feature in Windows 7 home premium?
Cannot enable infopath in sharepoint 2010