Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. displaying crystal report in asp.net with c#

displaying crystal report in asp.net with c#

Scheduled Pinned Locked Moved C#
csharpasp-netalgorithmshelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nauty
    wrote on last edited by
    #1

    Hi friends I am trying to use crystal report in asp.net1.1 . I am able to display report using crystal report viewer. But the problem is when i am passing the parameters from the asp.net page.Its not showing any kind of errors, but its not showing the data also.So if someone can send me the code of setting the parameter in c# then it'll be very helpfull. I've done the same in windows application but on searching the net i found that its totally different for web. thanks in advance.please do it fast. bye nauty

    F 1 Reply Last reply
    0
    • N nauty

      Hi friends I am trying to use crystal report in asp.net1.1 . I am able to display report using crystal report viewer. But the problem is when i am passing the parameters from the asp.net page.Its not showing any kind of errors, but its not showing the data also.So if someone can send me the code of setting the parameter in c# then it'll be very helpfull. I've done the same in windows application but on searching the net i found that its totally different for web. thanks in advance.please do it fast. bye nauty

      F Offline
      F Offline
      foysal mamun
      wrote on last edited by
      #2

      hi, friends, u can create crystal report in windows application but i cann't, i can not create a Dynamic Crystal report in windows application. porblem:- i have a filtered DataView, but i can not see the result of the DataView's in Crystal Report. please help me.

      N 1 Reply Last reply
      0
      • F foysal mamun

        hi, friends, u can create crystal report in windows application but i cann't, i can not create a Dynamic Crystal report in windows application. porblem:- i have a filtered DataView, but i can not see the result of the DataView's in Crystal Report. please help me.

        N Offline
        N Offline
        nauty
        wrote on last edited by
        #3

        Hi buddy could u be more specfic what is the prob u r getting. there are only two steps needed to show the report in windows. CrViewerObject.ReportSource = reportObject; CrViewerObject.Show(); But the problem might be you're not logging the report CrystalDecisions.CrystalReports.Engine.Table tbcurrent; CrystalDecisions.Shared.TableLogOnInfo tbln ; foreach(tbcurrent in reportObject.Database.Tables) { tbln = tbcurrent.LogOnInfo tbln.ConnectionInfo.ServerName = "server name" tbln.ConnectionInfo.DatabaseName = "database name" tbln.ConnectionInfo.UserID = "user id" tbln.ConnectionInfo.Password = "password" tbcurrent.ApplyLogOnInfo(tbln); } Hope it'll now run. nauty

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups