1
Answer

How to create a .CSS file dinamically using c#

Santosh Kumar

Santosh Kumar

9y
877
1
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)