Курсовая работа: Предметная область "тестирование"

}

if(lvl==1)

{

String^ connectionString2 = "provider=Microsoft.Jet.OLEDB.4.0;"+path_a;

OleDbConnection^ myOleDbConnection2 = gcnew OleDbConnection(connectionString2);

OleDbCommand^ myOleDbCommand2 = myOleDbConnection2->CreateCommand();

myOleDbCommand2->CommandText =

"INSERT INTO [log] "+

"VALUES ("+id+", Now(), 'Входвсистему');";

myOleDbConnection2->Open();

OleDbDataReader^ myOleDbDataReader2 = myOleDbCommand2->ExecuteReader();

myOleDbConnection2->Close();

this->Text = L"РаботасБД";

this->ClientSize = System::Drawing::Size(500, 220);

this->menuStrip1->Visible=true;

this->пользователяToolStripMenuItem->Visible=false;

this->участникиToolStripMenuItem->Visible=false;

this->логToolStripMenuItem->Visible=false;

this->textBox1->Visible=false;

this->textBox2->Visible=false;

this->label1->Visible=false;

this->label2->Visible=false;

this->Вход->Visible=false;

this->Выход->Visible=false;

this->dataGridView1->Visible=true;

this->dataGridView1->Location = System::Drawing::Point(12,30);

this->dataGridView1->ReadOnly=false;

this->listBox1->Visible=true;

this->listBox1->Location=System::Drawing::Point(300,30);

К-во Просмотров: 378
Бесплатно скачать Курсовая работа: Предметная область "тестирование"