VC++.net ( C++/Cli) How to return curent Course Position in DataGridView cell

  • Thread starter Thread starter Noor-man
  • Start date Start date
N

Noor-man

Guest
Hi

I am coding using C++/cli ( VC++ .Net), I have DataGridView ,user will edit the cell but in some point I will insert some info at the Course Position , so what I need to do is getting this Position so I can insert the data before he end editing .

I try this but without success :

DataGridViewTextBoxCell^ c = safe_cast<DataGridViewTextBoxCell^> (DGV1->CurrentCell);
TextBox^ control =safe_cast<TextBox^> (DGV1->EditingControl);
so anybody how to do it ?

Continue reading...
 
Back
Top