Exemplo n.º 1
0
 public static DateTime GetDateTime(this DataRow dr, string fieldName)
 {
     return(TypeExt.ConvertType <DateTime>(dr[fieldName]));
 }
Exemplo n.º 2
0
 public static Guid GetGuid(this DataRow dr, string fieldName)
 {
     return(TypeExt.ConvertType <Guid>(dr[fieldName]));
 }
Exemplo n.º 3
0
 public static int GetInt(this DataRow dr, string fieldName)
 {
     return(TypeExt.ConvertType <int>(dr[fieldName]));
 }
Exemplo n.º 4
0
 public static decimal GetDecimal(this DataRow dr, string fieldName)
 {
     return(TypeExt.ConvertType <decimal>(dr[fieldName]));
 }
Exemplo n.º 5
0
 public static string GetString(this DataRow dr, string fieldName)
 {
     return(TypeExt.ConvertType <string>(dr[fieldName]));
 }