11 2020 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Excel = Microsoft.Office.Int
阅读全文
摘要:This will set the activity of single cell in datagrid,instead of the whole column with same header. It toggle the validity of the single cell in seper
阅读全文
摘要:CREATE TABLE `person5` ( `Id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `Name` longtext, `PId` int NOT NULL, PRIMARY KEY (`Id`
阅读全文
摘要:using System.Text.Json;using MySql.Data.MySqlClient; using Dapper;using System.IO; static void MySQLDemo() { string selectSQL = "select * from salesor
阅读全文
摘要:using System.Text.Json; static void TextJsonDemo() { var obj = new { Id = 1, Name = "Fred", Age = 33, Org = new[] { new { Id=1, Name="MS" }, new { Id=
阅读全文
摘要:1.Install-Package Unity -Version 4.0.1 2. using Microsoft.Practices.Unity; using WpfApp9.IModels; using WpfApp9.Models; using WpfApp9.ViewModel; names
阅读全文
摘要:using MySql.Data.MySqlClient; using Dapper; static void MySqlDapperDemo() { string connString = "Server=localhost;Port=3306;Database=firstSchema;Uid=U
阅读全文