Exemple #1
0
 public static string GetAreaNameForID(string id)
 {
     DataRow[] rows = AreaTable.Select(COL_AREA_OBJECTNAME + "='" + id + "'");
     if (rows.Length > 0)
     {
         return(Convert.ToString(rows[0][COL_AREA_NAME]));
     }
     else
     {
         return(id);
     }
 }