Click here to Skip to main content
15,917,971 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb.Net and SMO error Pin
Rafone2-Sep-08 10:37
Rafone2-Sep-08 10:37 
GeneralRe: vb.Net and SMO error Pin
Dave Kreskowiak2-Sep-08 11:52
mveDave Kreskowiak2-Sep-08 11:52 
AnswerRe: vb.Net and SMO error Pin
Paul Conrad2-Sep-08 14:12
professionalPaul Conrad2-Sep-08 14:12 
QuestionSqlDependency and vb.net and sqlserver2005 Pin
ماجد15002-Sep-08 4:43
ماجد15002-Sep-08 4:43 
AnswerRe: SqlDependency and vb.net and sqlserver2005 Pin
Jon_Boy2-Sep-08 5:37
Jon_Boy2-Sep-08 5:37 
QuestionReporting Services - parameters through dropdownlists for dummies Pin
IlseBrase2-Sep-08 4:17
IlseBrase2-Sep-08 4:17 
AnswerSee this Post Pin
David Mujica2-Sep-08 5:19
David Mujica2-Sep-08 5:19 
GeneralRe: See this Post Pin
IlseBrase2-Sep-08 22:41
IlseBrase2-Sep-08 22:41 
Thanks for the reply, but i'm using Reporting Services. My dataset i created through drag and drop. Does that work anyway?
Now, the only code that i need to write is the code for the parameters, am i right?

On dropdownlist should show with 5 reports you can choose from.if you choose a report,another dropdown should appear to choose the parameter. And then, when you click the button, the report should generate.

Would you recommend an easier way to do it, or can you please help me with this...

I understand it like this:

Protected Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        'report server Url    
    Me.ReportViewer1.ServerReport.ReportServerUrl = New System.Uri("http://localhost/reportserver")
        'Make any report the parent report
        While Me.ReportViewer1.ServerReport.IsDrillthroughReport
            Me.ReportViewer1.PerformBack()
        End While

        'DOESNT THIS SAY THAT WHICH EVER REPORT I CHOSE MUST BE SHOWN?
   <big>1</big>     Dim strReport As String = DropDownList1.SelectedValue
        Me.ReportViewer1.ServerReport.ReportPath = strReport

   <big>3</big> then, if you click the button the specific report must generate


then in the dropdownlist1 event:

<big>2</big> I want if-statements like:
   if i choose dropdown index 0 then
   show parameter dropdownlist2 to choose from
     if i choose dropdown index 1 then
     show parameter dropdownlist3 to choose from
        end if
         end if



please can someone help me wit this....im a beginner in this stuff!!!!Unsure | :~
Questionhiding print dialog box Pin
Jithin Shyam2-Sep-08 1:42
Jithin Shyam2-Sep-08 1:42 
AnswerRe: hiding print dialog box Pin
Manas Bhardwaj2-Sep-08 2:00
professionalManas Bhardwaj2-Sep-08 2:00 
QuestionMy database gets cleared upon my application startup Pin
Kofi Ambrose2-Sep-08 0:13
Kofi Ambrose2-Sep-08 0:13 
AnswerRe: My database gets cleared upon my application startup Pin
Eslam Afifi2-Sep-08 1:50
Eslam Afifi2-Sep-08 1:50 
AnswerRe: My database gets cleared upon my application startup Pin
Tom Deketelaere2-Sep-08 2:14
professionalTom Deketelaere2-Sep-08 2:14 
AnswerRe: My database gets cleared upon my application startup Pin
Dave Kreskowiak2-Sep-08 10:22
mveDave Kreskowiak2-Sep-08 10:22 
QuestionRemoting using TCP/IP Pin
anu811-Sep-08 21:39
anu811-Sep-08 21:39 
AnswerRe: Remoting using TCP/IP Pin
Stephen Lintott1-Sep-08 21:50
Stephen Lintott1-Sep-08 21:50 
AnswerRe: Remoting using TCP/IP Pin
Dave Kreskowiak2-Sep-08 10:18
mveDave Kreskowiak2-Sep-08 10:18 
QuestionPlz help Pin
Allrounder1-Sep-08 21:18
Allrounder1-Sep-08 21:18 
AnswerRe: Plz help Pin
Steven J Jowett1-Sep-08 22:47
Steven J Jowett1-Sep-08 22:47 
AnswerRe: Plz help Pin
Paul Conrad2-Sep-08 18:56
professionalPaul Conrad2-Sep-08 18:56 
QuestionSharepoint... Pin
Stephen Lintott1-Sep-08 21:04
Stephen Lintott1-Sep-08 21:04 
AnswerRe: Sharepoint... Pin
Mycroft Holmes2-Sep-08 16:35
professionalMycroft Holmes2-Sep-08 16:35 
QuestionGSM Communication Pin
vahidkiani1-Sep-08 20:14
vahidkiani1-Sep-08 20:14 
QuestionHow to start application from sub main? Pin
Pankaj - Joshi1-Sep-08 18:55
Pankaj - Joshi1-Sep-08 18:55 
AnswerRe: How to start application from sub main? Pin
Thomas Stockwell2-Sep-08 4:49
professionalThomas Stockwell2-Sep-08 4:49 

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.