Click here to Skip to main content
15,920,217 members
Home / Discussions / C#
   

C#

 
GeneralRe: can i get a 256 colors bitmap from DC directly ? Pin
fu024-Apr-04 15:38
fu024-Apr-04 15:38 
Generalhelp convert a line of code Pin
User 96257819-Apr-04 19:41
User 96257819-Apr-04 19:41 
GeneralRe: help convert a line of code Pin
Mazdak19-Apr-04 19:54
Mazdak19-Apr-04 19:54 
GeneralRe: help convert a line of code Pin
Roman Rodov20-Apr-04 2:54
Roman Rodov20-Apr-04 2:54 
GeneralRe: help convert a line of code Pin
User 96257820-Apr-04 9:53
User 96257820-Apr-04 9:53 
GeneralRe: help convert a line of code Pin
Roman Rodov20-Apr-04 14:52
Roman Rodov20-Apr-04 14:52 
GeneralRe: help convert a line of code Pin
User 96257820-Apr-04 15:38
User 96257820-Apr-04 15:38 
GeneralWebconfig question Pin
dabuskol19-Apr-04 19:17
dabuskol19-Apr-04 19:17 
Hi Guys,

I just want to ask for suggestion regarding webcofig file. I declare my connection string in webconfig file so that all aspx can use the same connection under one project. (dynamic) rather than using the SqlConnection control from toolbox.
WEBCONFIG:
<add key="UserConnection" value="Data Source=localhost;server=os01;Initial Catalog=personnel ;User Id=person;password='per123'">

Question:
I'm using two server one for development and one for production. When I develop or maintain system I used of course the development which is named "os01".Is there anyway possible under webconfig file that when I transfer my project on our production machine which is named "os02" my webconfig file connection string will will detect that he is already using the production machine, from "os01"
it will become "os02" I don't have to change my webcofig file "CONNECTION STRING" everytime I change a server name.

I appreciate whatever ideas you will give, you will not only enlighten me but also others who will read this thread.
GeneralRe: Webconfig question Pin
Mazdak19-Apr-04 19:57
Mazdak19-Apr-04 19:57 
GeneralRe: Webconfig question Pin
dabuskol19-Apr-04 21:40
dabuskol19-Apr-04 21:40 
GeneralRe: Webconfig question Pin
Mazdak19-Apr-04 21:55
Mazdak19-Apr-04 21:55 
GeneralRe: Webconfig question Pin
Heath Stewart20-Apr-04 5:09
protectorHeath Stewart20-Apr-04 5:09 
Questionshowing dialog with topLevel ? Pin
azusakt19-Apr-04 17:45
azusakt19-Apr-04 17:45 
AnswerRe: showing dialog with topLevel ? Pin
LongRange.Shooter20-Apr-04 2:35
LongRange.Shooter20-Apr-04 2:35 
AnswerRe: showing dialog with topLevel ? Pin
Heath Stewart20-Apr-04 5:05
protectorHeath Stewart20-Apr-04 5:05 
GeneralRe: showing dialog with topLevel ? Pin
azusakt20-Apr-04 16:31
azusakt20-Apr-04 16:31 
GeneralRe: showing dialog with topLevel ? Pin
Heath Stewart21-Apr-04 3:04
protectorHeath Stewart21-Apr-04 3:04 
GeneralMDI Child Form Drag Without Toolbar Pin
Cyric7419-Apr-04 16:34
Cyric7419-Apr-04 16:34 
GeneralRe: MDI Child Form Drag Without Toolbar Pin
Heath Stewart20-Apr-04 5:02
protectorHeath Stewart20-Apr-04 5:02 
QuestionCombining serialization of collection and internal data? Pin
Anonymous19-Apr-04 16:25
Anonymous19-Apr-04 16:25 
AnswerRe: Combining serialization of collection and internal data? Pin
Heath Stewart20-Apr-04 4:56
protectorHeath Stewart20-Apr-04 4:56 
GeneralWindows Messages Pin
T i T i19-Apr-04 14:22
T i T i19-Apr-04 14:22 
GeneralRe: Windows Messages Pin
Roman Rodov19-Apr-04 14:57
Roman Rodov19-Apr-04 14:57 
GeneralC# #define macro equivalent. Pin
HAHAHA_NEXT19-Apr-04 11:47
HAHAHA_NEXT19-Apr-04 11:47 
GeneralRe: C# #define macro equivalent. Pin
Mikko Puonti19-Apr-04 13:01
Mikko Puonti19-Apr-04 13:01 

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.