G
Guest
Hello
Just trying to do a simple select on my custom object.
GridView2.DataSource = from jobs in new ifc.JobManagerFactory().GetByBPT(2355)
//where jobs.JobID =
"12"
orderby jobs.JobID
select new {
jobs.HostIP,
jobs.JobID
};
I get an error if I use where jobs.JobID = "12", it says:
"Error 25 Argument '2': cannot convert from 'anonymous method' to
'System.Query.Func
Where should I place my whereclause then?
Kind regards
Janus
Just trying to do a simple select on my custom object.
GridView2.DataSource = from jobs in new ifc.JobManagerFactory().GetByBPT(2355)
//where jobs.JobID =
"12"
orderby jobs.JobID
select new {
jobs.HostIP,
jobs.JobID
};
I get an error if I use where jobs.JobID = "12", it says:
"Error 25 Argument '2': cannot convert from 'anonymous method' to
'System.Query.Func
Where should I place my whereclause then?
Kind regards
Janus