在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
---天气插件---
<iframe width="560" scrolling="no" height="23" frameborder="0" allowtransparency="true" src="http://i.tianqi.com/index.php?c=code&id=1&icon=1&wind=1&num=2"></iframe>
---后台调用js---
ClientScript.RegisterStartupScript(ClientScript.GetType(), "myscript", "<script>alert1();</script>"); ---客户端弹出确认框--- OnClientClick="return confirm('您确认删除该记录吗?');" ---日历插件--- my97datepicker
---webconfig连接字符串--- <connectionStrings>
<add name="constring" connectionString="server=.;Integrated security = true;database=OfficeManage" />
</connectionStrings><add key="ConnectionString" value="server=.;database=Board;uid=B;pwd=sa"/> ---dropdownlist进行操作---
DataSet ds = Operation.GetDataSet("SELECT DepartmentId,DepartmentName FROM dbo.tabP_Department");
ddlDepartment.DataValueField = "DepartmentId";
ddlDepartment.DataTextField = "DepartmentName";
ddlDepartment.DataSource = ds;
ddlDepartment.DataBind();
ddlDepartment.Items.Insert(0,new ListItem("请选择发布部门","0")); ---服务器伪静态添加--- 脚本映射,要把.html文件映射到asp.net处理程序上 ---设置textbox不可写只能选--- 加入onfocus="this.blur()" ---框架布局---
<frameset rows="*,30" cols="*" frameborder="no" border="0" framespacing="0">
---js关键判断--- <script Language="JavaScript"> if (document.getElementById("registerdate").value == "") { </script>
----验证码关键前台代码--- <head runat="server"> var date = new Date(); |
请发表评论