Click here to Skip to main content
15,891,567 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: problem during converting from C# to Vb Pin
Omar Gameel Salem27-Jul-09 11:32
professionalOmar Gameel Salem27-Jul-09 11:32 
GeneralRe: problem during converting from C# to Vb Pin
Abhijit Jana27-Jul-09 11:36
professionalAbhijit Jana27-Jul-09 11:36 
Questiongridview Pin
solo_gaurav27-Jul-09 10:43
solo_gaurav27-Jul-09 10:43 
AnswerRe: gridview Pin
Abhijit Jana27-Jul-09 10:54
professionalAbhijit Jana27-Jul-09 10:54 
GeneralRe: gridview Pin
solo_gaurav27-Jul-09 11:07
solo_gaurav27-Jul-09 11:07 
GeneralRe: gridview Pin
Abhijit Jana27-Jul-09 11:21
professionalAbhijit Jana27-Jul-09 11:21 
GeneralRe: gridview Pin
solo_gaurav27-Jul-09 11:28
solo_gaurav27-Jul-09 11:28 
QuestionError in compiling Page with Crystal reports Pin
www.Developerof.NET27-Jul-09 4:24
www.Developerof.NET27-Jul-09 4:24 
Hi all,

Following is my code for setting the data source for a cystal report which i m using in my project.

protected void DDL_Departments_SelectedIndexChanged(object sender, EventArgs e)
{
int deptid=int.Parse(DDL_Departments.SelectedValue);
EmployeesTableAdapters.Get_Employee_By_Department _emp_adapter=new EmployeesTableAdapters.Get_Employee_By_Department();
Employees.EmployeesDataTable _emp;
_emp=_emp_adapter.Get_Employees_By_Dept(deptid);
_rdc.SetDataSource(_emp);
CR_Emp_Viewer.ReportSource=_rdc;
CR_Emp_Viewer.DataBind();
}

but its giving me a compile time error stating

CS0121: The call is ambiguous between the following methods or properties: 'CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(System.Collections.IEnumerable)' and 
'CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(System.Data.DataTable)'

What do i need to do to solve this issue????

Also its surprising that a similar code i wrote in VB runs successfully.:confused::confused::confused:

I am using VS 2005, 2.0 framework.


When you fail to plan, you are planning to fail.

AnswerRe: Error in compiling Page with Crystal reports Pin
Abhishek Sur27-Jul-09 8:20
professionalAbhishek Sur27-Jul-09 8:20 
GeneralRe: Error in compiling Page with Crystal reports Pin
www.Developerof.NET27-Jul-09 20:00
www.Developerof.NET27-Jul-09 20:00 
GeneralRe: Error in compiling Page with Crystal reports Pin
Abhishek Sur27-Jul-09 21:45
professionalAbhishek Sur27-Jul-09 21:45 
Question[Message Deleted] Pin
comp_j27-Jul-09 4:20
comp_j27-Jul-09 4:20 
AnswerRe: GridView & CheckBox Pin
Abhijit Jana27-Jul-09 4:27
professionalAbhijit Jana27-Jul-09 4:27 
QuestionGridView & CheckBox Pin
comp_j27-Jul-09 4:18
comp_j27-Jul-09 4:18 
AnswerRe: GridView & CheckBox Pin
Blue_Boy27-Jul-09 4:22
Blue_Boy27-Jul-09 4:22 
GeneralRe: GridView & CheckBox Pin
comp_j27-Jul-09 8:39
comp_j27-Jul-09 8:39 
AnswerRe: GridView & CheckBox Pin
Abhijit Jana27-Jul-09 4:31
professionalAbhijit Jana27-Jul-09 4:31 
GeneralRe: GridView & CheckBox Pin
comp_j27-Jul-09 4:55
comp_j27-Jul-09 4:55 
GeneralRe: GridView & CheckBox Pin
Blue_Boy27-Jul-09 6:45
Blue_Boy27-Jul-09 6:45 
AnswerRe: GridView & CheckBox [modified] Pin
comp_j27-Jul-09 10:28
comp_j27-Jul-09 10:28 
AnswerRe: GridView & CheckBox Pin
Abhijit Jana27-Jul-09 10:39
professionalAbhijit Jana27-Jul-09 10:39 
AnswerRe: GridView & CheckBox Pin
bonypatel27-Jul-09 22:26
bonypatel27-Jul-09 22:26 
QuestionFixed table header Pin
indian14327-Jul-09 3:34
indian14327-Jul-09 3:34 
AnswerRe: Fixed table header Pin
Blikkies27-Jul-09 3:37
professionalBlikkies27-Jul-09 3:37 
GeneralRe: Fixed table header Pin
indian14327-Jul-09 19:42
indian14327-Jul-09 19:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.