- 博客(6)
- 收藏
- 关注
原创 javascript通用函数
//页面加载时依次执行函数function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function
2016-05-16 09:31:43
242
原创 FileUpload上传图片
protected void btnUpload_Click(object sender, EventArgs e) { try { if (FileUpload1.PostedFile.FileName == "") { this
2016-05-05 15:31:14
377
原创 GridView获取当前行主键id
首先要绑定GridView的主键this.GridView1.DataKeyNames = new string[] { "ID" };第一种方法protected void btnEnd_Click(object sender, EventArgs e) { int rowIndex = ((GridViewRow)(((Button)send
2016-05-04 16:56:42
3016
原创 ORACLE语句获取表名列名
获取所有表名select table_name from user_tables;获取所有列名select column_name from user_tab_columns where table_name = '表名';
2016-04-27 11:11:10
883
原创 iframe自适应大小
function iFrameHeight() { var ifm= document.getElementById("iframe1"); var subWeb = document.frames ? document.frames["iframe1"].document : ifm.contentDocument; if(ifm != null && subWeb != null) { ifm
2016-04-26 21:23:01
285
原创 实现按钮点击变色
body { margin: 0; padding: 0; } .container { font-family: 微软雅黑; background: #fff; padding: 0px;
2016-04-23 10:19:32
4267
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人