i am using MS-visual studio 2005 and VB.NET language in that.
my ques is tht i am unable to load a crystalreport.
all fields are shown from database (SQl SERVER 2005)
but data is not shown
so can anyone plz help??????????itz urgent
How can we see what you did without seeing your code, or at least elaborate the problem a little.
ya i am using sql server 2005 in wanted to display my table data int o crystal report
so all data is not gettin loaded just its field are gettin loaded like i hv wriiten code
Private Sub btnreport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnreport.Click
Dim cryRpt As New ReportDocument
CrystalReportViewer1.ReportSource = cryRpt
by peter_budo: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)
Please ask specific questions, no1 will do your work for you.
What exactly is troubling you in this task?
i am really new to this crystal report so was not gettin anythg so just googled it and understud a little but its in my project so have to do it.
i tried this code for loadin :
Dim con As New SqlConnection("conn str")
Dim cm As New SqlCommand
cm.Connection = con
cm.CommandText = "Insert into table values(" & Val(txtbillno.Text) & ",'" & txtadd.Text & "','" & txtname.Text & "')"
cm.CommandText = "Insert into CCO values(" & Val(txtadd.Text) & ")"
Catch ex As Exception
but still same prob is thr data doesnt gets load database fields are loadin.plz help
i m really depressed with it.
so just see it and tell what is going wrong?
every step in this site is followed by me but dont know whats happening?it doesnot show any errors nor any exceptions but then too the thing i want is not coming