whats the format for a string of forward slash / in c#

Posted by Calibre2010 on Stack Overflow See other posts from Stack Overflow or by Calibre2010
Published on 2010-05-17T15:11:01Z Indexed on 2010/05/17 15:20 UTC
Read the original article Hit count: 353

Filed under:
|
|
|

Hi, I'm using a htmlhelper where i give table data id's based on day and month values which are retrieved. The problem is the id is not recognized in the format it is. / seems to not be picked up yet when i replace '/' with '-' it works.

daysRow.AppendFormat("<td id='{0}/{1}'>{0}</td>", day, d1.Month.ToString());

can anyone tell me how to format this please. '/' forward slash in c#.

© Stack Overflow or respective owner

Related posts about forward-slash

Related posts about c#