13.
Adaptеr->Fill(NaborDanno`x, "talaba");
14.
// DataSet da satrlar ko‘rinishi uchun XML ko‘rinishiga
//o‘tadi:
15.
auto StrokaXML = NaborDanno`x->GetXml();
16.
// Komponеntaga ma`lumot manbasini ko‘rsatamiz:
17.
dataGridView1->DataSource = NaborDannix;
18.
// Qidiriladigan malumotlarning jadvalini nomini //ko‘rsatamiz:
19.
dataGridView1->DataMember = "talaba"; Ulanish->Close();
}
20.
private: System::Void Form1_Load(System::Object^ sender,
System::EventArgs^ e) {
21.
String ^satr="SELECT * FROM [talaba] WHERE (Fam LIKE '%M%')";
22.
DBSet(satr); }
23.
private: System::Void textBox1_TextChanged( System::Object^
sender, System::EventArgs^ e){ if(checkBox1->Checked){
Do'stlaringiz bilan baham: |