Exemple #1
0
 public static Label GetLabelByMapLayerName(string mapLayerName)
 {
     string sqlCommand = String.Format(@"select * from Label where lMapLayerName='{0}'", mapLayerName);
     Sql sql = new Sql();
     SqlDataReader reader = sql.selectLabelByMapLayerName(sqlCommand);
     Label label = new Label();
     label.initBySqlDataReader(reader);
     sql.closeConnection();
     return label;
 }