Esempio n. 1
0
            public studentRow AddstudentRow(string Rollno, string name, string fname)
            {
                studentRow rowstudentRow = ((studentRow)(this.NewRow()));

                rowstudentRow.ItemArray = new object[] {
                    Rollno,
                    name,
                    fname
                };
                this.Rows.Add(rowstudentRow);
                return(rowstudentRow);
            }
Esempio n. 2
0
            public studentRow AddstudentRow(string stu_id, string name, string sex, string addr)
            {
                studentRow rowstudentRow = ((studentRow)(this.NewRow()));

                rowstudentRow.ItemArray = new object[] {
                    stu_id,
                    name,
                    sex,
                    addr
                };
                this.Rows.Add(rowstudentRow);
                return(rowstudentRow);
            }
Esempio n. 3
0
 public studentRowChangeEvent(studentRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Esempio n. 4
0
 public void RemovestudentRow(studentRow row)
 {
     this.Rows.Remove(row);
 }
Esempio n. 5
0
 public void AddstudentRow(studentRow row)
 {
     this.Rows.Add(row);
 }
Esempio n. 6
0
 public studentRowChangeEvent(studentRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }