asp.net后台获取前台的样式和后台给前台设置样式
//获取到textbox1 的top值 Response.Write(textbox1.Style["top"]); //设置textbox1的style textbox1.Style["Style"] = "left: 500px; position: absolute;top:400px";
//获取到textbox1 的top值 Response.Write(textbox1.Style["top"]); //设置textbox1的style textbox1.Style["Style"] = "left: 500px; position: absolute;top:400px";