css - String To HttpPostedFilebase -
I have a theme themebuilder, which is making a topic from MVC C #, I have a model that contains CSS To save it to the CSS file from Themebuilder, which was back to the body, I can easily manage it in the folder by creating my CSS file, but I have to convert the CSS file to the binary file from within the database.
Now I have a problem when I want to read CSS from the model & amp; Change it directly into the HTTP posted filebase. So it is possible or in some way to convert it to the HTML post via the string filebase.
No need to convert it to HttpPostedFileBase by applying a direct string of CSS file names inside the path You can use that database as a saved CSS. You just need to create a method to get a binary CSS file from DB & amp; Change it to string then it will do the same thing that you have implemented as a CSS file.
Comments
Post a Comment