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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.