- 博客(19)
- 收藏
- 关注
转载 javascript的主页文本控件的隐藏与显示
lywww lycom lyphp 标题1: 标题2: 标题3: function showSelectValue() { var textobj = document.getElementsByName('text'); var selectvalue = do
2016-03-30 15:46:38 510
转载 javascript的时间事件
周期执行function myFun(){ setInterval("setsDate()",1000);//设置1秒钟调用一次}function setsDate(){var myDate = new Date();//创建一个日期对象myForm.showDate.value = myDate.toLocaleString();//显示日
2016-03-29 16:44:02 332
转载 C#几个经常用到的字符串截取
1、取字符串的前i个字符(1)string str1=str.Substring(0,i);(2)string str1=str.Remove(i,str.Length-i);2、去掉字符串的前i个字符string str1=str.Remove(0,i);string str1=str.SubString(i);3、从右边开始取i个字符:string str1=str
2016-03-28 15:50:11 345
转载 .net 通过输入文本框进行下拉式菜单的联想搜索(资料2)
上次资料1是我找到的原始资料,距离我想实现的效果还有很大的距离。它用到了JavaScript和c#,这次我修改一下代码,目的是从数据库中提取数据实时根据拼音缩写查找。我的数据库表示t003. 我想根据输入拼音缩写调出成语。修改后的代码:
2016-03-25 14:46:18 1270
转载 文本框输入内容回车事件
function textChanged(o) { if (event.keyCode == 13) { var win = window.open("", "_blank"); win.document.writeln("Hello World!"); } }
2016-03-23 16:07:45 4024
转载 ListBox 绑定多个选项为选中
后台代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Collections;public partial cla
2016-03-23 15:43:44 533
转载 C#拼音联想式选择
通过输入成语的拼音缩写来查询成语,最近做了一些尝试,查了一些资料,感谢csdn的开源代码。原来计划使用.NET开发,查了很久感觉最可利用的是winform,于是先学习一下吧,先form吧!第二步才是net!form建立3个控件,1个textbox,1个listbox,一个datagridview。上图:后台代码:using System;using System.Colle
2016-03-22 21:16:04 1320
原创 .NET 把数据库数据放入数组的一段代码
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data.SqlClient;using System.Data;p
2016-03-22 09:39:15 1661
转载 要烂熟于胸的代码(1)-ADO.NET数据查询
空网站配置部分: 注意: 除了手动编辑此文件以外,您还可以使用 Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的 “网站”->“Asp.Net 配置”选项。 设置和注释的完整列表在 machine.config.comments 中,该文件通常位于 \Windows\Microsoft.
2016-03-20 08:34:09 324
转载 数据绑定-2 (动态调整图片大小)
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" > 无标题页 百分比 ' Height =''/>
2016-03-19 16:05:28 323
转载 数据绑定实例-1
数据绑定的格式新建网站:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml" > 绑定方法调用的结果
2016-03-19 15:43:21 385
转载 .net操作word-1
空网页http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> 向Word文档中写入文字 .style1 { border: medium double #E7E7E7;
2016-03-15 15:31:39 282
转载 xml-5处理
建立空网页http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> 请输入节点的内容 学号: 姓名: 电话: 地址: 城市:
2016-03-11 15:23:53 351
转载 xml-4处理
空网页后台代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;namespace xxx{ publi
2016-03-11 11:12:23 620
转载 xml-3处理
新建空网页后台代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Xml;namespace xxx { p
2016-03-11 10:59:39 336
转载 XML-2处理
1.添加空网页添加xml控件、按钮控件http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml"> XSL转换XML文件 后台代码:using
2016-03-11 10:45:43 228
转载 sql查询相关技术-内连接查询
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy
2016-03-07 20:36:43 253
原创 .net处理freetextbox(文本编辑)基本操作
去官网下载freetextbox增加第三方选项卡 添加引用http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">
2016-03-02 10:13:28 352
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人