Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > String concatination

Reply
Thread Tools

String concatination

 
 
Rajika Somasiri
Guest
Posts: n/a
 
      02-09-2004
In the following code "fname" is a variable for a file name and "name" is a
string variable. But when I use fname it does not contain the ".txt" part.

string fname = "Info\\" + DateTime.Now.ToString("ddMMyyHHmm")+name+".txt";

String concatination is not done properly. What do I do ?




 
Reply With Quote
 
 
 
 
Tom Kiefer
Guest
Posts: n/a
 
      02-09-2004
You may need to elaborate a bit upon "not done properly".

- Tom Kiefer
thogek @ earthlink . net


"Rajika Somasiri" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In the following code "fname" is a variable for a file name and "name" is

a
> string variable. But when I use fname it does not contain the ".txt" part.
>
> string fname = "Info\\" + DateTime.Now.ToString("ddMMyyHHmm")+name+".txt";
>
> String concatination is not done properly. What do I do ?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Concatination creates invalid preprocessor parameter? Noah Roberts C++ 5 01-12-2011 11:03 AM
The ole Repetion != Concatination pitfall JChG Python 1 04-19-2010 04:48 AM
Preprocessor concatination of defines Jakob Simon-Gaarde C++ 4 07-02-2004 03:17 AM
String concatination Rajika Somasiri ASP .Net Web Controls 2 02-23-2004 09:12 AM
Writing a listbox value to an html link concatination Crystal ASP General 3 07-09-2003 05:50 PM



Advertisments