• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 147
  • Last Modified:

How to retrieve email address from aspnet.mdf

How can I retrieve all the email address from the aspnet.mdf database. using vb 2005.
I tried to write a query but I keep getting a message that the database is open.
Thanks
0
whiwex
Asked:
whiwex
  • 3
1 Solution
 
jpaulinoCommented:
Dos aspnet.mdf is your database or do you have another where is stored the email. Is you use aspnet.mdf to store email then you can make a new connection, fill the dataset and retrieve the value(s) that you want.

You can have a look into this example http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/adodtreader.aspx
0
 
jpaulinoCommented:
Sorry is not dataset but OleDbDataReader :-)
0
 
whiwexAuthor Commented:
I can't get this to work
0
 
jpaulinoCommented:
Can you tell me where are you having with problems?
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now