- 博客(12)
- 收藏
- 关注
转载 DataSource清空
<br /><br />最近做的winform程序使用了DataGridView,在清除DataGridview的数据时遇到个问题。我想要清空DataGridview的数据,用了DataGridview.Rows.Clear(),这时就出错了,提示“不能清除此列表”。以前也遇到过,那时的解决办法就是重新绑定数据,也没细为什么不能Rows.Clear()。<br /> 于是搜索了下,用数据源绑定的DataGridView不能用Rows.Clear()清除,手动添加的是能够用clear()的。所以将
2011-03-03 17:31:00 2777
原创 vb参考文档
<br />http://homepage1.nifty.com/rucio/main/dotnet/Samples/SmpleCnt.htm
2011-02-16 14:39:00 340
原创 js 提示信息
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档 String.prototype.Trim = function() { return this.replace(/(^/s*)|(/s*$)/g,""); } function goto() {
2010-03-25 16:21:00 521
转载 js跑马灯
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档body{margin:0px auto; padding:0px;}ul,li{margin:0px; padding:0px;list-style:none;}.sqBorder {width:602px;
2010-02-25 14:49:00 368
原创 视频播放
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player components..." type="applicat
2009-08-26 10:56:00 357
原创 视频文件上传
/** * 功能:添加视频信息表单 */%>%@page language="java" pageEncoding="GB2312"%>%@page import="epw.com.bo.user"%>%@page import="org.apache.commons.lang.StringEscapeUtils"%>user loginuser=(user)session.getAttr
2009-08-20 15:13:00 818 1
转载 汉字转拼音
/** * * Title: * Description:中文转换为拼音 * @version 1.0 */ public class ChineseSpelling { private static int[] pyvalue = new int[] { -20319, -20
2009-04-24 17:19:00 626
原创 取得姓氏的拼音索引
import java.io.UnsupportedEncodingException;class ChineseConvert { public String ChineseCap(String ChineseStr) { byte[] ZW = new byte[2]; long ChineseStr_int; String CharStr, ChinaStr = ""; Char
2009-04-24 17:18:00 959
原创 日历文件
日历 TD,INPUT{font-size:9pt;} td.titleTd{background-color:#5661a8;color: #ffffff;text-align:center;text-decoration:blink;font-weight:900;}; td{white-space:nowrap}; bo
2009-04-24 17:12:00 409
原创 调用日历文件
日历 用ModalDialog形式实现日期选择。(双击输入框,可以弹出日历) 日期1 日期2 日期3 日期4 function getDateFromDialog(obj) //利用弹出输入日期 { var a= showModalDialo
2009-04-24 17:12:00 311
转载 日历文件
日历 TD,INPUT{font-size:9pt;} td.titleTd{background-color:#5661a8;color: #ffffff;text-align:center;text-decoration:blink;font-weight:900;}; td{white-space:nowrap}; b
2009-04-24 17:10:00 336
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人