06 2009 档案
C#操作Excel:不存在类型或命名空间名称“Interop”
摘要:下载Microsoft.Office.Interop.Excel.dllhttp://files.cnblogs.com/fan0136/Microsoft.Office.Interop.Excel.rar添加引用,浏览指定文件即可。 阅读全文
posted @ 2009-06-02 13:18 fan0136 阅读(2166) 评论(3) 推荐(0)
textbox只能输入数字,且长度小于指定值(c#)
摘要:private void textBox1_TextChanged(object sender, EventArgs e) //文本框判断 { if (textBox1.TextLength > 8) { textBox1.Select(0, textBox1.Text.Length - 1); textBox1.Text = textBox1.SelectedText; textBox1.... 阅读全文
posted @ 2009-06-01 14:13 fan0136 阅读(2453) 评论(0) 推荐(0)