Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to get my query below in collection of ItemName
How do i do that please?
XML
public Collection<ItemName> ItemNames { get; set; }
<pre lang="xml">public ActionResult GetItemList(int RRGroupID, int InstitutionID)
       {

         var item = ReportEngineHelper.GetReportingEngine(Session).Generate&lt;ItemListQuery&gt;(new Filter()
           {
               Item=new ItemaRR()
               {
                   RRGroupID = RRGroupID,
                   InstitutionID = InstitutionID,
               }
           }).ToQueryModel&lt;ItemName&gt;();

           return Json(item, JsonRequestBehavior.AllowGet);
       }</pre>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900