Retuns DBValue for the int

Niladri.Biswas
Posted by Niladri.Biswas under C# category on | Points: 40 | Views : 713
public static object GetDBValue(this int param)
{
if (null == param)
return DBNull.Value;
else
return param;
}

Comments or Responses

Login to post response