DataList Question

  • Thread starter Edith Carpenter
  • Start date
E

Edith Carpenter

Hello all!

is it possible for a datalist to have a datareader as its source instead of
datasets?

thanks a million!


--A
 
S

SparvHok

Edith said:
Hello all!

is it possible for a datalist to have a datareader as its source instead of
datasets?

thanks a million!


--A
Yepp, works absolutely fine...

Dim dtrData As OleDbDataReader = New
_objComman.ExecuteReader(CommandBehaviour.CloseConnection())

ddlWebcontrol.DataSource = dtrData
ddlWebcontrol.DataBind()

Works like a charm.

--

+======================================================================+
| SparrowHawk The Magician |
| |
| |
| |
| |
+======================================================================+
| e-mail: sparvhok[NOSPAM]hotmail.com |
+======================================================================+
To send me an email, replace the [NOSPAM] tag with @ sign.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,230
Latest member
LifeBoostCBD

Latest Threads

Top