Can some help me with the syntax, ADo.net C# dataset query

K

khawar

hi every body
i need help
i have a dataset called ds, which contains a table called
login_table, which contains three columns, namely (login,
password, email).
Now the question is that, can someone translate this query
in correct syntax of C#:
"select email from login_table where login='john'"

i want some thing like following, and i don't know the
correct syntax:
string email=ds."select email from login_table where
login='john'"

basically save the scalar(string in this case) value to an
string called email.

all help will be appriciate, help the needy coder
bye
 

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,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top