Click here to Skip to main content
15,894,460 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: search for date inf vb.net from excel to datagrid Pin
Richard MacCutchan4-Aug-13 23:26
mveRichard MacCutchan4-Aug-13 23:26 
GeneralRe: search for date inf vb.net from excel to datagrid Pin
Mycroft Holmes4-Aug-13 23:35
professionalMycroft Holmes4-Aug-13 23:35 
GeneralRe: search for date inf vb.net from excel to datagrid Pin
hendrikbez5-Aug-13 20:27
hendrikbez5-Aug-13 20:27 
QuestionVB.net connect database MySQL online Pin
manoph30-Jul-13 21:49
manoph30-Jul-13 21:49 
AnswerRe: VB.net connect database MySQL online Pin
Eddy Vluggen31-Jul-13 8:54
professionalEddy Vluggen31-Jul-13 8:54 
GeneralRe: VB.net connect database MySQL online Pin
manoph31-Jul-13 23:36
manoph31-Jul-13 23:36 
GeneralRe: VB.net connect database MySQL online Pin
Eddy Vluggen1-Aug-13 9:03
professionalEddy Vluggen1-Aug-13 9:03 
QuestionReport with Crystal Report Pin
Biplob Singha Shee28-Jul-13 21:42
Biplob Singha Shee28-Jul-13 21:42 
Hi,

I am trying to generate a report with Crystal Report.

But my report is blank

My code is ...

VB
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Try
            OpenConnection()
            qry = "SELECT * FROM customer"
            dbcommand.Connection = DbConn.conn
            dbcommand.CommandText = qry
            dbadapter.SelectCommand = dbcommand
            dbadapter.Fill(stdata, "Customer")

            Dim objRpt As New CustomerRpt
            objRpt.SetDataSource(stdata.Tables("Customer"))
            rptViewer.ReportSource = objRpt
            rptViewer.RefreshReport()
        Catch ex As Exception
            MsgBox(ex.Message)
        Finally
            CloseConnection()
        End Try

    End Sub


The Customer table has 7 rows.

I am using mysql database and vb.net 2010.

One more thing I would like to inform you that, while designing the CrystalReport, I did not find any field in CrystalReport --> Field Explorer --> Database fields
SuggestionRe: Report with Crystal Report Pin
ZurdoDev9-Aug-13 8:01
professionalZurdoDev9-Aug-13 8:01 
QuestionDo I need to implement Dispose() ? Pin
David Mujica26-Jul-13 5:31
David Mujica26-Jul-13 5:31 
AnswerRe: Do I need to implement Dispose() ? Pin
Richard Deeming26-Jul-13 5:41
mveRichard Deeming26-Jul-13 5:41 
GeneralRefactoring my code now Pin
David Mujica26-Jul-13 8:03
David Mujica26-Jul-13 8:03 
QuestionCreate Dynamic Label with Drag and Drop Function Pin
Val Gerald Dela Cruz24-Jul-13 14:53
Val Gerald Dela Cruz24-Jul-13 14:53 
AnswerRe: Create Dynamic Label with Drag and Drop Function Pin
Dave Kreskowiak24-Jul-13 17:07
mveDave Kreskowiak24-Jul-13 17:07 
QuestionThree column autocomplete Combobox in form and datagridview Pin
Biplob Singha Shee23-Jul-13 19:44
Biplob Singha Shee23-Jul-13 19:44 
AnswerRe: Three column autocomplete Combobox in form and datagridview Pin
Eddy Vluggen31-Jul-13 8:59
professionalEddy Vluggen31-Jul-13 8:59 
GeneralRe: Three column autocomplete Combobox in form and datagridview Pin
Biplob Singha Shee1-Aug-13 21:34
Biplob Singha Shee1-Aug-13 21:34 
QuestionHow to pass parameter in reportviewer which is calling .RDLC report Pin
Member 381516522-Jul-13 18:43
Member 381516522-Jul-13 18:43 
AnswerRe: How to pass parameter in reportviewer which is calling .RDLC report Pin
Mycroft Holmes22-Jul-13 19:12
professionalMycroft Holmes22-Jul-13 19:12 
GeneralRe: How to pass parameter in reportviewer which is calling .RDLC report Pin
Member 381516523-Jul-13 7:01
Member 381516523-Jul-13 7:01 
AnswerRe: How to pass parameter in reportviewer which is calling .RDLC report Pin
TnTinMn23-Jul-13 7:34
TnTinMn23-Jul-13 7:34 
QuestionVB6 output Access 2000 report to pdf Pin
Member 981947022-Jul-13 9:53
Member 981947022-Jul-13 9:53 
AnswerRe: VB6 output Access 2000 report to pdf Pin
Mycroft Holmes22-Jul-13 12:48
professionalMycroft Holmes22-Jul-13 12:48 
AnswerRe: VB6 output Access 2000 report to pdf Pin
Dave Kreskowiak22-Jul-13 13:55
mveDave Kreskowiak22-Jul-13 13:55 
Questionvbaproject.bin read Pin
JR21220-Jul-13 3:35
JR21220-Jul-13 3:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.