Click here to Skip to main content
15,887,683 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET Problem with IO.Directory.GetFiles Pin
Larvex2-Mar-09 4:57
Larvex2-Mar-09 4:57 
GeneralRe: ASP.NET Problem with IO.Directory.GetFiles Pin
pnslcs2-Mar-09 9:24
pnslcs2-Mar-09 9:24 
GeneralRe: ASP.NET Problem with IO.Directory.GetFiles Pin
Larvex3-Mar-09 0:18
Larvex3-Mar-09 0:18 
QuestionUpdate Connection String Pin
Vimalsoft(Pty) Ltd2-Mar-09 1:53
professionalVimalsoft(Pty) Ltd2-Mar-09 1:53 
AnswerRe: Update Connection String Pin
J4amieC2-Mar-09 2:12
J4amieC2-Mar-09 2:12 
GeneralRe: Update Connection String Pin
Greg Chelstowski2-Mar-09 2:13
Greg Chelstowski2-Mar-09 2:13 
GeneralRe: Update Connection String Pin
Vimalsoft(Pty) Ltd2-Mar-09 2:23
professionalVimalsoft(Pty) Ltd2-Mar-09 2:23 
AnswerRe: Update Connection String Pin
Greg Chelstowski2-Mar-09 2:12
Greg Chelstowski2-Mar-09 2:12 
Well I wouldn't go about changing web.config, for one thing...
Because if another user starts up the same website, they're gonna change the web.config again, aren't they?
Or, if they're picking a database on page_load, have as many connection strings in the web.config as you need, and use that one ( a simple switch-case statement will define which one you want).
But changing the connection string in the web.config through your application seems very insecure to me.

You have to remember web.config is the whole application's configuration, not its one instance.

var question = (_2b || !(_2b));

GeneralRe: Update Connection String Pin
Vimalsoft(Pty) Ltd2-Mar-09 2:31
professionalVimalsoft(Pty) Ltd2-Mar-09 2:31 
GeneralRe: Update Connection String Pin
Greg Chelstowski2-Mar-09 2:41
Greg Chelstowski2-Mar-09 2:41 
GeneralRe: Update Connection String Pin
Vimalsoft(Pty) Ltd2-Mar-09 2:47
professionalVimalsoft(Pty) Ltd2-Mar-09 2:47 
GeneralRe: Update Connection String Pin
Greg Chelstowski2-Mar-09 2:53
Greg Chelstowski2-Mar-09 2:53 
GeneralRe: Update Connection String Pin
Vimalsoft(Pty) Ltd2-Mar-09 19:45
professionalVimalsoft(Pty) Ltd2-Mar-09 19:45 
GeneralRe: Update Connection String Pin
Greg Chelstowski2-Mar-09 20:50
Greg Chelstowski2-Mar-09 20:50 
GeneralRe: Update Connection String Pin
Vimalsoft(Pty) Ltd4-Mar-09 1:27
professionalVimalsoft(Pty) Ltd4-Mar-09 1:27 
QuestionCan i use my own User Registartion Information Class with ASP .NET Login controls Pin
The One2-Mar-09 1:49
The One2-Mar-09 1:49 
AnswerRe: Can i use my own User Registartion Information Class with ASP .NET Login controls Pin
Abhishek Sur2-Mar-09 3:55
professionalAbhishek Sur2-Mar-09 3:55 
QuestionError occuring while developin with ASP.NET Pin
VeeKeyBee2-Mar-09 1:46
VeeKeyBee2-Mar-09 1:46 
AnswerRe: Error occuring while developin with ASP.NET Pin
Vimalsoft(Pty) Ltd2-Mar-09 1:54
professionalVimalsoft(Pty) Ltd2-Mar-09 1:54 
QuestionImport data from Excel sheet to sql Database-asp.net 2.0 Pin
Member 46590012-Mar-09 1:26
Member 46590012-Mar-09 1:26 
AnswerRe: Import data from Excel sheet to sql Database-asp.net 2.0 Pin
Greg Chelstowski2-Mar-09 1:34
Greg Chelstowski2-Mar-09 1:34 
GeneralRe: Import data from Excel sheet to sql Database-asp.net 2.0 Pin
Member 46590012-Mar-09 18:09
Member 46590012-Mar-09 18:09 
QuestionMethod? Pin
Karthick_gc2-Mar-09 1:05
Karthick_gc2-Mar-09 1:05 
AnswerRe: Method? Pin
Gaurav K Singh2-Mar-09 1:13
Gaurav K Singh2-Mar-09 1:13 
GeneralRe: Method? Pin
Karthick_gc2-Mar-09 1:23
Karthick_gc2-Mar-09 1:23 

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.