- 博客(23)
- 资源 (2)
- 收藏
- 关注
原创 RadioButtonList专题
1 通过RadioButtonList的值,利用Javascript控制某控件的隐藏 function setVis(){ //曲线图var R=document.getElementById("RBL_2"); if (R.checked) { setVisible("L1",""); } //柱饼图else { setVisible("L1","none");} }
2007-04-24 15:08:00 1343 1
转载 心里话——程序员版
要问我是谁?过去,我总不愿回答,因为我怕,我怕机关里的公务员笑话。我们的房间很小,放不下一个鞍马;我们的宿舍简陋,还经常搬家;我们的电脑很破,还经常乱码;我们的椅子很旧,坐上去吱吱哑哑……但是,我们代码工整,我们的业绩不差!要问我此刻最想要什么?我要我的笔记本,我要我的Vista!因为,有笔记本才能扛着到处出差;因为,有Vista客户才觉得够现代化。IT的2008,也是我们的200
2007-04-24 08:36:00 1216
原创 CSDN论坛常见初级问题(陆续更新)
1 ASP.NET注册问题.net1.1 开始->程序->Microsoft Visual Studio .NET 2003->Visual Studio .NET 工具->Visual Studio .NET 2003 命令提示:Aspnet_regiis.exe -i.net2.0开始->/程序->Microsoft Visual Studio 2005->Visual Studio To
2007-04-23 10:50:00 1543
原创 数据库专题
1 SQLServer与ACCESS互导方法一:用sql语句/*************导出到Access********************/ insert into openrowset(’Microsoft.Jet.OLEDB.4.0’, ’x:/A.mdb’;’admin’;’’,A表) select * from 数据库名..B表 /*************导入Access*
2007-04-23 10:12:00 1188
原创 TextBox专题
这里面实在没什么好说的.1 换行 TextBox.Text = TextBox.Text + vbCrLf 换行而且这个是针对Vb.net,的应用程序来说的.
2007-04-23 09:58:00 1026
原创 DataGrid专题
1 Grid里日期格式化 数据段格式:{0:yyyy-M-d}{0:d}2 参数链接列(举例)URL字段:IDURL格式字符串:managerplandetail.aspx?id={0}文本:查看(或<img src="../images/showdetails.gif">)3 按钮列(DeleteCommand,EditCommand)a.id = Add
2007-04-23 09:50:00 915
原创 DropDownList专题
1 If Not Page.IsPostBack Then BindTypes() End If一定要在页面开始的时候,利用if not(page.isPostBack)来绑定,否则每次提交将会重新提交2绑定DropDownList Privete Sub BindTypes() dim ds as dataset ds=...代码略 DropDownList1
2007-04-23 09:48:00 1287
原创 Iframe专题
1 将Iframe内的值赋给父窗体,并隐藏自己 Response.Write("") Response.Write(" top.document.form1.TB13.value=") Response.Write(Treeview1.GetNodeFromIndex(Treeview1.SelectedNodeIndex).NodeData)
2007-04-23 09:39:00 2207
原创 fileupload专题
1 ,上传类型过滤 判断文件上传类型 Dim FCT As String = File1.PostedFile.ContentType If FCT = "application/msword" Then Else Response.Write("javascript:window.alert(仅支持Word文件,请
2007-04-23 09:32:00 1856
转载 TreeView(iewc)控件专题
关于TreeView控件专题 1.下载地址 http://msdn.microsoft.com/downloads/samples/internet/ASP_DOT_NET_ServerControls/WebControls/default.asp 安装后,通过“自定义工具箱”->“.net框架组件”把TreeView添加到工具箱里 2.运行时无法显示 一般是TreeView的版本问题,最好
2007-04-23 09:30:00 5359 2
原创 javascript,二级TreeView中点选某结点(第一级)时,其它非点选结点(第一级)均闭合
function setExpan(){ var indexid; var i; indexid=TreeView1.clickedNodeIndex; var NodeArray=new Array(); var NodeCount=new Array(); NodeArray=TreeView1.getTreeNode(indexid
2007-04-23 09:28:00 1333 2
原创 二级TreeView的建立
TreeView共分两级。第一级为ncsModereg表。第二级为ncsMenureg表。ncsuserable为控制权限表,直接用户和menu对应。 Private Sub SetMenu() Dim sql, sql2, sql3 As String sql = " select Mode_id from ncsmodereg where mode_ID
2007-04-23 09:24:00 1011
原创 Javascript使用9例
目录:------------------------------------------------------------1 下拉框转向对应网址2 某控件获得焦点3 控制控件样式4 利用JS切换Form的Target。5 window的用法6 控制DropDowList7 所有控件清空8 从框架返回登陆首页9 框架A执行B里的事件1 下拉框转向对应网址http://www.sina.co
2007-04-23 09:18:00 1152
原创 加入进度条及进度框
加入进度条 this.Page.Response.Write(""); this.Page.Response.Write("_"); this.Page.Response.Write(""); this.Page.Response.Write("mydiv.innerText = ;"); this.Page.Response.Write(";"); this.P
2007-04-23 09:15:00 1054
转载 ASP.NET会话(Session)保存模式
原贴地址:http://blog.csdn.net/cityhunter172/archive/2006/05/14/727743.aspxASP.NET会话(Session)保存模式【原创】ASP.NET会话(Session)保存模式作者:寒羽枫(cityhunter172)大家好,已有四个多月没写东东啦。今日抽空就说一下 Session 在 .Net v1.0/v1.1
2007-04-23 09:14:00 751
原创 数据格式化
1 取值后格式化{0:d}小型:如2005-5-6{0:D}大型:如2005年5月6日{0:f}完整型2 当前时间获取 DateTime.Now.ToShortDateString3 取值中格式化SQL Server里面可能经常会用到的日期格式转换方法:举例如下:select CONVERT(varchar, getdate(), 120 )2004-09-12 11:06:08
2007-04-23 09:10:00 1424
转载 JS实现国家省市三级无刷新联动
级联菜单 body,select { font-size:9pt; font-family:Verdana; } a { color:red; text-decoration:none; } a:hover{ text-decoration:underline; } function Dsy() { this.Items = {}; } Dsy.prototype.add
2007-04-12 08:54:00 8699 4
转载 JS应用(很全了)
如果你找的javascript的东西的话,建议你 ctrl+F 直接在这个页上找,因为这里80%有你要找的,但是要让你挨着看的话,你就准备看完就去配眼镜!! 事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); eve
2007-04-11 17:19:00 8833 2
转载 Java与C#语法对比及转换
Java (J2SE 5.0) and C# ComparisonThis is a quick reference guide to highlight some key syntactical differences between Java and C#. This is by no means a complete overview of either language. Hope you
2007-04-06 09:25:00 2246
转载 VB.net与C#语法对比及转换
VB.NET and C# ComparisonThis is a quick reference guide to highlight some key syntactical differences between VB.NET (version 2) and C#. Hope you find this useful!Thank you to Tom Shelton, Fergus C
2007-04-01 19:29:00 3660
原创 前台验证(利用验证控件和正则表达式)
正则表达示收藏整数或者小数:^[0-9]+/.{0,1}[0-9]{0,2}$只能输入数字:"^[0-9]*$"。只能输入n位的数字:"^/d{n}$"。只能输入至少n位的数字:"^/d{n,}$"。只能输入m~n位的数字:。"^/d{m,n}$"只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2})?$"。只
2007-04-01 19:18:00 8457 1
原创 以二进制进行存储和读取图片
//存string ImgFName;HttpPostedFile UpFile=UP_FILE.PostedFile;FileLength=UpFile.ContentLength;//记录文件长度 try{if(FileLength==0){cfun.alert(Response,"请选择要上传的图片");}else{Byte[] FileByteArray = new Byte[FileLe
2007-04-01 19:15:00 5201
原创 利用数组进行冒泡法排序举例
语法:VB .net环境:.NetFrameword1.1Dim i, j, k As Integer Dim tmp As Integer Dim sr(20) As String Dim rr(20) As String sr(1) = 2 sr(2) = 11 sr(3) = 1 sr(
2007-04-01 19:13:00 1359
167行的“打豆豆”C#源码
2012-02-24
在asp.net中一个Class搞定线/柱/饼状图
2008-02-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人