![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a DataGrid (Griglia) an TextBox (Testo) i had bound them with _Da (DataAdapter) _Ds (DataSet) e _CuMa (CurrencyManager) I click in a cell of DataGrid and i'd like to see in my TextBox the right Value. i had tried to do in this way dim _NewCuma as currencyManager=ctype(me.bindingContext(Griglia.Da taSource),CurrencyManager) _Cuma.Position=_NewCuma.position It 's right..if i don't change the order in the datagrid with a click on the header... if i do a click... the order change and the game is over :-( Anyone can help me ?? can i found a metod for bind DataGrid and TextBox ...with Ordinable Datagrid ?? Thank's and sorry for my bad english |
#3
| |||
| |||
|
|
I'd like my program works like in this row Testo.DataBindings.Add("Text", Griglia.DataSource, "My_Field") but i 'd like to do this a desing time... it's possible ? Can my program work like this in other ways ??? Thank's "Daniele Pinai" wrote: Hi, I have a DataGrid (Griglia) an TextBox (Testo) i had bound them with _Da (DataAdapter) _Ds (DataSet) e _CuMa (CurrencyManager) I click in a cell of DataGrid and i'd like to see in my TextBox the right Value. i had tried to do in this way dim _NewCuma as currencyManager=ctype(me.bindingContext(Griglia.Da taSource),CurrencyManager) _Cuma.Position=_NewCuma.position It 's right..if i don't change the order in the datagrid with a click on the header... if i do a click... the order change and the game is over :-( Anyone can help me ?? can i found a metod for bind DataGrid and TextBox ...with Ordinable Datagrid ?? Thank's and sorry for my bad english |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |