上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 有1.aspx 和2.aspx 2个页面。其中1.aspx 里面的UserID 和 UserName 想把参数传递给2.aspx ,办法很多,其中之一: 在1.aspx 里面: string strURL="2.aspx?UserID="+UserID+"&UserName="+UserName; Response.Redirect(strURL); 在2.aspx 里面: string strU... 阅读全文
posted @ 2005-02-23 16:43 jhtchina 阅读(2221) 评论(0) 推荐(0) 编辑
摘要: 有Table1 表 表结构: MemberID int ,Year char(4), Month varchar(2), Day varchar(2), Content varchar(60) 现在需要1900年3月的1 日到31 日进行排序: 因为Day是varchar类型 如果 select * from Table1 where Year='1900' and M... 阅读全文
posted @ 2005-02-23 16:35 jhtchina 阅读(658) 评论(0) 推荐(0) 编辑
摘要: from: http://community.csdn.net/Expert/topic/3379/3379770.xml?temp=.7382318 打开全屏的 【1、最基本的弹出窗口代码】 其实代码非常简单: 因为这是一段javascripts代码,所以它们应该放在之间。是对一些版本低的浏览器起作用,在这些老浏 览器中不会将标签中的代码作为文本显示出来。要养成这个好习惯啊。 ... 阅读全文
posted @ 2005-02-01 09:00 jhtchina 阅读(7649) 评论(1) 推荐(0) 编辑
摘要: By Simohamed Attahri How to check if your computer is connected to the internet with C#. It's much more easier that other tutorials I've seen in other sites. In deed, we're going to use a simple API... 阅读全文
posted @ 2005-01-17 12:26 jhtchina 阅读(2351) 评论(0) 推荐(0) 编辑
摘要: 在事件private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)里面: #region if ((e.KeyChar==10)) { MessageBox.Show("Enter OK"); button1_Click(null,Ev... 阅读全文
posted @ 2005-01-07 11:10 jhtchina 阅读(1938) 评论(1) 推荐(0) 编辑
摘要: using System; using System.Reflection; using System.Windows.Forms; using System.Drawing; class Class1:Form { public Class1() { } [STAThread] static void Main(string[] args) { Class1 a... 阅读全文
posted @ 2005-01-05 16:14 jhtchina 阅读(762) 评论(0) 推荐(0) 编辑
摘要: Environment.CurrentDirectory 阅读全文
posted @ 2005-01-04 09:10 jhtchina 阅读(678) 评论(0) 推荐(0) 编辑
摘要: string Greeting="Hello World"; Console.WriteLine(Greeting); for (int i=(int)'z';i>=(int)'a';i--) { char Old=(char)i; char New=(char)(i+1); Greeting=Greetin... 阅读全文
posted @ 2005-01-04 09:03 jhtchina 阅读(829) 评论(0) 推荐(0) 编辑
摘要: 它用于把方法标记在外部的dll中定义。而不在任何的装配件中定义。 [DllImport("User32.dll")] public extern static int MessageBox(int iParent,string Message,string Caption,int Type); 使用: MessageBox(0,"Hello","Message",0); 可以弹出... 阅读全文
posted @ 2004-12-31 14:43 jhtchina 阅读(697) 评论(0) 推荐(0) 编辑
摘要: 需要用到javascript的内容 弹出页面 Response.Write(""); 弹出消息 Response.write(""); window.open('http://singlepine.cnblogs.com','title','height=100,width=200,top=0,left=0,toolbar=no,menubar=no,scrollbars=no,resizabl... 阅读全文
posted @ 2004-12-29 09:12 jhtchina 阅读(887) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页