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