Click here to Skip to main content
15,900,429 members
Home / Discussions / C#
   

C#

 
GeneralRe: Method overloading! Pin
Ed.Poore28-Jan-08 12:32
Ed.Poore28-Jan-08 12:32 
GeneralRe: Method overloading! Pin
Spykraft28-Jan-08 13:47
Spykraft28-Jan-08 13:47 
GeneralRe: Method overloading! Pin
PIEBALDconsult28-Jan-08 15:07
mvePIEBALDconsult28-Jan-08 15:07 
GeneralRe: Method overloading! Pin
Ed.Poore28-Jan-08 21:49
Ed.Poore28-Jan-08 21:49 
GeneralRe: Method overloading! Pin
PIEBALDconsult28-Jan-08 12:57
mvePIEBALDconsult28-Jan-08 12:57 
Generalcrystal report formula Pin
shabonaa28-Jan-08 10:48
shabonaa28-Jan-08 10:48 
QuestionObjectStream Pin
BaraMustafa28-Jan-08 8:31
BaraMustafa28-Jan-08 8:31 
GeneralRe: ObjectStream Pin
led mike28-Jan-08 8:53
led mike28-Jan-08 8:53 
GeneralRe: ObjectStream Pin
Skippums28-Jan-08 8:56
Skippums28-Jan-08 8:56 
GeneralManaged COM, static constructors, and paths Pin
Dan Neely28-Jan-08 8:08
Dan Neely28-Jan-08 8:08 
GeneralRe: Managed COM, static constructors, and paths Pin
Skippums28-Jan-08 9:14
Skippums28-Jan-08 9:14 
GeneralRe: Managed COM, static constructors, and paths Pin
Dan Neely28-Jan-08 10:35
Dan Neely28-Jan-08 10:35 
GeneralMessage Closed Pin
28-Jan-08 8:00
Member 462175228-Jan-08 8:00 
GeneralRe: test Pin
Member 462175228-Jan-08 8:02
Member 462175228-Jan-08 8:02 
GeneralRe: test Pin
Ennis Ray Lynch, Jr.28-Jan-08 8:06
Ennis Ray Lynch, Jr.28-Jan-08 8:06 
GeneralRe: test Pin
Member 462175228-Jan-08 8:07
Member 462175228-Jan-08 8:07 
GeneralRe: test Pin
Member 462175228-Jan-08 8:24
Member 462175228-Jan-08 8:24 
GeneralA window opening problem Pin
DSdragondude28-Jan-08 7:54
DSdragondude28-Jan-08 7:54 
GeneralRe: A window opening problem Pin
LongRange.Shooter28-Jan-08 8:10
LongRange.Shooter28-Jan-08 8:10 
GeneralRe: A window opening problem Pin
DSdragondude28-Jan-08 8:27
DSdragondude28-Jan-08 8:27 
GeneralRe: A window opening problem Pin
MarkB77728-Jan-08 9:24
MarkB77728-Jan-08 9:24 
Generalwriting quotes with data to a text file..not quite what I wanted as output Pin
LongRange.Shooter28-Jan-08 7:51
LongRange.Shooter28-Jan-08 7:51 
I have a variable I need to add to an output string for generating some C# code.

The intent is the line should be
ConfigurationManager.ConnectionString["Talker"].ToString();
and the code to generate that line is as such:
C#
    StringBuilder conName = new StringBuilder();
    conName.Append("\t\t\t\t\t\t");
    conName.Append("ConfigurationManager.ConnectionStrings[\"");
    conName.Append(parameters.UseConnectionStringName);
    conName.Append("\"].ToString();");
swBaseClass.WriteLine( conName.ToString() );


When I look at conName it is formatted correctly.
ConfigurationManager.ConnectionString["Talker"].ToString();
When I view the resulting code the line reads
ConfigurationManager.ConnectionString[""].ToString();

Any suggestions on why my variable name is not being written out???
GeneralRe: writing quotes with data to a text file..not quite what I wanted as output Pin
PIEBALDconsult28-Jan-08 8:19
mvePIEBALDconsult28-Jan-08 8:19 
GeneralRe: writing quotes with data to a text file..not quite what I wanted as output Pin
LongRange.Shooter28-Jan-08 8:24
LongRange.Shooter28-Jan-08 8:24 
GeneralRe: writing quotes with data to a text file..not quite what I wanted as output Pin
PIEBALDconsult28-Jan-08 8:42
mvePIEBALDconsult28-Jan-08 8:42 

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.