- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 JavaScript实现倒计时
var timeLeft =50 * 60 * 1000; function countTime() { if(timeLeft == 0) { alert("时间到了,请停止答题!"); document.getElementById("btnSubmit").click();//实现调用button_cl
2010-04-12 17:14:00
343
原创 未将对象引用设置为对象的实例
for (int i = 1; i { Label lblNo = (Label)dlist.Items[i - 1].FindControl("Label2"); lblNo.Text = i.ToString() + "、"; }我一运行,就说我"未将对象引用设置为对象的实例",这个问题折腾了我好几天,今天终于解决
2010-04-12 17:03:00
464
原创 Udp协议的简单应用
发送消息Form1中的代码: Thread thdReceive; public Form1() { InitializeComponent(); } delegate void ShowFormMessage(string text); void ShowForm(string text)
2010-04-08 20:40:00
348
原创 应用事物
public partial class Form1 : Form { SqlConnection Linkstr() { SqlConnection sql=new SqlConnection(); sql.ConnectionString = "server=.;database=Store;uid
2009-12-04 17:52:00
276
原创 不足挂齿
今天刚发现:1.要获取combox中选择的项直接通过Text属性就行.2.sqlcommand中的方法ExecuteNonQuery每次只能执行一条CommandText语句.
2009-12-04 17:27:00
409
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人