Results 1 to 5 of 5

Thread: [2005] Creating dyanmic reports - HELP!!

  1. #1

    Thread Starter
    Hyperactive Member mulhearn22's Avatar
    Join Date
    Jun 2007
    Location
    Cherry Hill, NJ
    Posts
    347

    [2005] Creating dyanmic reports - HELP!!

    Hi,

    So here's what I want to do:

    I want to query the database, get a dataset, bind it to the reportviewer and display the results. I do not want to create a template report before hand. I do not want to use CrystalReports because it is not installed. I want to use the ReportViewer that comes with VS05 and has the rsweb prefix.

    Please help.

    TIA,
    Matt
    VS 2010 / .NET 4.0 / ASP.NET 4.0

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Creating dyanmic reports - HELP!!


  3. #3

    Thread Starter
    Hyperactive Member mulhearn22's Avatar
    Join Date
    Jun 2007
    Location
    Cherry Hill, NJ
    Posts
    347

    Re: [2005] Creating dyanmic reports - HELP!!

    mendhak - That was close but the tutorials still had me creating a template beforehand (when they make a xsd and then have you drag the columns onto the report to show them). I want the report to juse fill no matter what SQL statement I hit it with. Any ideas on how to do that?
    VS 2010 / .NET 4.0 / ASP.NET 4.0

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Creating dyanmic reports - HELP!!

    You aren't necessarily restricted by dragging and dropping. You can always specify the sql/stored procedure you want to use.

    I did another search and came across this
    http://www.codeproject.com/KB/webfor...ortViewer.aspx

    Which uses a stored procedure. I'd imagine that you can modify this to make it run anything.

  5. #5

    Thread Starter
    Hyperactive Member mulhearn22's Avatar
    Join Date
    Jun 2007
    Location
    Cherry Hill, NJ
    Posts
    347

    Re: [2005] Creating dyanmic reports - HELP!!

    are you sure i'm not? this example also has me drag and dropping. under fig 2 it says:

    "Drag the column “ProductName” from the “Website Data Sources” window, and drop it in the Detail row "

    i've gotten it to work where it sees the datatable and binds it, but nothing shows up. am i really restricted to having the fields manually setup before hand to display the data?
    VS 2010 / .NET 4.0 / ASP.NET 4.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width