Click here to Skip to main content
15,905,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
SQL
CREATE PROCEDURE usp_Join
SELECT JoinOne.Name,JoinTwo.FathersName,JoinThree.Address
from JoinOne,JoinTwo,JoinThree
Where JoinOne.ID=JoinTwo.ID and JoinOne.ID=JoinThree.ID



whats the command to be give in asp.net using c# for retrieving this procedure...and i want to place this values in datalist..any one will help me??
Posted
Updated 5-Dec-11 0:03am
v2
Comments
[no name] 5-Dec-11 5:24am    
of course it can. google it :)
ythisbug 5-Dec-11 5:29am    
i tried,..cldnt gt...if u can send me da link..m using two tables hea..
ythisbug 5-Dec-11 6:17am    
anyone wl help..i imprvd questn...

call the execution of this procedure as sql command and put this result into a dataset.after that do wahterver you want.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900