Click here to Skip to main content
15,918,889 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello dear all the best programmer,

this is my first posting or maybe a question but hopely although i am the beginner and newbie in vb .net you would like to help for solving my problem.

i get some problem when i was making a report application with crystal report in vb.net using sql server database. i make simple application that consist one button "show report" and one crystal report viwer. i put code to the button "show report" :
VB
Imports CrystalDecisions.CrystalReports.Engine

Public Class Form1

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim cryRpt As New ReportDocument
        cryRpt.Load("Data Source=(localdb)\Projects;Initial Catalog=crystaldb;Integrated Security=True")
        CrystalReportViewer1.ReportSource = cryRpt
        CrystalReportViewer1.Refresh()

    End Sub

End Class




and when i run the program, actually there is no problem but why i must first ly to do an action login. the action login consist of some field , they are server name, databse , id and pasword. the server name was automatically filled and the database field was empty and but i can't fill in it. and for id and password that were empty to and i must and able to fill that.

for the id and pasword field, i don't know what thing i must to fill in that field. hopely anybody can understand my question and problem clearly and as soon as possible would like to help me.


thanks and best regards,


toni firnandes.
Posted

1 solution

that was suddenly database login form application appear when i start that program.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900