Click here to Skip to main content
15,903,385 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Display Different Data Types Pin
Christian Graus23-Jul-07 20:54
protectorChristian Graus23-Jul-07 20:54 
QuestionButton click Pin
kjosh23-Jul-07 11:44
kjosh23-Jul-07 11:44 
AnswerRe: Button click Pin
Psycho-*Coder*-Extreme23-Jul-07 14:43
Psycho-*Coder*-Extreme23-Jul-07 14:43 
GeneralRe: Button click Pin
Paul Conrad23-Jul-07 14:51
professionalPaul Conrad23-Jul-07 14:51 
QuestionDouble quote variables Pin
VK-Cadec23-Jul-07 9:43
VK-Cadec23-Jul-07 9:43 
AnswerRe: Double quote variables Pin
Christian Graus23-Jul-07 10:43
protectorChristian Graus23-Jul-07 10:43 
AnswerRe: Double quote variables Pin
Dave Kreskowiak23-Jul-07 10:58
mveDave Kreskowiak23-Jul-07 10:58 
GeneralRe: Double quote variables [modified] Pin
doWhileSomething23-Jul-07 15:08
doWhileSomething23-Jul-07 15:08 
Another option worth a look at, would be to use string.format. It might not be especially usefull for two charectors, but works well with medium to larger strings.

VB

Dim s As String = String.Format("{0}{1}{0}, {0}{2}{0}", """", "R", "D")


C#
string s = string.Format("{0}{1}{0}, {0}{2}{0}", "\"", "R", "D");

This first argument is the format of the string (between first set of quotes), then just supply the parameters that you made place holders for (in the example 3).


*Edit (Added C# example - sorry I work with VB more than C#)



-- modified at 21:44 Monday 23rd July, 2007


GeneralRe: Double quote variables Pin
Paul Conrad23-Jul-07 15:16
professionalPaul Conrad23-Jul-07 15:16 
GeneralRe: Double quote variables Pin
VK-Cadec24-Jul-07 3:16
VK-Cadec24-Jul-07 3:16 
GeneralRe: Double quote variables Pin
Paul Conrad24-Jul-07 5:07
professionalPaul Conrad24-Jul-07 5:07 
QuestionNeed help with Single Sign On (SSO) Pin
Ridge Howison23-Jul-07 9:38
Ridge Howison23-Jul-07 9:38 
AnswerRe: Need help with Single Sign On (SSO) Pin
Christian Graus23-Jul-07 10:44
protectorChristian Graus23-Jul-07 10:44 
QuestionButton Click Event Pin
Civic0623-Jul-07 9:13
Civic0623-Jul-07 9:13 
AnswerRe: Button Click Event Pin
Amit Kumar G23-Jul-07 9:15
Amit Kumar G23-Jul-07 9:15 
GeneralRe: Button Click Event Pin
Civic0623-Jul-07 9:21
Civic0623-Jul-07 9:21 
GeneralRe: Button Click Event Pin
Amit Kumar G23-Jul-07 9:31
Amit Kumar G23-Jul-07 9:31 
GeneralRe: Button Click Event Pin
Civic0623-Jul-07 10:17
Civic0623-Jul-07 10:17 
GeneralRe: Button Click Event Pin
Amit Kumar G23-Jul-07 10:19
Amit Kumar G23-Jul-07 10:19 
QuestionF5 Refersh/Button Click [modified] Pin
Amit Kumar G23-Jul-07 7:50
Amit Kumar G23-Jul-07 7:50 
AnswerRe: F5 Refersh/Button Click Pin
Amit Kumar G23-Jul-07 10:20
Amit Kumar G23-Jul-07 10:20 
QuestionIIS 7.0 Pin
kibromg23-Jul-07 7:04
kibromg23-Jul-07 7:04 
AnswerRe: IIS 7.0 Pin
Not Active23-Jul-07 8:21
mentorNot Active23-Jul-07 8:21 
GeneralRe: IIS 7.0 Pin
Paul Conrad23-Jul-07 8:54
professionalPaul Conrad23-Jul-07 8:54 
QuestionWindows Authentication Pin
kibromg23-Jul-07 6:32
kibromg23-Jul-07 6:32 

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.