
database backup
文章平均质量分 68
maicar1235
不是每个在你身上拉屎的都是你的敌人。
不是每个把你从屎堆中拉出来的都是你的朋友。
而且,当你陷入深深的屎堆当中(身陷困境)的时候,请你闭上你嘴!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Control.ControlCollection.Item Property (String)
The Name property of a Control corresponds to the key for a Control in the Control.ControlCollection转载 2008-10-24 18:43:00 · 269 阅读 · 0 评论 -
WinForm程序设计-系统托盘NotifyIcon控件
NotifyIcon控件(1)新创建一个项目,修改Form1的Text属性为testNotifyIcon;(2)向Form1窗口中添加一个NotifyIcon控件,修改其Name属性为 MyNotifyIcon。修改其Text属性为 testNotifyIcon,与应用程序的标题相同。这是因为NotifyIcon显示在系统托盘中时,Text属性中保存的 文本为鼠标移动到程序图标上时的提示信转载 2008-10-23 18:13:00 · 302 阅读 · 0 评论 -
URL Rewriting with ASP.NET
http://www.codeproject.com/KB/aspnet/urlrewriter.aspxWeb.config Maps from old website to new website using Regular Expressions转载 2008-10-22 16:52:00 · 372 阅读 · 0 评论 -
Javascript: 停止動作
http://www.study-area.org/coobila/tutorial_258.html阿瑟 發表STEP1:【前言】阿得是常常用到這個功能,像是人家按下一個連結,如果進入的網站需要收費,阿得希望讓網友進去之前會先收到confirm視窗決定是否要進入,如果使用者按下否,那...就取消動作...,請大家注意一下,下面的Javascript經過阿得測試好像與一些版本的Nets转载 2008-10-24 17:01:00 · 445 阅读 · 0 评论 -
四个textbox,想做一个输入ip地址的框框
这个是孟子e章的文章http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> protected void Page_Load(object sender, EventArgs e) { TextBox1.Attributes.Add("onkeydown", "checkInput(this,event)");转载 2008-10-24 15:43:00 · 335 阅读 · 0 评论 -
C#编写NotifyIcon
1.设置窗体属性showinTask=false 2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。 3.添加窗体最小化事件(首先需要添加事件引用): // this.SizeChanged += new System.EventHandler(this.Form1_SizeChanged); //上面一行是主窗体转载 2008-10-23 18:13:00 · 284 阅读 · 0 评论 -
C# WinForm窗口最小化到系统托盘
C#编写最小化时隐藏为任务栏图标的Window appllication. 1.设置WinForm窗体属性showinTask=false2.加notifyicon控件notifyIcon1,为控件notifyIcon1的属性Icon添加一个icon图标。3.添加窗体最小化事件(首先需要添加事件引用): this.SizeChanged += new System.EventHandl转载 2008-10-23 18:12:00 · 238 阅读 · 0 评论 -
C#中Show()和ShowDialog()的区别
窗体显示中form1.Show()和form1.ShowDialog()的区别窗体和对话框要么是有模式的,要么是无模式的。“模式”窗体或对话框必须关闭或隐藏,然后您才能继续使用应用程序的其余部分。显示重要消息的对话框应始终是有模式的。模式对话框的一个示例是 Visual Studio 中的“关于”对话框。MessageBox是您可以使用的一个模式窗体。有模式对话框显示出来以转载 2008-10-23 11:41:00 · 3931 阅读 · 1 评论 -
sqlhelper.cs
http://www.sharpdeveloper.net/source/SqlHelper-Source-Code-cs.html转载 2008-10-09 11:17:00 · 296 阅读 · 0 评论 -
c# 中使用 sqldmo
.Script((SQLDMO_SCRIPT_TYPE.SQLDMOScript_Drops,null,SQLDMO_SCRIPT_TYPE.SQLDMOScript_Drops);SQL-DMO: Search and regenerate stored procedures in secondshttp://www.codeproject.com/KB/database/SQLDMO_转载 2008-10-10 18:08:00 · 952 阅读 · 0 评论 -
Multithreading in .NET
http://www.codeproject.com/KB/dotnet/multithread.aspxCreating samples1. Extract all samples into a new directory2. Open command window and move to directory3. Compile sample as: csc sample.cs3. Run sa转载 2008-10-14 09:00:00 · 302 阅读 · 0 评论 -
微软.Net开发中的多线程编程总结
文将对微软.Net开发中的多线程编程进行一个简单的总结,相信对大家会有所帮助的。下面就具体来看看: 不需要传递参数,也不需要返回参数 我们知道启动一个线程最直观的办法是使用Thread类,具体步骤如下:以下是引用片段:ThreadStart threadStart=new ThreadStart(Calculate);Thread thread=new T转载 2008-10-14 16:08:00 · 282 阅读 · 0 评论 -
ExportData 方法将失败
FIX: 如果在数据库名称中没有一个空间 SQLDMO ExportData 方法将失败察看本文应用于的产品function loadTOCNode(){}查看机器翻译免责声明文章编号:308860最后修改:2003年10月16日修订:3.2 BUG #: 351436 (SHILOH_BUGS) 症状loadTOCNode(1, symptoms); 如果源数据库的名称包含一个空转载 2008-10-11 12:34:00 · 418 阅读 · 0 评论 -
c# tray
http://www.codeproject.com/KB/cs/Trayminimizer.aspxForm1.csusing System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using Syst转载 2008-10-10 16:06:00 · 410 阅读 · 0 评论 -
SqlBuddy [exclusive access could nout be obtained because the database is in use]错误的解决
http://www.koders.com/?s=SqlBuddy&scope=7P8U5XS5R165PYKSC24CUDPFHC&la=C%23using System;using SQLDMO;namespace SqlBuddy.App.Commands{ /// /// Summary description for RestoreDB. /// public转载 2008-10-14 09:59:00 · 508 阅读 · 0 评论 -
什么是DataDirectory
Hello,I see that one of the new features of SSEv is DataDirectory support.Where is DataDirectory pointing to? Is it the same directory as the program ".exe" file?Thank youTom-------------Hi, |DataDire转载 2008-10-14 09:55:00 · 639 阅读 · 0 评论 -
IP-Address TextBox
http://www.codeproject.com/KB/edit/IPAddressTextBox.aspxSearch ArticlesAuthors-->MessagesJobs Advanced SearchSitemap转载 2008-10-27 10:46:00 · 494 阅读 · 0 评论 -
SQLDMO For C#
http://www.csharphelp.com/archives2/archive342.htmlAll of the operations performed in the example use one or more of the following objects:SQLDMO.Application SQLDMO.SQLServer SQLDMO.Database转载 2008-10-10 09:55:00 · 349 阅读 · 0 评论 -
timer
第243話 C#でタイマーを使うhttp://itpro.nikkeibp.co.jp/article/MAG/20061218/257153/http://www.atmarkit.co.jp/fdotnet/dotnettips/373threadtimer/threadtimer.html转载 2008-10-14 11:57:00 · 316 阅读 · 1 评论 -
C Sharp Java 比較
C Sharp Java 比較http://ja.wikipedia.org/wiki/C_Sharp%E3%81%A8Java%E3%81%AE%E6%AF%94%E8%BC%83A COMPARISON OFMICROSOFTS C# PROGRAMMING LANGUAGETO SUN MICROSYSTEMS JAVA PROGRAMMING LANGUAGEByhttp:转载 2008-10-23 12:32:00 · 337 阅读 · 1 评论 -
教你如何真正玩转XP共享
打开组策略编辑器,依次选择“计算机配置→Windows设置→安全设置→本地策略→用户权利指派”,双击“拒绝从网络访问这台计算机”策略,删除里面的“administrator”账号。这样其他用户就不能够用administrator账号通过网络访问使用Windows XP系统的计算机了。 打开组策略编辑器,依次选择“计算机配置→Windows设置→安全设置→本地策略→安全选项”,双击“网络访问原创 2008-10-21 14:32:00 · 330 阅读 · 0 评论 -
这种方法不用打补丁
问题是: 在C#中如何列出所有的SQL服务器,是用SQLDMO 我用SQLDMO出现问题,首先是强制类型转换时有问题,在我的机器上没问题,在同事的机器上就有为什么啊。错误信息是: “无法将类型为“System.__ComObject”的 COM 对象强制转换为接口类型“SQLDMO.NameList”。此操作失败的原因是对 IID 为“{10022406-E260-11CF-AE68-00AA0转载 2008-09-25 17:36:00 · 305 阅读 · 0 评论 -
在Asp.net中如何用SQLDMO来获取SQL Server中的对象信息
前面写过一篇《如何用SQLDMO在ASP.NET页面下实现数据库的备份与恢复》的随笔,有朋友希望能多介绍一些SQLDMO的用法。现在,我简单介绍一下在Asp.net中如何用SQLDMO来获取SQL Server中的对象信息。首先我们想到的是所在的局域网内有多少SQL Server服务器,知道了服务器,有了登录的用户名和密码,就可以知道在指定的服务器上有多少张表,视图,存储过程,以及每张表转载 2008-09-25 17:29:00 · 210 阅读 · 0 评论 -
Unable to cast object of type 'ClassLibrary1.Class1' to type 'ClassLibrary1.Class1'.
using System;using System.IO;using System.Collections.Generic;using System.Text;using System.Reflection;using Plugin;namespace LoaderContextSample{ /// /// http://www.hanselman.com/blog/ ///转载 2008-09-25 16:49:00 · 265 阅读 · 0 评论 -
SQL Server Backup/Restore Through SQLDMO and C#
http://www.csharphelp.com/archives2/archive345.htmlusing System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Diag转载 2008-09-09 14:27:00 · 410 阅读 · 0 评论 -
用c#备份和还原sql server 2000数据库
using System;using System.Data;using System.Data.SqlClient;namespace bachupsqlserver{ /// /// 备份和还原sql server 2000数据库,在asp.net中文正式版和sql server 2000系统上通过 /// public class BackupData {转载 2008-09-09 13:24:00 · 290 阅读 · 0 评论 -
How to restore your Dotnetnuke database with dbo schema to non dbo environment
Dotnetnukestandard installs using the dbo as the default user. Some hostshowever, like shared hosting service providers, do not allow you to usedbo. So in this case you have to install Dotnetnuk转载 2008-09-09 10:55:00 · 281 阅读 · 0 评论 -
SQL Database Backup scripts
Introduction"An ounce of prevention is worth a pound of cure". This rings truein the context of an enterprise application and a good backup regime isthe prevention for data loss. This set of s转载 2008-09-09 10:41:00 · 223 阅读 · 0 评论 -
小粒度数据库备份
IntroductionWhenever we want to backup or move SQL Server databases, most of usprefer to use a regular backup utility which is available through theEnterprise Manager in SQL Server 2000 or the M转载 2008-09-09 16:47:00 · 333 阅读 · 0 评论 -
SQL Server备份的三个恢复模型
在SQL Server 2000中,有无数种备份数据库的方法。无论你的数据库有多大、改变是否频繁,都有满足你的要求的备份策略。让我们看看几种可以在不同环境下工作的基本备份策略。 本文假定你有备份数据库的权限。也就是说,你要么是系统管理员,要么是db_owner或者backupadministrator。还有,我们还假定你的操作系统提供了访问备份所需要的资源的权利,例如,访问磁盘或者磁带驱动器。转载 2008-09-09 13:25:00 · 261 阅读 · 0 评论 -
updateerror
ex{"Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return any key column information."}针对这个错误的解决方法如下: The OleDbCommandBuilder doesn’t转载 2008-10-15 11:13:00 · 333 阅读 · 0 评论 -
C# News Ticker Multithreaded Application
http://www.ondotnet.com/pub/a/dotnet/2002/10/14/newsticker.htmWriting multithreaded applications is one of the more advanced topics in computer programming. Fortunately, the .NET Framework makes it转载 2008-10-17 09:58:00 · 276 阅读 · 0 评论 -
vb2cshaprp
frmDatabaseBackup.MdiParent = this;frmDatabaseBackup.WindowState = FormWindowState.Maximized;frmDatabaseBackup.Show(); private void DatabaseRestoreToolStripMenuItem_Click(object sende转载 2008-09-28 11:09:00 · 257 阅读 · 0 评论 -
How to create MSSQL Backup with SQLDMO Object
http://www.dotnet-friends.com/fastcode/database/mssql/csharp/6e36a404fc1d43e3a973f9336451fe4c.aspxHow to create MSSQL Backup with SQLDMO ObjectWritten By Omer KamalOn 07/08/2008转载 2008-09-25 17:30:00 · 212 阅读 · 0 评论 -
How do I get a list of SQL Server tables and their row counts?
Obvious methods The most straightforward method for determining the number of rows in a table, is to use the following: SELECT COUNT(*) FROM tablename You can also use the system stored procedure, s转载 2008-09-25 16:33:00 · 237 阅读 · 0 评论 -
Locate SQL Server instances on the local network
SqlServerInfo.cs#region Namespace referencesusing System;using System.Collections;using System.Collections.Specialized;using System.Net;using System.Net.Sockets;using System.Threading;using System.Dat转载 2008-09-25 16:27:00 · 293 阅读 · 0 评论 -
A Setup and Deployment project
http://technet.microsoft.com/zh-cn/sysinternals/k3bb4tfd.aspx演练:部署基于 Windows 的应用程序http://www.codeproject.com/KB/install/DeployUninstall.aspxAdd an uninstall start menu item to your .NET deployment pro转载 2008-10-20 16:25:00 · 306 阅读 · 0 评论 -
C# 安装部署项目
C# 安装部署项目 1 新建安装部署项目 打开VS,点击新建项目,选择:其他项目类型->安装与部署->安装向导(安装项目也一样),然后点击确定。 2 安装向导 关闭后打开安装向导,点击下一步,或者直接点击完成。 3 开始制作 安装向导完成后即可进入项目文件夹: 双击"应用程序文件夹"在右边的空白处右击,选择添加->文件,将你的做的应用程序的可执行文件转载 2008-10-20 15:44:00 · 305 阅读 · 0 评论 -
Getting Started with SQL-DMO
SQL-DMO (SQL Server 2000)SQL-DMO Syntax Conventions SQL-DMO typographical conventions are based on those used in Microsoft® Visual Basic® reference mat转载 2008-10-21 14:41:00 · 277 阅读 · 0 评论 -
Device error or device off-line. See the SQL Server error log for more details
Device error or device off-line. See the SQL Server error log for more details转载 2008-10-21 09:45:00 · 286 阅读 · 0 评论