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