摘要:
添加主键, ALTER TABLE [表名:OrderInfo] AddPRIMARY KEY ([列名:ProductID, UserID...]) 多个列则是组合主键删除主键, ALTER TABLE [表名:OrderInfo]DROP PRIMARY KEY修改主键,先执行删除 ALTER ... 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) { //从注册表中读取默认浏览器可执行文件路径 RegistryKey key = Registry.ClassesRoot.O... 阅读全文
摘要:
Dapper使用:https://www.cnblogs.com/chengjun/p/6178046.htmlwindows10远程桌面——函数不受支持,这可能是由于 CredSSP 加密 Oraclehttps://blog.51cto.com/13571706/2115320 网站模板:htt 阅读全文
摘要:
USE [db_Test]GOSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOcreate function [dbo].[fn_GetPinyin](@words nvarchar(2000)) returns varchar(8000) as begin... 阅读全文
摘要:
public static class DataTableExtensions { public static List ToDynamic(this DataTable dt) { var dynamicDt = new List(); ... 阅读全文
摘要:
C#发送https请求有一点要注意: ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); httpReque 阅读全文
摘要:
//邮件配置 public static string mail_smtp = System.Configuration.ConfigurationManager.AppSettings["mail_smtp"]; public static string mail_ma... 阅读全文
摘要:
$(function () { if (!placeholderSupport()) { $('[placeholder]').focus(function () { var input = $(this); if (input.val() == input.attr('placeholder'))... 阅读全文
摘要:
例子:select * from tb_students where name='jay'select * from tb_students where name='JAY'这两句查询结果是一样的区分大小写需要加入 collate Chinese_PRC_CS_AS:select * from tb... 阅读全文