ify">}
# endregion
///
///The main entry point for the application.
///
[STAThread] void Main ()
{. Run (new Form1 ());
} dis,,; nom = -1; ntb = 0; [] s = new string [32000]; void textBox1_KeyDown (object sender, System.Windows.Forms.KeyEventArgs e)
{. ReadOnly = true;
} void textBox1_KeyUp (object sender, System.Windows.Forms.KeyEventArgs e)
{. ReadOnly = false;
} void menuItem1_Click (object sender, System.EventArgs e)
{f2 = new
} void Form1_Load (object sender, System.EventArgs e)
{= new DataSet (); DBConnectionString = @ "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = db1.mdb";. Data.OleDb.OleDbConnection aCon = new System.Data . OleDb.OleDbConnection (DBConnectionString);. Data.OleDb.OleDbCommand команда = new System.Data.OleDb.OleDbCommand ("", aCon);. Data.OleDb.OleDbDataAdapter adapter = new System.Data.OleDb.OleDbDataAdapter ( команда);. Open ();
команда.CommandText = "SELECT * FROM dis";. SelectCommand = команда;. Fill (dis, "dis");. Close ();. Items.Clear (); (int i = 0; i
{. Items.Add (dis.Tables [0]. Rows [i] ["disciplina"]. ToString ());
}
} void comboBox1_SelectedIndexChanged (object sender, System.EventArgs e)
{= 0; = new DataSet (); DBConnectionString = @ "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = db1.mdb";. Data.OleDb.OleDbConnection aCon = new System.Data.OleDb.OleDbConnection (DBConnectionString);. Data.OleDb.OleDbCommand команда = new System.Data.OleDb.OleDbCommand ("", aCon);. Data.OleDb.OleDbDataAdapter adapter = new System.Data.OleDb . OleDbDataAdapter (команда);. Open ();
команда.CommandText = "SELECT * FROM dis";. SelectCommand = команда;. Fill (dis, "dis");. Close (); (int i = 0; i
{= Convert.ToInt32 (dis.Tables [0]. Rows [i] ["id"]. ToString ());
}
} = new DataSet ();. Open ();
команда.CommandText = "SELECT * FROM forum";. SelectCommand = команда;. Fill (forum, "forum");. Close (); = new DataSet ();. Open ( );
команда.CommandText = "SELECT * FROM usery";. SelectCommand = команда;. Fill (usery, "usery");. Close (); = new string [32000]; (int i = 0; i
{[ntb] = forum.Tables [0]. Rows [i] ["textx"]. ToString (); + +;
}
} (int i = 0; i
...