摘要:
更新一个SQL Server 日志数据库清理脚本,以备日后用到。 阅读全文
摘要:
每一次操作select的时候,总是要出来翻一下资料,不如自己总结一下,以后就翻这里了。 比如<select class="selector"></select> 1、设置value为pxx的项选中 $(".selector").val("pxx"); 2、设置text为pxx的项选中 $(".sel 阅读全文
摘要:
没有什么好说的,直接上代码。 实体类: public class NBOrder { /// <summary> /// 订单号 /// </summary> public string OrderCode { get; set; } /// <summary> /// 店铺名 /// </summ 阅读全文
摘要:
最近在项目中要控制文件框的输入,Google了一下,找到一些方法。并修改。以下代码经过验证,可以正常使用。 使用方法以: 阅读全文
摘要:
有时我们在自定义控件时,出于某种原因的考虑(比如:防止在设计时误操作),想禁止调整自定义控件的尺寸(Height 或 Width)。最初我是这样实现的,这也是较简单的方法: public class MyButton : System.Windows.Forms.Button { ... ... p 阅读全文
摘要:
Form7 f7 = new Form7(); f7.TopLevel = false; f7.Parent = this.panel1; this.panel1.Controls.Add(f7); f7.Show(); 阅读全文