09 2009 档案

摘要:Application.StartupPath 阅读全文
posted @ 2009-09-21 14:32 汉城 阅读(712) 评论(0) 推荐(0)
摘要:             Microsoft.Office.Interop.Excel.Range oCell = range[rowIndex, columnIndex] as Microsoft.Office.Interop.Excel.Range;    ... 阅读全文
posted @ 2009-09-21 13:58 汉城 阅读(1791) 评论(0) 推荐(0)
摘要:         /// <summary>         /// 插入数据         /// </summary>   ... 阅读全文
posted @ 2009-09-21 13:55 汉城 阅读(1039) 评论(0) 推荐(0)
摘要:        /// <summary>         /// 获取行号         /// </summary>    ... 阅读全文
posted @ 2009-09-21 13:50 汉城 阅读(1568) 评论(0) 推荐(0)
摘要:         /// <summary>         /// 保存Excel文件         /// </summary>  ... 阅读全文
posted @ 2009-09-21 13:44 汉城 阅读(445) 评论(0) 推荐(0)
摘要:  最近开发 Winform 应用程序,涉及到 嵌入Excel 文件。技术验证也快结束,需要整理一下帮助文档了。。 用webBrowser控件 打开Excel 。         /// <summary>        ///  &... 阅读全文
posted @ 2009-09-21 12:26 汉城 阅读(7001) 评论(9) 推荐(3)
摘要:          <asp:TextBox ID="txt_OUT_Purpose" runat="server" Height="54px" onpaste="return false" TextBoxMode=&quo... 阅读全文
posted @ 2009-09-07 15:35 汉城 阅读(375) 评论(0) 推荐(0)
摘要:原文地址 http://www.cnblogs.com/newwind521/archive/2007/04/02/697356.html 谢谢博主         public static void ExportDataGridViewToExcel(DataGridView dataGridview1)  &... 阅读全文
posted @ 2009-09-07 14:47 汉城 阅读(267) 评论(0) 推荐(0)
摘要:DataGridView 导出时出现的问题。 可能grid行的单元的没有值。   ------------------------------------------------------------------------------ if (dataGridview1.Rows[j].Cells[k].Value != null) {    &... 阅读全文
posted @ 2009-09-07 14:42 汉城 阅读(512) 评论(0) 推荐(0)
摘要:TextBox    可以输入  员工编号、员工姓名、注册账号 select * from V_EmployeeInfo   where (Status=N'已入职' or Status = '已注销')  AND emp_CompanyNo = '1100' and (employeeNo='dzLi' or emp_Emp... 阅读全文
posted @ 2009-09-03 10:36 汉城 阅读(223) 评论(0) 推荐(0)
摘要:    comboBox.DataSource = ds.Tables[0]; comboBox.DisplayMember = "Com_CompanyName"; comboBox.ValueMember = "Com_CompanyNo"; comboBox.Items.Insert(0, "--请选着—");... 阅读全文
posted @ 2009-09-02 17:44 汉城 阅读(1353) 评论(0) 推荐(0)
摘要:private void dataGridView1_Scroll(object sender, ScrollEventArgs e)         {             if (e.ScrollOrientat... 阅读全文
posted @ 2009-09-01 15:16 汉城 阅读(644) 评论(0) 推荐(0)
摘要:private void dataGridView1_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e)         {            ... 阅读全文
posted @ 2009-09-01 15:14 汉城 阅读(1222) 评论(0) 推荐(0)
摘要:public class DataSetCompare    {        SqlConnection _Comm = null;        DataSet dsEmployee = null;     ... 阅读全文
posted @ 2009-09-01 15:07 汉城 阅读(350) 评论(0) 推荐(0)