decimal
(decimal) rdr["mrfno_nu"]
using System.Text; //firs import the above namespace StringBuilder sb=new StringBuilder(); //to read "int" in this way sb.Append(Convert.ToInt32(rdr["mrfno_nu"].ToString())); //and "string" in this way sb.Append(Convert.ToString(rdr["mrfno_nu"].ToString())); Hope it will help you.
Decimal
Nullable<Decimal>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)