private int max() { int m; m = 0; for (int i = 1; i < vs1.Rows.Count - 1; i++) { if (Function.T_String.IsNullTo0(vs1.GetData(i, "ID1").ToString()) > m) { m = Function.T_String.IsNullTo0(vs1.GetData(i, "ID1").ToString()); } } return(m); }
public static string D_GetDataFromVS1(C1.Win.C1FlexGrid.C1FlexGrid vs, string colname) { try { if (vs.GetData(vs.Row, colname) == null) { return(""); } return(vs.GetData(vs.Row, colname) + ""); } catch (Exception) { return(colname); } }