![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
功能源码
文章平均质量分 57
charles998
这个作者很懒,什么都没留下…
展开
-
XML+Javascript 实现静态页搜索及分页功能
page.js 文件==================================== var DEFAULT_PAGE_SIZE = 20;//分页大小var m_nPageSize = DEFAULT_PAGE_SIZE;//当前XML数据集对象var m_sDataSrcId = "DocumentsDataSrc";//当前页码var m_nPageIndex = 1;//移到首原创 2008-02-26 13:29:00 · 381 阅读 · 0 评论 -
按字节长度截取字符串(支持截取带HTML代码样式的字符串)
/// /// 按字节长度截取字符串(支持截取带HTML代码样式的字符串) /// /// 将要截取的字符串参数 /// 截取的字节长度 /// 字符串末尾补上的字符串 /// 返回截取后的字符串 public static string SubstringToHTML(string para原创 2009-11-23 17:27:00 · 230 阅读 · 0 评论 -
根据IP显示天气预报代码:只显示成一行
第一步,在头部或其他开始部分插入: http://www.yt12333.cn/images/ytld/weather.js"> 第二步,在你想要显示天气预报的地方插入: /* MiniSite.Weather.print("Wealth"); /*]]>*/ weather.js// JavaScript Documentv原创 2009-02-11 11:26:00 · 2539 阅读 · 0 评论 -
提交表单时,如何根据下拉框内容改变form的action
请选择相应栏目: 学习资料专家答疑原创 2008-11-02 11:28:00 · 1015 阅读 · 0 评论 -
分桢框架
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">全军卫生装备信息中心网站@import url(../css/css.css);@import url(../css/article.css);-->a{color: #000000;text-decoratio原创 2008-08-29 13:35:00 · 245 阅读 · 0 评论 -
选项卡
td { font-size: 12px; color: #000000; line-height: 150%; }.sec1 { background-color: #EEEEEE; cursor: hand; color: #000000; border-left: 1px soli原创 2008-07-10 14:14:00 · 164 阅读 · 0 评论 -
dataset 导出到Excel
public static void ExportToExcel(DataSet ds, string strExcelFileName) ...{ Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.Application();原创 2008-03-13 11:40:00 · 165 阅读 · 0 评论 -
用javascript实现html页面之间的参数传递的四种方法
/**//* *函数功能:从href获得参数 *sHref: http://www.cscenter.com.cn/arg.htm?arg1=d&arg2=re *sArgName:arg1, arg2 *return: the value of arg. d, re */function GetArgsFromHref(sHref, sArgName)...{ var args原创 2008-03-10 17:06:00 · 218 阅读 · 0 评论 -
将日期转换为字符传函数
DateToString(this.dtpMsg.Value) public static string DateToString(DateTime _dt) ...{ string sdate = _dt.Year.ToString() + "-" + (_dt.Month.ToString().Length == 1 ? "0" + _dt.M原创 2008-03-13 11:45:00 · 212 阅读 · 0 评论 -
c#写入txt文本
int msg = 10; int remedy = 0; string filename=this.Server.MapPath(string.Format("/Count/{0}.txt",asProductID)); if (System.IO.File.Exists(filename)) { try原创 2008-03-07 19:47:00 · 2932 阅读 · 0 评论