> 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?
Yes -- Here is how --
http://codebetter.com/blogs/sahil.ma.../11/36078.aspx
> If I can use any method, which one should I use? How should I decide which
> one to preffer among them two?
Here are my thoughts about connnected vs. disconnected. (SqlDataAdapter is
disconnected and SqlCommand/SqlDataReaders are connected).
http://codebetter.com/blogs/sahil.ma.../28/48711.aspx
HTH :-)
- Sahil Malik
http://codebetter.com/blogs/sahil.malik/
"Nicolae Fieraru" <(E-Mail Removed)> wrote in message
news:uwm9m$(E-Mail Removed)...
> 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
>