Click here to Skip to main content
11,429,382 members (71,461 online)
   

C#

 
GeneralRe: float from bytes Pin
BobJanova1-Oct-12 7:24
memberBobJanova1-Oct-12 7:24 
QuestionDraggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 1:52
memberShashank Srivastava1)1-Oct-12 1:52 
AnswerRe: Draggable dynamic controls Pin
Kenneth Haugland1-Oct-12 1:59
memberKenneth Haugland1-Oct-12 1:59 
GeneralRe: Draggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 2:08
memberShashank Srivastava1)1-Oct-12 2:08 
GeneralRe: Draggable dynamic controls Pin
Shashank Srivastava1)1-Oct-12 3:07
memberShashank Srivastava1)1-Oct-12 3:07 
GeneralRe: Draggable dynamic controls Pin
Pete O'Hanlon1-Oct-12 4:56
protectorPete O'Hanlon1-Oct-12 4:56 
QuestionRead structured text file to listview in C #? Pin
Member 24584671-Oct-12 0:10
memberMember 24584671-Oct-12 0:10 
AnswerRe: Read structured text file to listview in C #? Pin
Smart Arab1-Oct-12 0:19
memberSmart Arab1-Oct-12 0:19 
AnswerRe: Read structured text file to listview in C #? Pin
Eddy Vluggen1-Oct-12 2:01
memberEddy Vluggen1-Oct-12 2:01 
QuestionC# linq issue Pin
classy_dog30-Sep-12 21:00
memberclassy_dog30-Sep-12 21:00 
AnswerRe: C# linq issue Pin
Pete O'Hanlon30-Sep-12 21:15
protectorPete O'Hanlon30-Sep-12 21:15 
AnswerRe: C# linq issue Pin
DaveyM6930-Sep-12 23:54
mentorDaveyM6930-Sep-12 23:54 
AnswerRe: C# linq issue Pin
John Brett2-Oct-12 7:14
memberJohn Brett2-Oct-12 7:14 
QuestionHow to store string queries in c# function Pin
nitin_ion30-Sep-12 18:52
membernitin_ion30-Sep-12 18:52 
I am using string queries
SELECT CASE WHEN COALESCE(title2, title)='RUNTIME PARAMETER'
in function.
It is ok but I want them not to be written in the function because anyone developer can mess it up. There will be lot of queries which will get run time parameters also from functions.

I want it somewhere so that it is safe. But it should be available during run time, means if i want to replace a query the i should be able to so that without the need of building and deploying the files.

One way i was thinking is to use either resource files or config files but i cannot make mind. I don't want the performance to take a hit yet to maintain flexibility and maintainability.

Using resource files means to load read text which will incur some performance loss but is better than config files as they are not safe and easily readable.

