Click here to Skip to main content
15,921,250 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Hiding a process in task manager,urgent Required Pin
Dave Kreskowiak17-Jul-05 11:19
mveDave Kreskowiak17-Jul-05 11:19 
GeneralRe: Hiding a process in task manager,urgent Required Pin
manav inder17-Jul-05 16:55
manav inder17-Jul-05 16:55 
GeneralRe: Hiding a process in task manager,urgent Required Pin
Dave Kreskowiak18-Jul-05 1:38
mveDave Kreskowiak18-Jul-05 1:38 
Generalexecuting program before desktop appears Pin
Anonymous17-Jul-05 10:12
Anonymous17-Jul-05 10:12 
GeneralRe: executing program before desktop appears Pin
Dave Kreskowiak17-Jul-05 11:23
mveDave Kreskowiak17-Jul-05 11:23 
GeneralI think I have a Scope Problem Pin
asalyon17-Jul-05 6:09
asalyon17-Jul-05 6:09 
GeneralProblem using Printing a Form in a report fashion (release 2.2) Pin
Mr Magic17-Jul-05 4:31
Mr Magic17-Jul-05 4:31 
GeneralI could not load the data in CrystalReport Pin
Jeeva Jose17-Jul-05 4:25
Jeeva Jose17-Jul-05 4:25 
This is the source codeCry | :(( Cry | :(( Rose | [Rose]

Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Imports System.Data.SqlClient
Imports System.Data



Private str_connection As String = "workstation id=""MAX-IT10Q0"";packet size=4096;integrated security=SSPI;initia" & _
"l catalog=Addressbook;persist security info=False"

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim cnsql As SqlConnection
Dim load_dataset As New DataSet
Dim rpt As ReportDocument
Dim str_query As String
rpt = New ReportDocument
rpt.Load("..\CrystalReport2.rpt")


cnsql = New SqlConnection(str_connection)
cnsql.Open()
str_query = "select name,Address from tb_abook"
Dim load_adapter As New SqlDataAdapter(str_query, cnsql)
load_adapter.Fill(load_dataset, "tb_abook")

rpt.SetDataSource(load_dataset)
CrystalReportViewer1.ReportSource = rpt


End Sub

Report :Crystelreport 9.0
Os: XP
visual studio.net 2003



Username: jeeva
Password: vk26353





Continue...
GeneralPrint a web form Pin
Mr Magic17-Jul-05 4:09
Mr Magic17-Jul-05 4:09 
GeneralI NEED A SOLUTION ABOUT CREATE GET BUTTON WHICH COULD HAVE MORE THEN ONE WHERE CRITERIA Pin
MAGICIANMERLIN17-Jul-05 3:38
MAGICIANMERLIN17-Jul-05 3:38 
GeneralRe: I NEED A SOLUTION ABOUT CREATE GET BUTTON WHICH COULD HAVE MORE THEN ONE WHERE CRITERIA Pin
Christian Graus17-Jul-05 18:05
protectorChristian Graus17-Jul-05 18:05 
GeneralRe: I NEED A SOLUTION ABOUT CREATE GET BUTTON WHICH COULD HAVE MORE THEN ONE WHERE CRITERIA Pin
MAGICIANMERLIN17-Jul-05 21:47
MAGICIANMERLIN17-Jul-05 21:47 
GeneralRe: I NEED A SOLUTION ABOUT CREATE GET BUTTON WHICH COULD HAVE MORE THEN ONE WHERE CRITERIA Pin
Christian Graus17-Jul-05 23:58
protectorChristian Graus17-Jul-05 23:58 
GeneralAutoread incoming outlook msg Pin
anaant116-Jul-05 22:37
anaant116-Jul-05 22:37 
GeneralRe: Autoread incoming outlook msg Pin
KaptinKrunch17-Jul-05 13:04
KaptinKrunch17-Jul-05 13:04 
GeneralRe: Autoread incoming outlook msg Pin
anaant117-Jul-05 22:39
anaant117-Jul-05 22:39 
GeneralVB & C# Pin
waleedEad16-Jul-05 20:58
waleedEad16-Jul-05 20:58 
GeneralRe: VB & C# Pin
Daniel132417-Jul-05 3:12
Daniel132417-Jul-05 3:12 
GeneralRe: VB & C# Pin
Dave Kreskowiak17-Jul-05 9:01
mveDave Kreskowiak17-Jul-05 9:01 
GeneralRe: VB & C# Pin
Rob Graham17-Jul-05 10:19
Rob Graham17-Jul-05 10:19 
GeneralRe: VB & C# Pin
Dave Kreskowiak17-Jul-05 11:18
mveDave Kreskowiak17-Jul-05 11:18 
GeneralRe: VB & C# Pin
Rob Graham17-Jul-05 14:14
Rob Graham17-Jul-05 14:14 
GeneralRe: VB & C# Pin
Christian Graus17-Jul-05 18:06
protectorChristian Graus17-Jul-05 18:06 
GeneralRe: VB & C# Pin
Dave Kreskowiak18-Jul-05 2:32
mveDave Kreskowiak18-Jul-05 2:32 
GeneralRe: VB & C# Pin
Christian Graus18-Jul-05 12:54
protectorChristian Graus18-Jul-05 12:54 

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.