摘要:
USE [Dev] GO CREATE SYNONYM [dbo].[User_Table] FOR [Test].[dbo].[User_Table] GO 阅读全文
摘要:
public class SQLiteHelper { private static readonly string conStr = ConfigurationManager.AppSettings["SQLiteDbConn"].ToString() /// <summary> ///增、删、改 阅读全文
摘要:
1、首先在线安装SQLite 主要的引用 2.App.config配置文件 <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <!-- For more information on Entity Fram 阅读全文
摘要:
--用中括号实现两个字段组合成一个并显示 select Phone as 手机号, (CAST(Name as varchar(20))+'['+ CAST (ShopNo as varchar(20))+']') as 姓名工号 From Shopping (NOLOCK) t order by 阅读全文
摘要:
自动作业执行SQL存储过程带返回参数 DECLARE @StartTime DATETIME; DECLARE @EndTime DATETIME; DECLARE @rt_code2 NVARCHAR(1000); DECLARE @rt_msg2 NVARCHAR(1000); EXEC p_I 阅读全文
摘要:
定义一个销售接口 ICarSalsecs public interface ICarSalsecs { /// <summary> /// 优惠折扣方案接口 /// </summary> /// <param name="policType">打折类型</param> /// <param name 阅读全文
摘要:
USE [test] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER function [dbo].[GetNameList](@Ruleids nvarchar(MAX)) returns nvarchar(MAX) as beg 阅读全文
摘要:
StringBuilder msg = new StringBuilder(); msg.Append("【客户消费订单消息提醒】"+ OrderType); switch (OrderType) { case "汽车售后申请": var returnSaleOrder= GetReturnSale 阅读全文
摘要:
NameValueCollection允许保存具有相同Key值的数据; 而Dictionary 则不允许这么做,它的Key是具有唯一性的, HashTable 是唯一key 无序Dictionary 是唯一key 但是可以排序NameValueCollection key 可以重复 //第一 pub 阅读全文