Vinit Patel

Archive for June 2011

Hi,   The below code is for replace the specified attribute from the html. protected override void Render(HtmlTextWriter writer) { using (System.IO.MemoryStream msOur = new System.IO.MemoryStream()) { using (System.IO.StreamWriter swOur = new System.IO.StreamWriter(msOur)) { HtmlTextWriter ourWriter = new HtmlTextWriter(swOur); base.Render(ourWriter); ourWriter.Flush(); msOur.Position = 0; using (System.IO.StreamReader oReader = new System.IO.StreamReader(msOur)) { string sTxt = oReader.ReadToEnd(); [...]

Hi, If you have the Data in Sql table like Value 15 17   Now, If you want to print the values like $15 and $17. So you will have to do like this… SELECT LEFT(‘$’ + CONVERT(VARCHAR, CAST(’15.00′ AS MONEY), 1), LEN(‘$’+ CONVERT(VARCHAR, CAST(’15.00′ AS MONEY), 1)) – 3)

Tags: ,

Calendar

June 2011
M T W T F S S
« Apr   Jan »
 12345
6789101112
13141516171819
20212223242526
27282930  

Stats Of Blog

  • 2,408 hits

Cluster Map

Follow

Get every new post delivered to your Inbox.