Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

In my learning process I have an asp page that has several combobox's that will be populated from a database.

 

I was able to get one populated, but then I wondered,

 

Do I have to have a seperate SqlDataAdapter for every single combo box? Or can I re-use the DataAdapter I have and issue seperate SQL commands to gather my information?

 

I realize that I am going to have to have a DataSet and DataView for each one, but I would like some info on reusing a DataAdapter.

 

Thanks.

 

Gregg

Posted
Yes, you can reuse DataAdaptor. Every DA has four command objects (for select, insert, delete and update) which can be modifided.

A man and a dog have an average of three legs.

Beaware of Statistics.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...