Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
error showing cant implecitly convert coi to string
md Ghouse
May 4 2016 6:11 AM
292
Reply
My class file
public void JoinTab(string s)
{
var x = from n in db.EMPs
join d in db.DEPTs on n.EMPNO equals d.DEPTNO
select new { n.ENAME, d.DNAME };
}
===============
.aspx.cs file
Grid1.DataSource = x.ToList();
Grid1.DataSource = objrepo.JoinTab();
im getting erroe at "objrepo.JoinTab();" cant implecitely convert voi to string
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
IList quering using Linq
How to write Linq query for count salary