protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Table_ID.Style.Add("CssClass", "sel_tbl"); } } protected void btn_find_Click(object sender, EventArgs e) { Table_ID.Style.Add("CssClass", "selecttable_style_new"); }
Table_ID.Attributes["class"] = "selecttable_style_new";
document.getElementsByClassName("tableID").ClassName = "ClassName";
$("#TableID").addClass("className");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)