Click here to Skip to main content
15,888,330 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProblem with API Pin
Pasan1485-May-09 21:44
Pasan1485-May-09 21:44 
AnswerRe: Problem with API Pin
Henry Minute6-May-09 6:04
Henry Minute6-May-09 6:04 
AnswerRe: Problem with API Pin
Bharat Jain6-May-09 18:51
Bharat Jain6-May-09 18:51 
QuestionVirtual Earth Map Control without using AJAX Pin
Lexter33335-May-09 20:41
Lexter33335-May-09 20:41 
AnswerRe: Virtual Earth Map Control without using AJAX Pin
Mycroft Holmes5-May-09 21:21
professionalMycroft Holmes5-May-09 21:21 
Questionmicrosoft report viewer in visual studio does not function with a stored procedure Pin
sourav_bhargava5-May-09 20:31
sourav_bhargava5-May-09 20:31 
AnswerRe: microsoft report viewer in visual studio does not function with a stored procedure Pin
Mycroft Holmes5-May-09 21:20
professionalMycroft Holmes5-May-09 21:20 
GeneralRe: microsoft report viewer in visual studio does not function with a stored procedure Pin
sourav_bhargava5-May-09 21:27
sourav_bhargava5-May-09 21:27 
thanks Mycroft Holmes for the reply.
i think you are right, but i actually am not being able to figure this one out.
here is the code i have used in form load
Imports Microsoft.Reporting.WinForms.ReportDataSource
Public Class DailySalesReport

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


        Dim dt As New DataTable
        'TODO: This line of code loads data into the 'innoerpDataSet.salesmen' table. You can move, or remove it, as needed.
        Me.SalesmenTableAdapter.Fill(Me.innoerpDataSet.salesmen)
        Me.ReportViewer1.LocalReport.DataSources.Clear()
        Me.StoredProcedure2TableAdapter1.Fill(InnoerpDataSet1.StoredProcedure2, ComboBox1.Text)


        Me.ReportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dt", dt))


        Me.ReportViewer1.RefreshReport()
    End Sub
End Class

this is giving the error i have earlier mentioned.
GeneralRe: microsoft report viewer in visual studio does not function with a stored procedure Pin
Mycroft Holmes5-May-09 21:41
professionalMycroft Holmes5-May-09 21:41 
GeneralRe: microsoft report viewer in visual studio does not function with a stored procedure Pin
sourav_bhargava5-May-09 23:06
sourav_bhargava5-May-09 23:06 
GeneralRe: microsoft report viewer in visual studio does not function with a stored procedure Pin
sourav_bhargava5-May-09 23:21
sourav_bhargava5-May-09 23:21 
Questionproblem of checklistbox Pin
nazimghori5-May-09 17:38
nazimghori5-May-09 17:38 
QuestionDisposing of images in GDI+ Pin
Alan Burkhart5-May-09 16:17
Alan Burkhart5-May-09 16:17 
AnswerRe: Disposing of images in GDI+ Pin
Christian Graus5-May-09 17:02
protectorChristian Graus5-May-09 17:02 
GeneralRe: Disposing of images in GDI+ Pin
Alan Burkhart5-May-09 18:11
Alan Burkhart5-May-09 18:11 
QuestionPrinting Problem (Jump to next Page) Pin
Zaegra5-May-09 5:37
Zaegra5-May-09 5:37 
AnswerRe: Printing Problem (Jump to next Page) Pin
Dave Kreskowiak5-May-09 5:48
mveDave Kreskowiak5-May-09 5:48 
QuestionSend email VB 2008 and outlook 2003 Pin
Member 22887045-May-09 1:52
Member 22887045-May-09 1:52 
AnswerRe: Send email VB 2008 and outlook 2003 Pin
Mycroft Holmes5-May-09 17:26
professionalMycroft Holmes5-May-09 17:26 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Member 22887046-May-09 1:41
Member 22887046-May-09 1:41 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Dave Kreskowiak6-May-09 2:16
mveDave Kreskowiak6-May-09 2:16 
AnswerRe: Send email VB 2008 and outlook 2003 Pin
Lexter33335-May-09 20:49
Lexter33335-May-09 20:49 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Member 22887046-May-09 1:47
Member 22887046-May-09 1:47 
AnswerRe: Send email VB 2008 and outlook 2003 Pin
Samir Ibrahim7-May-09 7:24
Samir Ibrahim7-May-09 7:24 
GeneralRe: Send email VB 2008 and outlook 2003 Pin
Member 22887048-May-09 1:29
Member 22887048-May-09 1:29 

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.