Exemple #1
0
 public override bool select()
 {
     if (!isValid(new List<string>() { "pID", "lContent", "lMapLayerName", "lIsChoosed"}))
         return false;
     string sqlCommand = String.Format(@"select * from Label where lID={0}", lID);
     Sql sql = new Sql();
     SqlDataReader reader = sql.selectLabel(sqlCommand);
     this.initBySqlDataReader(reader);
     sql.closeConnection();
     return true;
 }