2013年10月2日

鼠标点击表格项就可以编辑 Jquery

摘要: 可以编辑的表格 鼠标点击表格项就可以编辑 学号姓名 000001张三 000002李四 000003王五 000004赵六 阅读全文

posted @ 2013-10-02 21:13 鱼东鱼 阅读(416) 评论(0) 推荐(0) 编辑

2013年9月16日

C# 文件流

摘要: 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 System.IO;namespace WindowsFormsApplication1{ public partial class Form1 : Form { string fileInfo = strin... 阅读全文

posted @ 2013-09-16 23:02 鱼东鱼 阅读(225) 评论(0) 推荐(0) 编辑

VBA 类

摘要: Option ExplicitDim WithEvents stus As studentsPrivate Sub CommandButton1_Click() Dim s$, stu As New Student s = InputBox("请输入姓名", "增加") stu.Name = s stus.Add stu RefreshLstvEnd SubPrivate Sub CommandButton2_Click() Dim s$ s = InputBox("请输入要删除的ID或序号", "删除") stu 阅读全文

posted @ 2013-09-16 09:13 鱼东鱼 阅读(446) 评论(0) 推荐(0) 编辑

2013年9月13日

VBA outLook

摘要: Sub test()Dim ol As New Outlook.ApplicationDim ns As Outlook.NameSpaceDim newMail As Outlook.MailItemSet ns = ol.GetNamespace("MAPI")Set newMail = ol.CreateItem(olMailItem)Set newMail = ol.CreateItemFromTemplate("C:\Users\Administrator\AppData\Roaming\Microsoft\Templates\TEST.oft" 阅读全文

posted @ 2013-09-13 23:35 鱼东鱼 阅读(445) 评论(0) 推荐(0) 编辑

2013年9月12日

VBA 打开excel

摘要: Sub openExcelFile(ByVal filePath$)Set xls = CreateObject("Excel.Application")Set xlbook = xls.Workbooks.Open(filePath)'xls.Visible = TrueSet xlsheet = xlbook.Worksheets(1)Application.ScreenUpdating = False With xlsheet MsgBox .[a2] End With Application.ScreenUpdating = Truexlbook.Close 阅读全文

posted @ 2013-09-12 00:37 鱼东鱼 阅读(869) 评论(0) 推荐(0) 编辑

2013年7月31日

hibernate第一个程序

摘要: public class Client { public static void main(String[] args) { //读取ibernate.cfg.xml Configuration cfg = new Configuration().configure(); //创建SessionFactory SessionFactory factory = cfg.buildSessionFactory(); Session session =null; try{ //创建session session = factory.openSession(); //开启... 阅读全文

posted @ 2013-07-31 09:51 鱼东鱼 阅读(158) 评论(0) 推荐(0) 编辑

hibernate学习笔记1

摘要: //读取ibernate.cfg.xml Configuration cfg = new Configuration().configure(); //创建 SchemaExport SchemaExport export = new SchemaExport(cfg); export.create(true, true);hibernate.cfg.xml jdbc:mysql://127.0.0.1/hibernate_first com.mysql.jdbc.Driver root best org.hibernate.dialect.MySQLDialect ... 阅读全文

posted @ 2013-07-31 09:35 鱼东鱼 阅读(142) 评论(0) 推荐(0) 编辑

2013年7月19日

Struts2 POI 导入导出Excel数据

摘要: 页面端: 导入数据 导入excel数据 导入Excel文件: 配置struts.xml application/vnd.ms-excel attachment;filename=${fileName} excelStream 1024 ExcelAction类:extends ActionSupportInputStream excelStream;String fileName;操作poiprivate void exportExcel(OutputStream os) { Workbook workb... 阅读全文

posted @ 2013-07-19 12:30 鱼东鱼 阅读(3195) 评论(0) 推荐(0) 编辑

2013年7月18日

css 之 ime-mode

摘要: css 之 ime-mode语法:ime-mode : auto | active | inactive | disabled 取值:auto : 默认值。不影响ime的状态。与不指定 ime-mode 属性时相同 active : 指定所有使用ime输入的字符。即激活本地语言输入法。用户仍可以撤销激活ime inactive : 指定所有不使用ime输入的字符。即激活非本地语言。用户仍可以撤销激活ime disabled : 完全禁用ime。对于有焦点的控件(如输入框),用户不可以激活ime 说明:设置或检索是否允许用户激活输入中文,韩文,日文等的输入法(ime)状态。此属性对于 curre 阅读全文

posted @ 2013-07-18 09:19 鱼东鱼 阅读(226) 评论(0) 推荐(0) 编辑

2013年6月23日

jsp&Servlet(4)

摘要: 向java学习人士们提供一个好的学习网站www.java1234.comDate类型的转成String类型SimpleDateFormat sdf = new SimpleDateFormat(format);sdf.format(date);String类型转成Date类型SimpleDateFormat sdf = new SimpleDateFormat(format);sdf.parse(str);easyui对于combobox取值:$('#s_sex').combobox("getValue")dateBox取值:$('#s_bbirth 阅读全文

posted @ 2013-06-23 22:58 鱼东鱼 阅读(159) 评论(0) 推荐(0) 编辑

导航