public studentdetails(DBConnector db)
     : this()
 {
     //turn on editing
     plEdit.Visible = true;
     //set our local dataset object to point to the passed in one
     DBConnection = db;
     StudentsDataSet = db.DBDataSet;
     Limit = StudentsDataSet.Tables["Students"].Rows.Count;
     NavigateRecords();
 }
Example #2
0
 public studentdetails(DBConnector db)
     : this()
 {
 }
Example #3
0
 public Form1()
 {
     InitializeComponent();
     //intansiate the object in memory
     Students = new DBConnector();
 }
 public studentdetails(DBConnector db, int sRow)
     : this(db)
 {
     current = sRow;
     NavigateRecords();
 }