public string GetCell(int Row, string Column) { string Cell = ""; if (Bucket.Rows.Count >= (Row + 1)) { Cell = Bucket.Rows[Row][Column].ToString(); } return Cell; }
public GlyphImage(string ID) { if (db.GetRows("select * from images where img_id = " + ID)) { this.ID = ID; this.GlyphID = db.GetCell(0, "img_glyph_id"); this.Path = db.GetCell(0, "img_path"); this.Status = db.GetCell(0, "img_status"); } }