954,157 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

sqldatasource

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....

krany18
Newbie Poster
19 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

Please provid proper information. I didn't get that question.....

DoddaLakshman
Newbie Poster
8 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

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..

krany18
Newbie Poster
19 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You