Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > datasource/dataadapter question
 

datasource/dataadapter question

I have a table that i have a list of shelf locations for different items

col1 Id

Col2, Type

col3, loc

col4, sectype

can I set up three seperate data sources so I can have three seperate datagridviews so the user wont get confused?

Ljhopkins  Monday, May 05, 2008 12:49 PM
I would have 1 datasource and use 3 bindingsources one for each datagridview. Set the datasource for each of the bindingsources to the same the datasource. The differnt bindingsource will allow each datagridview to be on a differnet records.
Ken Tucker  Monday, May 05, 2008 4:39 PM
I would have 1 datasource and use 3 bindingsources one for each datagridview. Set the datasource for each of the bindingsources to the same the datasource. The differnt bindingsource will allow each datagridview to be on a differnet records.
Ken Tucker  Monday, May 05, 2008 4:39 PM

that is what i thought

that is what i ended up doing

Thanks

Ljhopkins  Monday, May 05, 2008 5:02 PM

You can use google to search for other answers

Custom Search

More Threads

• listbox does not update when datasource changed
• windows service problem timer fired problem
• Crystal Reports Help
• Datagridview fill combo box from List<class>
• DataGridview :Add new row programatically
• Databinding from outside a library
• Udate or edit table in database at backend through making changes in datagridview
• Binding DataGridViewImageColumn in DataGridView
• BindingList & Innherited Classes
• Partially Colour DataGridViewRow