Any suggestion?
AnswerRe: How to store string queries in c# function Pin
Pete O'Hanlon30-Sep-12 20:33
protectorPete O'Hanlon30-Sep-12 20:33 
QuestionC# 2008 update sql server table Pin
dcof30-Sep-12 15:19
memberdcof30-Sep-12 15:19 
QuestionQuartzTypeLib and subtitles Pin
audaijihad30-Sep-12 7:22
memberaudaijihad30-Sep-12 7:22 
AnswerRe: QuartzTypeLib and subtitles Pin
Ravi Bhavnani30-Sep-12 7:47
memberRavi Bhavnani30-Sep-12 7:47 
GeneralRe: QuartzTypeLib and subtitles Pin
audaijihad30-Sep-12 12:33
memberaudaijihad30-Sep-12 12:33 
QuestionUpdating a Label in 2 forms simultaneously Pin
CSharpNewbie 229-Sep-12 22:37
memberCSharpNewbie 229-Sep-12 22:37 
AnswerRe: Updating a Label in 2 forms simultaneously Pin
Smart Arab29-Sep-12 23:40
memberSmart Arab29-Sep-12 23:40 
AnswerRe: Updating a Label in 2 forms simultaneously Pin
Dave Kreskowiak30-Sep-12 4:01
mvpDave Kreskowiak30-Sep-12 4:01 
GeneralRe: Updating a Label in 2 forms simultaneously Pin
CSharpNewbie 230-Sep-12 13:20
memberCSharpNewbie 230-Sep-12 13:20 
AnswerRe: Updating a Label in 2 forms simultaneously Pin
Emdad_54821-Oct-12 2:44
memberEmdad_54821-Oct-12 2:44 
QuestionC# check for null in linq [modified] Pin
dcof29-Sep-12 10:05
memberdcof29-Sep-12 10:05 
AnswerRe: C# check for null in linq Pin
Richard MacCutchan29-Sep-12 22:45
mvpRichard MacCutchan29-Sep-12 22:45 
QuestionEncrypt text file in C# Pin
gibsray29-Sep-12 8:09
membergibsray29-Sep-12 8:09 
AnswerRe: Encrypt text file in C# Pin
Smart Arab29-Sep-12 8:20
memberSmart Arab29-Sep-12 8:20 
AnswerRe: Encrypt text file in C# Pin
Sandip.Nascar29-Sep-12 9:53
memberSandip.Nascar29-Sep-12 9:53 
QuestionPattern for creating class libraries Pin
nitin_ion28-Sep-12 21:32
membernitin_ion28-Sep-12 21:32 
AnswerRe: Pattern for creating class libraries Pin
n.podbielski28-Sep-12 22:51
membern.podbielski28-Sep-12 22:51 
QuestionVisual Studio 10 Naming Issue? Pin
PDTUM28-Sep-12 10:57
memberPDTUM28-Sep-12 10:57 
AnswerRe: Visual Studio 10 Naming Issue? Pin
Emmanuel Medina Lopez28-Sep-12 12:07
memberEmmanuel Medina Lopez28-Sep-12 12:07 
GeneralRe: Visual Studio 10 Naming Issue? Pin
PDTUM28-Sep-12 14:31
memberPDTUM28-Sep-12 14:31 
AnswerRe: Visual Studio 10 Naming Issue? Pin
Smart Arab28-Sep-12 23:20
memberSmart Arab28-Sep-12 23:20 
GeneralRe: Visual Studio 10 Naming Issue? Pin
PDTUM3-Oct-12 6:25
memberPDTUM3-Oct-12 6:25 
GeneralRe: Visual Studio 10 Naming Issue? Pin
Smart Arab3-Oct-12 8:01
memberSmart Arab3-Oct-12 8:01 
QuestionC# database error Pin
classy_dog28-Sep-12 7:50
memberclassy_dog28-Sep-12 7:50 
AnswerRe: C# database error Pin
Matt U.28-Sep-12 7:59
memberMatt U.28-Sep-12 7:59 
AnswerRe: C# database error Pin
Emmanuel Medina Lopez28-Sep-12 10:40
memberEmmanuel Medina Lopez28-Sep-12 10:40 
QuestionImage compression Pin
hardiksince198728-Sep-12 7:13
memberhardiksince198728-Sep-12 7:13 
AnswerRe: Image compression Pin
Ravi Bhavnani28-Sep-12 7:15
memberRavi Bhavnani28-Sep-12 7:15 
AnswerRe: Image compression Pin
Abhinav S28-Sep-12 18:00
mvpAbhinav S28-Sep-12 18:00 
Questiongeneric queue synchronisation Pin
Ramu katturi28-Sep-12 4:18
memberRamu katturi28-Sep-12 4:18 
AnswerRe: generic queue synchronisation Pin
Dave Kreskowiak28-Sep-12 4:58
mvpDave Kreskowiak28-Sep-12 4:58 
Questionupdate in LINQ to SQL is not working for C#.Net? Pin
jini428-Sep-12 0:26
memberjini428-Sep-12 0:26 
AnswerRe: update in LINQ to SQL is not working for C#.Net? Pin
J4amieC28-Sep-12 1:09
memberJ4amieC28-Sep-12 1:09 
GeneralRe: update in LINQ to SQL is not working for C#.Net? [modified] Pin
jini428-Sep-12 1:18
memberjini428-Sep-12 1:18 
GeneralRe: update in LINQ to SQL is not working for C#.Net? Pin
Dave Kreskowiak28-Sep-12 2:22
mvpDave Kreskowiak28-Sep-12 2:22 
GeneralRe: update in LINQ to SQL is not working for C#.Net? Pin
jini430-Sep-12 20:44
memberjini430-Sep-12 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.150428.2 | Last Updated 3 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid