Last post Mar 13, 2011 04:02 PM by microsoftee
Jan 22, 2011 01:24 AM|bhupal|LINK
I am having database file employee.mdf
and i have sql server express only.
What are the credentials i have to use for ConnectionInfo class and i do not have user id and password
connectionInfo.ServerName = @".\SQLEXPRESS";
connectionInfo.DatabaseName = @"E:\employee_Data.mdf";
here how to use integrated security and i given
connectionInfo.IntegratedSecurity = true;
But it is asking the user id and password while i am using the report
there is no user name and password
Please help me ,
Mar 13, 2011 04:02 PM|microsoftee|LINK
Drop a ReportSource control to form and set CrystalReportSource control's report file .rpt and set DataSources to SQLDataSource control, set SQLDataSource control commandText to your query.
This is how I deal with it, more details about ReportSource control at MSDN