11 2022 档案
摘要:创建存储过程 DELIMITER $$ create procedure T_PROC( IN ExeType VARCHAR(64), IN in_a VARCHAR(64), IN in_b VARCHAR(64), OUT `msg` VARCHAR(64) ) BEGIN IF(ExeTyp
阅读全文
摘要:创建存储过程 USE [test] GO /****** Object: StoredProcedure [dbo].[table2] Script Date: 11/28/2022 10:38:03 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIE
阅读全文
摘要:第一步:引入System.ServiceModel.dll 第二步 定义一个WCF接口: //定义接口 [ServiceContract] interface IGetInfo { [OperationContract] DateTime GetDateTime(); [OperationContr
阅读全文
摘要:using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Threading.Tasks; namespace LogHelp{ public class LogHelpe
阅读全文
摘要:/// <summary> /// 增删改操作类 /// </summary> /// <param name="sql">执行的sql</param> /// <returns></returns> public static int ExecuteSql(string sql) { try {
阅读全文