Exemplo n.º 1
0
        ///
        /// 增加新一条新记录。
        ///
        public RowTW_QUESTION AddRowTW_QUESTION(System.String VID, System.String VTITLE, System.String VDETAIL, System.DateTime DCREATE, System.String VINPUTID, System.Byte[] IMG, System.Int16 NSTATUS, System.Int16 NDEL)
        {
            RowTW_QUESTION row = ((RowTW_QUESTION)(this.NewRow()));

            row.ItemArray = new object[] { VID, VTITLE, VDETAIL, DCREATE, VINPUTID, IMG, NSTATUS, NDEL };
            this.Rows.Add(row);
            return(row);
        }
Exemplo n.º 2
0
 public RowChangeEventTW_QUESTION(RowTW_QUESTION row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemplo n.º 3
0
 ///
 /// 删除指定的记录。
 ///
 public void RemoveRowTW_QUESTION(RowTW_QUESTION row)
 {
     this.Rows.Remove(row);
 }
Exemplo n.º 4
0
 ///
 /// 增加新一条新记录。
 ///
 public void AddRowTW_QUESTION(RowTW_QUESTION row)
 {
     this.Rows.Add(row);
 }