if (OrderLinesDs.Tables[0].Rows[0]["Billing_FAX"]!=null)
{
txtFax.Text="";
}
else
{
txtFax.Text=(string)OrderLinesDs.Tables[0].Rows[0]["Billing_FAX"];
}
>>above code checking both the condition.what is the best solutions on this
Help help
|
Results 1 to 2 of 2
Thread: Checking the database value nullThreaded View
|
Click Here to Expand Forum to Full Width |