个人总结
文章平均质量分 52
zhaodongxu1
这个作者很懒,什么都没留下…
展开
-
c#.net中子窗体刷新(调用)父窗体
试了N遍,终于成功实现了在C#.NET中子窗体刷新(调用)父窗体。具体方法如下:1. 在父窗体FatherForm中调用子窗体SonForm:SonForm.ShowDialog(this); //注意,此处括号内必须有"this"2. 在子窗体关闭时,刷新(调用)父窗体:FatherForm father=new FatherForm();father=(FahterForm)this.Owner;father.listbox1.value=""; //此处调用并修改了父窗体中的listbox1控件原创 2010-09-06 20:46:00 · 1806 阅读 · 0 评论 -
Hibernate判断数据库表是否存在
2010-09-08Hibernate判断数据库表是否存在文章分类:Java编程Java代码 @SuppressWarnings("deprecation") public String isNotExistsTable(TableStruct table) throws SQLException{ Connection conn = getHibernateTemplate().getSessionFactory().getCurrentSession().connection转载 2011-01-22 16:06:00 · 4984 阅读 · 0 评论 -
两个有序数组合并,并去重复
import java.util.Iterator;import java.util.Set;import java.util.TreeSet;class ArraySort {// 两个有序数组的合并函数public static int[] MergeList(int a[], int b[]) {int result[];if (checkSort(a)原创 2011-10-20 20:48:02 · 3632 阅读 · 0 评论