SQL Sever SELECT to asp.net webpage

S

saetiagous

Hi,

I have a stored procedure in SQL Sever which retrieves 2 columns, NAME
and JOB, using a simple statement (SELECT Name, Job FROM People).

I wanted to know, how do i put the values of these 2 columns into 2
seperate textBox on my asp.net webpage?

I can make a connection to the stored proedure but don't know how to
'accept' and use the values i get from my SQL statement.

Any help would be much appreciated, Cheers
Tiago!!
 
S

sloan

Are you displaying 1 Name/Job combo, or are you display 10,20, (N Number) of
Name/Jobs?
 
S

saetiagous

It is as two seperate N-number name and job columns.

e..g

NAME JOB
Paul cleaner
Peter swimmer
Mike programmmer

Then on my site, i would like to them to be displayed in tetxt boxes
like:

Paul
cleaner


Peter
swimmer

Mike
programmer
 

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,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top