Get Data from SQL

  • Thread starter Guilherme Grillo
  • Start date
G

Guilherme Grillo

Friends,

How can I get a Information of a sql database table to use in code?

Example:
I have a table in SQL with columns (ID and Name). How can I get the
information Name from the database and put in a variable to use for others
queries or functions?

My system works with C#.

Other problem:
I try to get the data with a Repeater Control and DataBind. How can I do the
system to execute a command between a register and another in the database.

Example:
It found the first line of DB and shows a MSGBOX, then, found the second
line and show another MSGBOX with any information.

Sorry my english.

Thanks.

Grillo
 

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,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top