Manipulating the DataSet Index
-
I have a working database and a 'DetailView'. I've added a ListBox which is databound to the same dataset (it works too). But when I select an item off the ListBox, I would like the detailview to update to the selected item in the ListBox. In otherwords, How do I set the CurrencyManager Index (?) to the ListBox.selectedIndex? I'm using VB.Net 2005 (beta 2), which shields me from alot of the code I'm trying to figure out. In way of these new objects, I have: abindingSource, DataSet, bindingNavigator, and a TableAdapter. I'm not even sure which of these objects handles the currencyManager (or if any). If someone can point me to an article or some code, I would greatly appreciate it. I'm lost. Thanks, Karen Nooobie to OOP and VB.Net 2005
-
I have a working database and a 'DetailView'. I've added a ListBox which is databound to the same dataset (it works too). But when I select an item off the ListBox, I would like the detailview to update to the selected item in the ListBox. In otherwords, How do I set the CurrencyManager Index (?) to the ListBox.selectedIndex? I'm using VB.Net 2005 (beta 2), which shields me from alot of the code I'm trying to figure out. In way of these new objects, I have: abindingSource, DataSet, bindingNavigator, and a TableAdapter. I'm not even sure which of these objects handles the currencyManager (or if any). If someone can point me to an article or some code, I would greatly appreciate it. I'm lost. Thanks, Karen Nooobie to OOP and VB.Net 2005
I would use a datagrid to drive a second datagrid using "Item Command" See my article on easy ADO, its in C# which can be translated in VB http://www.codeproject.com/aspnet/EasyADODgrids.asp