hi
can any one help me
how to call the css class in code behind(c#)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vincent Maverick DuranoPosted May 20, 2015, 10:24 AM
Ravi KumarPosted May 20, 2015, 10:01 AM
Vincent Maverick DuranoPosted May 20, 2015, 9:54 AM
Use Literal control when generating html from the server.
<asp:Literal ID="Literal1" runat="server">asp:Literal>
Then in your code you can do:
protected void Page_Load(object sender, EventArgs e) {
string myString = " R ";
Literal1.Text = myString;
}
Ravi KumarPosted May 20, 2015, 9:21 AM
myString =" R ";
string currencyString = myString + Convert.ToString(price);
R
if should show only RVincent Maverick DuranoPosted May 19, 2015, 9:53 AM
Nanhe SiddiquePosted May 19, 2015, 8:17 AM