Пример #1
0
 public static double ToDouble(DataListItemEventArgs e, string columnName)
 {
     return(BaseItem.ToDouble(((System.Data.DataRowView)(e.Item.DataItem)).Row[columnName]));
 }
Пример #2
0
 public static double ToDouble(object o)
 {
     return(BaseItem.ToDouble(o, 0));
 }
Пример #3
0
 public static Double GetColDouble(DataRow row, string columnName)
 {
     return(BaseItem.ToDouble(BaseItem.GetColumn(row, columnName, 0)));
 }
Пример #4
0
 public static Double GetColDouble(DataRow row, string columnName, Double deafultValue)
 {
     return(BaseItem.ToDouble(BaseItem.GetColumn(row, columnName, deafultValue), deafultValue));
 }
Пример #5
0
 public Double GetColDouble(object row, string columnName, Double deafultValue)
 {
     return(BaseItem.ToDouble(BaseItem.GetColumn(row, columnName, deafultValue), deafultValue));
 }