new to vs .net 2005

  • Thread starter Thread starter George Hardy
  • Start date Start date
G

George Hardy

hi all,

i was wondering why the dataadapter does not appear in the toolbox by
default anymore. why do they hide it?


i scratched my head for minutes and minutes trying to figure out what this
"bindingsource" was. This is a little departure from .net2003. is this the
same as the dataview object?

thanks in advance
george hardy
 
George Hardy said:
i was wondering why the dataadapter does not appear in the toolbox by
default anymore. why do they hide it?

I hardly ever use the designer to do my database stuff so I didn't even
notice that this was not in the toolbox until you mentioned it.
i scratched my head for minutes and minutes trying to figure out what this
"bindingsource" was. This is a little departure from .net2003. is this the
same as the dataview object?

BindingSource is different than the DataView. Think of the DataView as a
SQL View, it's just another way of looking at the data. The BindingSource
acts as a go-between for your data and your controls. An example would be if
you wanted to show database data in a DataGridView and have the ability
perform a Find on the data in the grid. In this case you would use the
BindingSource as the DataSource for the DataGridView. You perform the find
on the BindingSource and DataGridView will automatically scroll down to the
Found record.
 
thanks, that makes some sense....

as far as the dataadapter , i have heard before that bound controls are
devilspawn, but it works for me pretty good...my boss likes me to kick the
code out quick, and this is easy....this, besides a textbox, is my most
commonly used control.

thanks again,
george
 
Back
Top