Click here to Skip to main content
15,880,405 members
Home / Discussions / Database
   

Database

 
GeneralRe: How do i compare Datetime Pin
www.Developerof.NET28-Jan-07 6:56
www.Developerof.NET28-Jan-07 6:56 
QuestionConnectivity issue - SQLServer not listening on port 1433/ms-sql-s Pin
viji]27-Jan-07 22:23
viji]27-Jan-07 22:23 
Questioncannot connect to server Pin
rp_suman27-Jan-07 20:51
rp_suman27-Jan-07 20:51 
AnswerRe: cannot connect to server [modified] Pin
Aaron VanWieren28-Jan-07 9:23
Aaron VanWieren28-Jan-07 9:23 
GeneralRe: cannot connect to server Pin
rp_suman2-Feb-07 4:16
rp_suman2-Feb-07 4:16 
QuestionCrystal Report vb.net 2005 !!! Pin
kindman_nb27-Jan-07 19:08
kindman_nb27-Jan-07 19:08 
AnswerRe: Crystal Report vb.net 2005 !!! Pin
Bassam Saoud27-Jan-07 21:59
Bassam Saoud27-Jan-07 21:59 
GeneralRe: Crystal Report vb.net 2005 !!! Pin
kindman_nb27-Jan-07 22:05
kindman_nb27-Jan-07 22:05 
database is sqlserver 2000
I use public sub

Public Sub GETSERVERNAMEANDDATABASENAME(ByVal rpt As Object)
Dim I As Integer
Dim TBL1 As New CrystalDecisions.Shared.TableLogOnInfo
TBL1.ConnectionInfo.ServerName = "Computer"
TBL1.ConnectionInfo.DatabaseName = "DataBaseName"
TBL1.ConnectionInfo.Password = "***"
TBL1.ConnectionInfo.UserID = "sa"
TBL1.ConnectionInfo.IntegratedSecurity = True
For I = 0 To rpt.Database.Tables.Count - 1
rpt.Database.Tables(I).ApplyLogOnInfo(TBL1)
Next I
End Sub

'I use the form which contain cystalreportviewer1
GETSERVERNAMEANDDATABASENAME(rpt)
Dim frm As New PrintFrm
frm.CrystalReportViewer1.ReportSource = rpt
frm.CrystalReportViewer1.Zoom(90%)
frm.CrystalReportViewer1.RefreshReport()
frm.Show()


thanks my friend



jooooo

GeneralRe: Crystal Report vb.net 2005 !!! Pin
kindman_nb28-Jan-07 5:10
kindman_nb28-Jan-07 5:10 
GeneralRe: Crystal Report vb.net 2005 !!! Pin
Bassam Saoud28-Jan-07 7:40
Bassam Saoud28-Jan-07 7:40 
GeneralRe: Crystal Report vb.net 2005 !!! Pin
kindman_nb28-Jan-07 22:06
kindman_nb28-Jan-07 22:06 
GeneralRe: Crystal Report vb.net 2005 !!! Pin
kindman_nb29-Jan-07 3:08
kindman_nb29-Jan-07 3:08 
AnswerRe: Crystal Report vb.net 2005 !!! Pin
Jati Indrayanto31-Jan-07 15:20
Jati Indrayanto31-Jan-07 15:20 
Questionadvanced subquery Pin
Bit_flipper27-Jan-07 8:42
Bit_flipper27-Jan-07 8:42 
AnswerRe: advanced subquery Pin
Colin Angus Mackay27-Jan-07 10:21
Colin Angus Mackay27-Jan-07 10:21 
QuestionASP and MS Access Pin
kkhelil27-Jan-07 2:18
kkhelil27-Jan-07 2:18 
AnswerRe: ASP and MS Access Pin
andyharman28-Jan-07 23:17
professionalandyharman28-Jan-07 23:17 
QuestionProblem WITH Data Accss Application Blocks DAAB Pin
adnanrafiq27-Jan-07 1:32
adnanrafiq27-Jan-07 1:32 
AnswerRe: Problem WITH Data Accss Application Blocks DAAB Pin
Colin Angus Mackay27-Jan-07 10:25
Colin Angus Mackay27-Jan-07 10:25 
AnswerRe: Problem WITH Data Accss Application Blocks DAAB Pin
Duncan Edwards Jones29-Jan-07 8:42
professionalDuncan Edwards Jones29-Jan-07 8:42 
Questionhow to insert data into two table when two tables depend on each other? Pin
Tridip Bhattacharjee26-Jan-07 20:54
professionalTridip Bhattacharjee26-Jan-07 20:54 
AnswerRe: how to insert data into two table when two tables depend on each other? Pin
Bassam Saoud26-Jan-07 23:20
Bassam Saoud26-Jan-07 23:20 
QuestionQuerying Distinct Users Pin
Skanless26-Jan-07 14:32
Skanless26-Jan-07 14:32 
AnswerRe: Querying Distinct Users Pin
M.H.1.2.326-Jan-07 20:03
M.H.1.2.326-Jan-07 20:03 
QuestionHow to get max on each row [modified] Pin
xoxoxoxoxoxox26-Jan-07 9:59
xoxoxoxoxoxox26-Jan-07 9:59 

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.