.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

not getting from database using dataset

Posted By: raj     Posted Date: September 26, 2013    Points:5   Category :ASP.Net
Hi,

Iam using 3 tier architecture with stored procedure.i created a stored procedure with select * from emp where eid=@cid

Iam using service also.

code=service.selectemp(session("id"),ds)
txtempid.text=ds.tables(0).rows(0).Item[Eid].Tostring
iwant to load the details but empid 11 it will not coming it will show empid 1 only how to rectify this.

Responses
Author: Sasi Prabhu             
Posted Date: October 25, 2013     Points: 20   

Hi raj,


instant of using DataTable and DataSet in service, you can use List .




Thanks & Regards,
Sasi Prabhu.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend