sqldatasource

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2008
Posts: 19
Reputation: krany18 is an unknown quantity at this point 
Solved Threads: 0
krany18 krany18 is offline Offline
Newbie Poster

sqldatasource

 
0
  #1
Nov 19th, 2008
hai friends,

this is kranti,
i am getting one error while i am using the sqldatasource control and dataview control

it gives error on the browser like this


" invalid object name "emp":
please tell me the how to use the sqldatasource .

ASAP
please....
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 8
Reputation: DoddaLakshman is an unknown quantity at this point 
Solved Threads: 0
DoddaLakshman DoddaLakshman is offline Offline
Newbie Poster

Re: sqldatasource

 
0
  #2
Nov 19th, 2008
Please provid proper information. I didn't get that question.....
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 19
Reputation: krany18 is an unknown quantity at this point 
Solved Threads: 0
krany18 krany18 is offline Offline
Newbie Poster

Re: sqldatasource

 
0
  #3
Nov 19th, 2008
ok...

i am creating a asp .net web page to display the emp information record by record using detials view and sqldatasource control.
sqldatasource properties are
provider name:system.data.sqlclient
connection string: user id=sa;
password=tiger;
selected query select * from emp;

detailsview control properities are:

datasource id=sqldatasource1
allowpaging=true
pagersettings

mode-nextprevfirstlast

i set this properities to this control
while using this it gives error

invalid object name: EMP

this is error it giving..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC