.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to: Concatenate Multiple Strings

Posted By: Kaithri     Posted Date: May 21, 2013    Points:5   Category :ASP.Net
string strCode = String.Format("select '{0}' +RIGHT('000'+LTRIM(STR(MAX(Cast(SUBSTRING(code,6,4)as int))+ 1)),4)from horseMaster where code like '{0}0%'", NameEN);

Pls help to concatenate this strings.

Responses
Author: Anna Harris             
Posted Date: May 30, 2013     Points: 20   

It is the right way to concatenate two strings, what's the issue that you are facing in it?

Author: Sasi Prabhu             
Posted Date: September 11, 2013     Points: 20   

Hi Kaithri,

refer :

http://www.dotnetperls.com/string-concat

Thanks & Regards,
Sasi Prabhu.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend