Santosh Kumar

Santosh Kumar

  • NA
  • 8
  • 6.2k

How to create a .CSS file dinamically using c#

Jul 31 2015 7:22 AM
Actully i go entire content of the existing css file but i have to generate new css file with new name
 
string path = strPublicationPath + @"\Styles\DefaultTemplate\styles.css";
StreamReader sr = new StreamReader(path);
if (sr != null)
{
string Css_Data = sr.ReadToEnd();
}
 
up now i got css content in one string but how to create new css file by consuming this existing string(Css_Data)
 
 
Thank you??????????
 
Please Any one know please Inform me

Answers (1)