ERROR:
Logon failed. Details: ADO Error Code: 0x Source: Microsoft SQL Native Client
Description: Login failed for user 'temp'. SQL State: 28000 Native Error: Logon failed. Details: ADO
Error Code: 0x Source: Microsoft SQL Native Client Description: Invalid connection string attribute SQL State: 01S00 Error in File C:\DOCUME~1\Chandni\LOCALS~1\Temp\temp_df90b904-a72f-4abe-aaef-89388d8769de {A43A0F6B-C750-4CEB-BD84-B296F2817D13}.rpt: Unable to connect: incorrect log on parameters.
这是我的试用代码,bapur
是使用3层architexture的业务层对象
Cr_purchaseOrder cr = new Cr_purchaseOrder();
DataSet ds = new DataSet();
Bapur = new BAPurchaseOrder();
Bapur.Condition = "ViewPo";
Bapur.Code = "PROD00002";
ds = Bapur.Itemid();
cr.SetDataSource(ds);
CrystalReportViewer1.ReportSource = cr;