none
'ServiceClient.Reporting.ClientSession.Report.get': cannot explicitly call operator or accessor RRS feed

  • Question

  • Hello guys i having trouble following code error..

    'ServiceClient.Reporting.ClientSession.Report.get': cannot explicitly call operator or accessor 

    My Code Is : -

    ClientSession session = reportHandler.get_Session();
    int count = session.get_ReportTable().Rows.Count;
    StringBuilder stringBuilder = new StringBuilder();
    stringBuilder.Append("<div class='topBar'>");
    stringBuilder.Append("<div class='floatleft topbar-left'><input type='search' placeholder='Page Search' class='gridsearch' id='reportGridSearch' style='width:100%;'/> </div>");
    stringBuilder.Append(string.Format("<input id='reportTitle' type='text' value='{0}' maxlength='50' spellcheck='false' />", session.get_Report().get_Settings().get_ReportTitle()));
    stringBuilder.Append("<div class='floatright topbar-right'>");
    string[] qtyUnitsList = reportHandler.get_QtyUnitsList();
    if (qtyUnitsList != null)

    All session showing problems pleasae reply me fast 

    Thursday, March 29, 2018 6:35 AM

All replies

  • Hello,

    I don't know this library but in general seeing something like get_ is usually not a member that is meant to be called in your code, I would expect to see something like Session rather than get_Session. 


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by Rohit Potdar Thursday, March 29, 2018 10:43 AM
    • Unmarked as answer by Rohit Potdar Thursday, March 29, 2018 10:43 AM
    Thursday, March 29, 2018 9:47 AM
    Moderator
  • but this get Method more than in my ASP C#.net Project ...please give me solutions 

    rohit potdar 


    Thursday, March 29, 2018 10:44 AM
  • but this get Method more than in my ASP C#.net Project ...please give me solutions 

    rohit potdar 


    I've given you my thoughts and have nothing to add.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Thursday, March 29, 2018 10:50 AM
    Moderator
  • hi Karen i just launch new question ..can you check this for me please 

    rohit potdar

    Thursday, March 29, 2018 11:20 AM