Click here to Skip to main content
16,016,306 members
Home / Discussions / Database
   

Database

 
QuestionServer: Msg 128, Level 15, State 1, Line 3 Pin
IamAmit9-Aug-07 2:00
IamAmit9-Aug-07 2:00 
AnswerRe: Server: Msg 128, Level 15, State 1, Line 3 Pin
ChandraRam9-Aug-07 2:02
ChandraRam9-Aug-07 2:02 
AnswerRe: Server: Msg 128, Level 15, State 1, Line 3 Pin
Mike Dimmick9-Aug-07 10:35
Mike Dimmick9-Aug-07 10:35 
QuestionHow to run a .sql file in SQL Server 2005 Express Edition. Pin
Paramhans Dubey9-Aug-07 0:55
professionalParamhans Dubey9-Aug-07 0:55 
AnswerRe: How to run a .sql file in SQL Server 2005 Express Edition. Pin
originSH9-Aug-07 1:23
originSH9-Aug-07 1:23 
AnswerRe: How to run a .sql file in SQL Server 2005 Express Edition. Pin
Craster9-Aug-07 1:42
Craster9-Aug-07 1:42 
AnswerRe: How to run a .sql file in SQL Server 2005 Express Edition. Pin
Pete O'Hanlon9-Aug-07 1:45
mvePete O'Hanlon9-Aug-07 1:45 
Questionprint report without preview Pin
Rupesh Kumar Swami8-Aug-07 22:28
Rupesh Kumar Swami8-Aug-07 22:28 
hi,
I am using vb.net 2005 with the report viewer control and the built-in
reports (NOT CRYSTAL REPORTS). The report viewer fills a regular form,
which when opened grabs the data for the report (based on certain parameters)
The reports themselves are RDLC files.
following code properly display the preview of my report
Private Sub ShowReport(ByVal Id As Long)<br />
        Dim mdIns As New mdGlobal<br />
        Dim str As String<br />
        Dim AwiCashFlowDataSet As New DataSet<br />
        str = "SELECT  * FROM Analysis  where c_id=" & Id<br />
        CashFlowDataSet = mdIns.GetResultFromQuery(str) 'retun dataset with data<br />
        CashFlowDataSet.Tables(0).TableName = "ReturnOnCash"<br />
<br />
        Dim RDS As Microsoft.Reporting.WinForms.ReportDataSource = New Microsoft.Reporting.WinForms.ReportDataSource<br />
        ReturnOnCashBindingSource.DataSource = CashFlowDataSet<br />
        ReturnOnCashBindingSource.DataMember = "ReturnOnCash"<br />
        RDS.Name = "CashFlowDataSet_ReturnOnCash"<br />
        RDS.Value = ReturnOnCashBindingSource<br />
        Me.ReportViewer1.LocalReport.DataSources.Add(RDS)<br />
        If mdChecking.ReportNumber = 1 Then<br />
            ReportViewer1.LocalReport.ReportEmbeddedResource = "Analysis.rptReturnOnCash.rdlc"<br />
        Else<br />
            ReportViewer1.LocalReport.ReportEmbeddedResource = "Analysis.rptCashFlow.rdlc"<br />
        End If<br />
<br />
        Me.ReportViewer1.RefreshReport()<br />
        If IsPrint = False Then<br />
            Me.Show()<br />
        Else<br />
            IsPrint = False<br />
        End If<br />
<br />
    End Sub

now i want to print the report without preview but i can't. because i dont know
anybody have idea that how can i print the report without preview using reportviewer



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

AnswerRe: print report without preview Pin
Pete O'Hanlon9-Aug-07 1:41
mvePete O'Hanlon9-Aug-07 1:41 
GeneralRe: print report without preview Pin
Rupesh Kumar Swami9-Aug-07 3:16
Rupesh Kumar Swami9-Aug-07 3:16 
GeneralRe: print report without preview Pin
Pete O'Hanlon9-Aug-07 3:50
mvePete O'Hanlon9-Aug-07 3:50 
GeneralRe: print report without preview Pin
Dave Kreskowiak9-Aug-07 10:07
mveDave Kreskowiak9-Aug-07 10:07 
QuestionPassing Null to the Image Datatype in SQL Server Pin
salman_syed_018-Aug-07 11:57
salman_syed_018-Aug-07 11:57 
AnswerRe: Passing Null to the Image Datatype in SQL Server Pin
Talal Sultan8-Aug-07 20:45
Talal Sultan8-Aug-07 20:45 
QuestionQuery in Stored Procedures Pin
John.L.Ponratnam8-Aug-07 3:03
John.L.Ponratnam8-Aug-07 3:03 
AnswerRe: Query in Stored Procedures Pin
Pete O'Hanlon8-Aug-07 3:13
mvePete O'Hanlon8-Aug-07 3:13 
GeneralRe: Query in Stored Procedures Pin
juan.restrepo8-Aug-07 12:29
juan.restrepo8-Aug-07 12:29 
QuestionDataset's Relations Property Issue Pin
Brendan Vogt8-Aug-07 2:32
Brendan Vogt8-Aug-07 2:32 
AnswerRe: Dataset's Relations Property Issue Pin
Kschuler8-Aug-07 8:12
Kschuler8-Aug-07 8:12 
Question[ADO.NET/C#] Connection string Pin
Mwambe8-Aug-07 1:40
Mwambe8-Aug-07 1:40 
AnswerRe: [ADO.NET/C#] Connection string Pin
Blue_Boy8-Aug-07 1:44
Blue_Boy8-Aug-07 1:44 
AnswerRe: [ADO.NET/C#] Connection string Pin
Mwambe8-Aug-07 2:19
Mwambe8-Aug-07 2:19 
Questionmaximum connection to sqlserver Pin
AnhTin7-Aug-07 23:50
AnhTin7-Aug-07 23:50 
AnswerRe: maximum connection to sqlserver Pin
Blue_Boy8-Aug-07 1:03
Blue_Boy8-Aug-07 1:03 
AnswerSenthil's Reply for maximum connection to sqlserver Pin
Senthil S8-Aug-07 2:41
Senthil S8-Aug-07 2:41 

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.