.net - Crystal report is not poping up -
i created .net web application printing in document.
- created stored procedure dataset
- created dataset , loades procedure
- created crystal report
- loads dataset crystal report , arranged in crystal report
- 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
Post a Comment