.net - Crystal report is not poping up -


i created .net web application printing in document.

  1. created stored procedure dataset
  2. created dataset , loades procedure
  3. created crystal report
  4. loads dataset crystal report , arranged in crystal report
  5. created crystalreportviewer1

now want call crystal report while pressing 'button 1' facing difficulty

protected sub button1_click(byval sender object, byval e eventargs) handles button1.click

dim cryrpt new cr_agreement     cryrpt.load("@c:\users\emarketing\documents\visual studio 2010\projects\arc\arc\crreports\cr_agreement.rpt")     crystalreportviewer1.reportsource = cryrpt end sub 

try refreshing viewer after set report source.

protected sub button1_click(byval sender object, byval e eventargs) handles button1.click      dim cryrpt new cr_agreement         cryrpt.load("@c:\users\emarketing\documents\visual studio 2010\projects\arc\arc\crreports\cr_agreement.rpt")         crystalreportviewer1.reportsource = cryrpt         crystalreportviewer1.refresh()     end sub 

Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -