N
Nicolae Fieraru
Hi All,
I read in a book that a program can connect to a database using two
different types of connections to a database. In case the program can
maintain a direct connection, classes such as OleDbConnection, OleDbCommand
and OleDbDataReader can be used.
The other option is to create a disconnected application, using an
OleDbDataSet.
and an OleDbDataAdapter.
I want to populate a ComboBox from a table. I know how to do this only for
disconnected applications. Is it possible to use a connected application to
populate a ComboBox? If I can use any method, which one should I use? How
should I decide which one to preffer among them two?
Regards,
Nicolae
I read in a book that a program can connect to a database using two
different types of connections to a database. In case the program can
maintain a direct connection, classes such as OleDbConnection, OleDbCommand
and OleDbDataReader can be used.
The other option is to create a disconnected application, using an
OleDbDataSet.
and an OleDbDataAdapter.
I want to populate a ComboBox from a table. I know how to do this only for
disconnected applications. Is it possible to use a connected application to
populate a ComboBox? If I can use any method, which one should I use? How
should I decide which one to preffer among them two?
Regards,
Nicolae