`
long546324
  • 浏览: 203574 次
  • 性别: Icon_minigender_1
  • 来自: 云南
社区版块
存档分类
最新评论
文章列表
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title> 设为首页、加入收藏案例 </title> <script type="tex ...
今天做项目是用到显示当前日期是星期几,上网找了一下,找到如下几个方法: 第一种方法(个人所写) DateTime.Now.GetDateTimeFormats('D')[2].ToString().Substring(0,3) 第二种方法 public string Week() { string[] weekdays ={ "星期日" ,"星期一" ,"星期二" ,"星期三" ,"星期四" ,"星期五" ,"星期六&quo ...
由于需要 用以前发过的折叠菜单源码改了一下 做成了下拉菜单 感觉还不错 留着以后使用 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>首页</title> ...
看了牛腩的新闻发布系统视频后,自己学着做了一个,并在此基础上加上了工厂模式,使系统可以在sql server和access两个数据库上运行,移植到其它数据库上也比较容易。在此先感谢一下牛哥 呵呵
一款比较好用的在线编辑器,经常会用到,特此记录一下。 http://www.kindsoft.net/
Grid.js文件 Ext.onReady(function(){ var sm = new Ext.grid.CheckboxSelectionModel(); //这是ColumnModel的默认实现,在Grid中使用。 该类与一个列配置对象数组一起被初始化。 //dataIndex: grid中 Ext.data.Store 的Ext.data.Record 定义字段名称... //renderer(可选) 一个用来根据单元格数值,为单元格产生HTML标签的函数。 参见setRenderer. 如果不指定... var ...
1、也是最简单和最常用的办法,就是使用转向页面语句,分两种:     a.使用服务器端的 Response.Redirect("YourPage");     b.使用客户端脚本 <script language=javascript>location.href='yourPage';</script>     这两种方法的缺点是如果要保留页面数据不太方便,如果不用保留可以采用。 2、操作完毕设置一个Session,进入页面时判断这个Session是否为null,如果不是表示已经提交过了,但是缺点就是这个页面无法再提交了,必须在别的页面清空这个Ses ...
最近正在学习设计模式,看到此文章写的挺好,特此记录下来 呵呵 文章地址:http://www.cnblogs.com/Terrylee/archive/2006/07/17/334911.html 作者:TerryLee 出处:http://terrylee.cnblogs.com
index.html文件 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>JQuery之股票信息</title> <link href= ...
提示:点击表格后可直接编辑,回车或鼠标点击页面其他地方后编辑生效,按Esc可取消编辑 index.html文件 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>JQ ...
index.html文件 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>徐徐升起的qq消息框</title> <script src= ...
index.html文件 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>淡入淡出的qq消息框</title> <script src= ...
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowIndex != -1) { int id = e.Row.RowIndex + 1; e.Row.Cells[0].Text = id.ToString(); } }
public class CsvDAO { public static OleDbConnection OleCon = new OleDbConnection(); public static OleDbCommand OleCmd = new OleDbCommand(); public static OleDbDataAdapter OleDa = new OleDbDataAdapter(); #region 读取Csv文件返回DataSet /// <summary> ...
一步一步学Linq to sql(一):预备知识 http://www.tg029.com/viewthread.php?tid=1645&extra=page%3D3 一步一步学Linq to sql(二):DataContext与实体 http://www.tg029.com/viewthread.php?tid=1646&extra=page%3D3 一步一步学Linq to sql(三):增删改 http://www.tg029.com/viewthread.php?tid=1647&extra=page%3D3 一步一步学Linq to sql(四):查询 ...
Global site tag (gtag.js) - Google Analytics