Click here to Skip to main content
15,915,093 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Datagrid view to DataBase - Update Pin
Johan Hakkesteegt6-Aug-07 20:36
Johan Hakkesteegt6-Aug-07 20:36 
QuestionRe: Datagrid view to DataBase - Update Pin
Trupti Mehta7-Aug-07 19:25
Trupti Mehta7-Aug-07 19:25 
AnswerRe: Datagrid view to DataBase - Update Pin
Johan Hakkesteegt7-Aug-07 22:51
Johan Hakkesteegt7-Aug-07 22:51 
GeneralRe: Datagrid view to DataBase - Update Pin
Trupti Mehta8-Aug-07 0:33
Trupti Mehta8-Aug-07 0:33 
GeneralRe: Datagrid view to DataBase - Update Pin
Johan Hakkesteegt8-Aug-07 22:49
Johan Hakkesteegt8-Aug-07 22:49 
GeneralRe: Datagrid view to DataBase - Update Pin
Trupti Mehta9-Aug-07 1:02
Trupti Mehta9-Aug-07 1:02 
Questioncrystal reportviewr problem Pin
magedhv4-Aug-07 22:04
magedhv4-Aug-07 22:04 
AnswerRe: crystal reportviewr problem Pin
Rupesh Kumar Swami6-Aug-07 0:57
Rupesh Kumar Swami6-Aug-07 0:57 
hi,
specify the error in detail.
anyway use this procedure (in place of Form7.show) to show report

call crystalForm.showReport()

where crystalForm contains crystalReportviewer and showReport procedure.

Private sub ShowReport()<br />
Try<br />
            Dim obj As CrystalReport1 = New CrystalReport1<br />
            Dim ds As New DataSet<br />
            Dim da As OleDbDataAdapter<br />
            Dim str As String<br />
            str = "select * from TableName"  'Query<br />
          <br />
            da = New OleDbDataAdapter(str, conn) ' where conn is connection object<br />
            da.Fill(ds)<br />
            <br />
            obj.SetDataSource(ds.Tables(0))<br />
            me.CrystalReportViewer1.ReportSource = obj<br />
            Me.Show()<br />
        Catch ex As Exception<br />
            MsgBox(ex.Message, MsgBoxStyle.Information, "Report")<br />
        End Try<br />
End sub


one more thing ,CrystalReport1.rpt must be include in your project (not in debug folder)

hope this helps

Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)

QuestionDecimal Point Pin
WestSideRailways4-Aug-07 19:22
WestSideRailways4-Aug-07 19:22 
AnswerRe: Decimal Point Pin
Luc Pattyn5-Aug-07 0:13
sitebuilderLuc Pattyn5-Aug-07 0:13 
GeneralRe: Decimal Point Pin
WestSideRailways5-Aug-07 9:44
WestSideRailways5-Aug-07 9:44 
GeneralRe: Decimal Point Pin
Luc Pattyn5-Aug-07 10:07
sitebuilderLuc Pattyn5-Aug-07 10:07 
QuestionDatagridview Comboboxs Pin
ryan1174-Aug-07 11:19
ryan1174-Aug-07 11:19 
QuestionWhich programing Language is best for me? Pin
Benjamin Dodd4-Aug-07 9:40
Benjamin Dodd4-Aug-07 9:40 
AnswerRe: Which programing Language is best for me? Pin
Rareed4-Aug-07 10:18
Rareed4-Aug-07 10:18 
GeneralRe: Which programing Language is best for me? Pin
Benjamin Dodd4-Aug-07 10:22
Benjamin Dodd4-Aug-07 10:22 
GeneralRe: Which programing Language is best for me? Pin
The ANZAC4-Aug-07 12:52
The ANZAC4-Aug-07 12:52 
GeneralRe: Which programing Language is best for me? Pin
Colin Angus Mackay4-Aug-07 12:58
Colin Angus Mackay4-Aug-07 12:58 
GeneralRe: Which programing Language is best for me? Pin
Christian Graus4-Aug-07 13:28
protectorChristian Graus4-Aug-07 13:28 
GeneralRe: Which programing Language is best for me? Pin
Mohammed Hameed5-Aug-07 9:52
professionalMohammed Hameed5-Aug-07 9:52 
AnswerRe: Which programing Language is best for me? Pin
Colin Angus Mackay4-Aug-07 12:55
Colin Angus Mackay4-Aug-07 12:55 
GeneralRe: Which programing Language is best for me? Pin
Kevin McFarlane5-Aug-07 9:48
Kevin McFarlane5-Aug-07 9:48 
AnswerRe: Which programing Language is best for me? Pin
Christian Graus4-Aug-07 13:29
protectorChristian Graus4-Aug-07 13:29 
GeneralRe: Which programing Language is best for me? Pin
Benjamin Dodd4-Aug-07 21:55
Benjamin Dodd4-Aug-07 21:55 
AnswerRe: Which programing Language is best for me? Pin
Mbire5-Aug-07 21:50
Mbire5-Aug-07 21:50 

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.