microsoft report viewer(.rdlc file) RRS feed

  • Question

  • hello

    its very urgent ..................

    how to display the data in report viewer control using code behind & i want to pass a user id to the report from code behind.
    i have created a .xsd file & i am using a datatable there. & inside the datatable values came from sql data base through procedure & there is a parameter user_id  .
    now i want to pass that user_id through code behind using c#.

    thanx in advance
    • Moved by Harry Zhu Tuesday, June 23, 2009 3:54 AM relating to report controls (From:Visual C# Language)
    Monday, June 22, 2009 11:25 AM

All replies

  • Hi,

    I guess parameters can be passed to a report using querystring. So you should try passing user_id through a querystring.

    Let me know if it helps,

    [Please do not forget to mark as answer for a correct reply.]
    Monday, June 22, 2009 11:29 AM