GotoBookmark1 DBGrid Multiselect 했을때 각각의 Row 처리 void __fastcall TForm1::Button1Click(TObject *Sender) { if (DBGrid1->SelectedRows->Count > 0) { AnsiString s = ""; TDataSet *pDS = DBGrid1->DataSource->DataSet; for (int i=0; i SelectedRows->Count; i++) { pDS->GotoBookmark((void *)DBGrid1->SelectedRows->Items[i].c_str()); for (int j = 0; j FieldCount; j++) { if (j>0) s = s+", "; s = s + pDS->Fields->Fields[j]->AsString; } ListBox1->Items->Add(s).. 2012. 4. 24. 이전 1 다음