摘要:
12:DateTime.Now.ToString("hh:mm:ss")24:DateTime.Now.ToString("HH:mm:ss") 阅读全文
摘要:
禁用: ALTER TABLE trig_example DISABLE TRIGGER trig1 GO 恢复: ALTER TABLE trig_example ENABLE TRIGGER trig1 GO ------------------------------------------... 阅读全文
摘要:
/****** Script for SelectTopNRows command from SSMS ******/alter PROCEDURE QueryWeight @myResult NVARCHAR(MAX) OUTPUTASBEGINIF((SELECT COUNT(column_name) FROM myWeight WHERE fname = '曲宗雪' and 查看 = '1') < 2)BEGINSET @myResult = (SELECT column_name FROM myWeight WHERE fname = '曲 阅读全文
摘要:
declare @objid int,@objname char(40)set @objname = 'dbo.MyTestView'select @objid = id from sysobjects where id = object_id(@objname)select FID,FName ,'Column_name' = name ,'' AS 查看 ,'' AS 更新 ,'' AS 删除 ,'' AS 新增 into MyWeight from syscolumns,MyWorker wh 阅读全文
摘要:
USE [toy]GO/****** Object: StoredProcedure [dbo].[L2U] Script Date: 03/19/2014 13:15:27 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER PROCEDURE [dbo].[L2U] (@n_LowerMoney numeric(15,2),@v_TransType int,@RET VARCHAR(200) output)AS Declare @v_LowerStr VARCHAR(200) -- 小写金额 Declare @v_Up... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Data.SqlClient;using System.Data;using System.Windows.Forms;using System.Drawing;namespace DAL{ public static class DbOperation { private static string connStr = "Data Source=127.0.0.1;Initial Catalog=Toy;Pers... 阅读全文
摘要:
ALTER FUNCTION getPinYin(@HZ NVARCHAR(4000))RETURNS NVARCHAR(4000)ASBEGINDECLARE @word NCHAR(1)DECLARE @PY NVARCHAR(4000)SET @PY = ''WHILE LEN(@HZ) > 0 BEGIN SET @word = LEFT(@HZ,1) SET @PY = @PY + (CASE WHEN UNICODE(@word) BETWEEN 19968 AND 19968+20901 THEN (SELECT TOP ... 阅读全文
摘要:
1.操作系统底层的那些服务?2.HTTP隧道技术3.键盘钩子4.面向对象的好处,这样实现5.三层架构6.反射7.操作BIOS8.远程控制编写程序9.远程调用摄像头10.权限系统11.UI配置系统,皮肤引擎12.升级用户的文件,远程下载,不下载不能用13.研发软件要想好客户群,选择易于实现的用户14.键盘钩子15.让程序以服务在后台运行,不显示。16.外设的端口17.自动化机械系统和计算机程序的运行原理有着惊人的相似18.sql 作业,事务,锁19.sql字符串拼接20.正则表达式21.怎样让我的软件具有学习能力? 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Management;namespace Utility{ public static class LocalMachine { //获取IP地址: /// /// 获取客户端内网IP地址 /// /// public static string getClientLocalIPAddress() ... 阅读全文
摘要:
1.HTML2.DIV3.CSS4.JS脚本5.javascript6.J-Query7.AJAX8.c#9.IIS配置10.ASP.NET怎样添加控件,与winform的控件添加方式有哪些区别?11.ASP.NET的页面表现层是怎样美化的,怎样完美的与HTML,javascript,ajax,css,div,jquery等结合融合? 阅读全文