Click here to Skip to main content
15,917,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Can we Convert simple string into regular expression Please Help me Pin
pmarfleet13-Mar-08 22:45
pmarfleet13-Mar-08 22:45 
GeneralCreate Mail Account Using Code Pin
vurugonda13-Mar-08 21:33
vurugonda13-Mar-08 21:33 
GeneralRe: Create Mail Account Using Code Pin
AhsanS13-Mar-08 21:34
AhsanS13-Mar-08 21:34 
GeneralRe: Create Mail Account Using Code Pin
Vasudevan Deepak Kumar17-Mar-08 1:32
Vasudevan Deepak Kumar17-Mar-08 1:32 
GeneralRe: Create Mail Account Using Code Pin
MEhran.NET25-Dec-09 9:28
MEhran.NET25-Dec-09 9:28 
Questionresponse utility Pin
Pankaj Garg13-Mar-08 21:24
Pankaj Garg13-Mar-08 21:24 
GeneralRe: response utility Pin
AhsanS13-Mar-08 21:27
AhsanS13-Mar-08 21:27 
Generaldatabase connection for subreports in crystal reports Pin
dongapitts13-Mar-08 20:32
dongapitts13-Mar-08 20:32 
Hi...

In crystal reports, while using a sub-report,

I want that at run-time the sub-report should read the database connection string which is provided in web.config file.
The main report dynamically changes the database connection according to web.config at runtime despite of whatever database is connected to it at design time, but if subreport is inserted with parameter being fetched from main report, it fails with subreport and looks for the design time database name.

This subreport that reads a parameter from main report which is supplied from control file. All the sub-report links are supplied perfectly from the main report. However, with this condition of parameter fetching, this fails at deployment since it remembers the design-time database connection.

When I tried using 'SQL Native Client' as the provider/driver in sub-report, instead of throwing an error it started fetching data from the database which was provided at design-time and not from web.config file. This leads to wrong output.

Is there any way of generating the database connection for a subreport at deployment that reads from web.config AND allows parameter reading from main report?

Quick reply is appreciated.

Thanx...
Generalfile downloading prblm Pin
Vanamaindia13-Mar-08 19:37
Vanamaindia13-Mar-08 19:37 
GeneralRe: file downloading prblm Pin
soni uma13-Mar-08 20:24
soni uma13-Mar-08 20:24 
GeneralRe: file downloading prblm Pin
Vanamaindia13-Mar-08 20:54
Vanamaindia13-Mar-08 20:54 
GeneralRe: file downloading prblm Pin
soni uma13-Mar-08 20:59
soni uma13-Mar-08 20:59 
GeneralRe: file downloading prblm Pin
Vanamaindia13-Mar-08 21:06
Vanamaindia13-Mar-08 21:06 
GeneralRe: file downloading prblm Pin
soni uma13-Mar-08 21:13
soni uma13-Mar-08 21:13 
GeneralRe: file downloading prblm Pin
Vanamaindia13-Mar-08 21:20
Vanamaindia13-Mar-08 21:20 
GeneralRe: file downloading prblm Pin
N a v a n e e t h13-Mar-08 21:02
N a v a n e e t h13-Mar-08 21:02 
Generalinstall vs2003 after vs2005 Pin
Member 387988113-Mar-08 19:17
Member 387988113-Mar-08 19:17 
GeneralRe: install vs2003 after vs2005 Pin
AhsanS13-Mar-08 21:23
AhsanS13-Mar-08 21:23 
GeneralRe: install vs2003 after vs2005 Pin
Member 387988113-Mar-08 22:37
Member 387988113-Mar-08 22:37 
GeneralRe: install vs2003 after vs2005 Pin
meeram39513-Mar-08 22:58
meeram39513-Mar-08 22:58 
GeneralRe: install vs2003 after vs2005 Pin
AhsanS14-Mar-08 0:33
AhsanS14-Mar-08 0:33 
Questionhow to open jpeg file? Pin
Dong Kim13-Mar-08 13:51
Dong Kim13-Mar-08 13:51 
GeneralRe: how to open jpeg file? Pin
Christian Graus13-Mar-08 14:03
protectorChristian Graus13-Mar-08 14:03 
QuestionRe: how to open jpeg file? Pin
Dong Kim14-Mar-08 4:11
Dong Kim14-Mar-08 4:11 
GeneralRe: how to open jpeg file? Pin
flash66513-Mar-08 20:07
flash66513-Mar-08 20:07 

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.