Results 1 to 2 of 2

Thread: ConnetionString in Crystal Reports

  1. #1
    Nasir is offline VB.NET Forum Newbie
    .NET Framework
    Join Date
    Jun 2004
    Posts
    5
    Reputation
    0

    ConnetionString in Crystal Reports

    Bonjoure Members
    i Have a problems in crystal reports here is the problem stated under
    "my reports r located on other system ,application is running on some other system .i want to connect to server db,user id ,pasword throug file ,what r the properties like ( reportdocment ,reprortsourec ,connectionstring from file ) of crstal reports that should i set to connect to the server dynamically so that i can chage the data base name and the user and the pasword .If any body have demo code kindly mail me at "nasir_mpa@yahoo.com"

  2. #2
    mzim's Avatar
    mzim is offline VB.NET Forum Genius
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Jun 2004
    Location
    Other side of the rock
    Posts
    187
    Reputation
    115
    Quote Originally Posted by Nasir
    Bonjoure Members
    i Have a problems in crystal reports here is the problem stated under
    "my reports r located on other system ,application is running on some other system .i want to connect to server db,user id ,pasword throug file ,what r the properties like ( reportdocment ,reprortsourec ,connectionstring from file ) of crstal reports that should i set to connect to the server dynamically so that i can chage the data base name and the user and the pasword .If any body have demo code kindly mail me at "nasir_mpa@yahoo.com"
    we dont do email here...we post here so that others can benefit.

    and in your question...i dont know about crystal reports in connstring..
    but in the vb.net to mssql my connection is just like this
    Code:
     imports System.Data.SqlClient
     Dim cn As New SqlConnection("integrated security=true; initial catalog=northwind; data source=...")
     Dim cm As New SqlCommand()
    the database is northwind.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking