2008年11月29日
摘要: 使用ClickOnce细分发布版本 ClickOnce是微软在.NET 2.0框架中发布的一项技术,允许大家在Visual Studio中方便地部署和更新.NET的Windows应用程序。部署功能是通过把应用程序文件复制到一个文件夹中、FTP目录中或者某个Web位置上,并同时附加一个清单文件来实现的。清单文件是一个具有.application扩展名的XML文件,它包含了所有程序文件的... 阅读全文
posted @ 2008-11-29 17:51 少 阅读(3166) 评论(0) 推荐(1) 编辑
摘要: ClickOnce ClickOnce 是一种部署技术,使用该技术可创建自行更新的基于 Windows 的应用程序,这些应用程序可以通过最低程度的用户交互来安装和运行。ClickOnce 部署克服了部署中所固有的三个主要问题: 更新应用程序的困难。 使用 Microsoft Windows Installer 部署,每次应用程序更新,用户都必须重新安装整个应用... 阅读全文
posted @ 2008-11-29 17:45 少 阅读(965) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.... 阅读全文
posted @ 2008-11-29 11:18 少 阅读(323) 评论(0) 推荐(0) 编辑
  2008年11月28日
摘要: SSIS 设计简介 1.选择Business Intelligence Project 之Integration Servers Project 2.右键单击新建数据源 3.新建SSIS包 4.右键单击“连接管理器”空白处,选择“从数据源新建连接”。 5.把所需要的数据源选中(按Ctrl键可多选),单击“确定”。 6.从工具箱中拖拽控件到右边窗体中 7.双击... 阅读全文
posted @ 2008-11-28 19:20 少 阅读(947) 评论(0) 推荐(0) 编辑
摘要: 一,读取备份文件 SQL: Restore filelistonly from disk=’’ 读取差异和完整备份文件 Restore headeronly from disk=’’ 读取日志备份文件 SQL Litespeed: Master..xp_restore_filelistonly @Filename=’’读取差异和完整备份文件 Master.. xp_restore_headeron... 阅读全文
posted @ 2008-11-28 19:17 少 阅读(449) 评论(0) 推荐(0) 编辑
摘要: public string[] GetLocalMachineInfo(string Type) { switch (Type.ToUpper()) { case "IP": IPHostEntry IPHE = new IPHostEntry(); ... 阅读全文
posted @ 2008-11-28 18:32 少 阅读(261) 评论(0) 推荐(0) 编辑
摘要: public void BindTreeView(DataTable dt,ref TreeView tvname) { //datatable.DefaultView.Sort("NodeSeq,ParentNode"); tvname.Nodes.Clear(); //创建根节点 ... 阅读全文
posted @ 2008-11-28 18:31 少 阅读(744) 评论(0) 推荐(0) 编辑
摘要: public void SetListBox(ListBox TargetBox, DataTable dt, int Col) { TargetBox.Items.Clear(); foreach (DataRow dr in dt.Rows) { TargetB... 阅读全文
posted @ 2008-11-28 18:30 少 阅读(357) 评论(0) 推荐(0) 编辑
摘要: public void ShowTxtInfo(ListView lv,ref TextBox txt) { txt.Text = ""; string tmpstr = string.Empty; for (int i = 0; i < lv.Columns.Count; i++) ... 阅读全文
posted @ 2008-11-28 18:28 少 阅读(204) 评论(0) 推荐(0) 编辑
摘要: public void SetComboBox(DataTable dt, ComboBox cbo) { cbo.DataSource = dt; cbo.DisplayMember = dt.Columns[0].ToString(); cbo.ValueMember = dt.Colum... 阅读全文
posted @ 2008-11-28 18:26 少 阅读(176) 评论(0) 推荐(0) 编辑