473,473 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

BindingSource between textboxexs and data grid viev

Hi all with .net 2.0 i have a dataset and a tableadapter.
i fill the tableadapter and then for the data grid view a do this...

bdnSedi.DataSource = dsInterventi;
bdnSedi.DataMember = "SEDE";
DGV.DataSource = bdnSedi;

and for my textboxexs this
txtTextBox[1].DataBindings.Add("Text", dsInterventi, "CLIENTI.CLRAGS");

my question is: when the user select a different row in the datagrid view i
would like to update de text of the textboxes... how to do this????

regards
gian paolo


Aug 7 '06 #1
1 1282
***SOLVED
txtTextBox[1].DataBindings.Add("Text", bdnSedi, "CLRAGS");

"Gian Paolo" <no****@nospam.itha scritto nel messaggio
news:44***********************@reader2.news.tin.it ...
Hi all with .net 2.0 i have a dataset and a tableadapter.
i fill the tableadapter and then for the data grid view a do this...

bdnSedi.DataSource = dsInterventi;
bdnSedi.DataMember = "SEDE";
DGV.DataSource = bdnSedi;

and for my textboxexs this
txtTextBox[1].DataBindings.Add("Text", dsInterventi, "CLIENTI.CLRAGS");

my question is: when the user select a different row in the datagrid view
i would like to update de text of the textboxes... how to do this????

regards
gian paolo


Aug 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: silesius | last post by:
Hi All, I have two pagetabs. One pagetab is used to display a parent record and the other is suppose to display 3 related child records from another table. I can display the parent records just...
2
by: shark | last post by:
Hi Does BindingSource have any information about column which is being edited (i.e. editing editing data in grid)? Thx Shark
7
by: Mike | last post by:
i have a small difficulties with BindingSource and dataGridView bind db has properly opened and bind doesn't works. Unfortunately I didn't find any good example how to connect MS Access with...
1
by: timnels | last post by:
I have a custom business object that implements INotifyPropertyChanged and IEditableObject. The collection of these objects inherits from BindingList<T>. I created a BindingSource from which a...
0
by: LieWait | last post by:
I have a custom business object that implements INotifyPropertyChanged and IEditableObject. The collection of these objects inherits from BindingList<T>. I created a BindingSource from which a grid...
3
nev
by: nev | last post by:
I havah bindingnavigator onah form andah datagridview. I wanna binda grid to the bindingnavigator so that i can navigate thru the items using the bindingnavigator. dtt is programmatically filled...
1
by: =?Utf-8?B?cmFuZHkxMjAw?= | last post by:
In the Visual Studio 2005 designer, I have a grid, a binding source, and a data set which contains two data tables. In the Designer, I make the settings below. If I set the DataMember for the...
5
by: jehugaleahsa | last post by:
Hello: I am sure this question comes up a lot. I need to disable the controls on my Windows forms so that when the BindingSource is empty some the controls bound to it will be disabled. This...
2
by: TamusJRoyce | last post by:
I am working on a group project where I do not have access to a BindingSource that is being passed through a function. The BindingSource's DataSource is set to a custom IBindingListView Collection....
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.