上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 76 下一页
摘要: 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 阅读全文
posted @ 2020-11-27 21:40 FredGrit 阅读(102) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE `person5` ( `Id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `Name` longtext, `PId` int NOT NULL, PRIMARY KEY (`Id` 阅读全文
posted @ 2020-11-25 17:37 FredGrit 阅读(149) 评论(0) 推荐(0) 编辑
摘要: using System.Text.Json;using MySql.Data.MySqlClient; using Dapper;using System.IO; static void MySQLDemo() { string selectSQL = "select * from salesor 阅读全文
posted @ 2020-11-24 20:50 FredGrit 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 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= 阅读全文
posted @ 2020-11-24 20:29 FredGrit 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1.Install-Package Unity -Version 4.0.1 2. using Microsoft.Practices.Unity; using WpfApp9.IModels; using WpfApp9.Models; using WpfApp9.ViewModel; names 阅读全文
posted @ 2020-11-17 15:55 FredGrit 阅读(93) 评论(0) 推荐(0) 编辑
摘要: using MySql.Data.MySqlClient; using Dapper; static void MySqlDapperDemo() { string connString = "Server=localhost;Port=3306;Database=firstSchema;Uid=U 阅读全文
posted @ 2020-11-09 15:11 FredGrit 阅读(236) 评论(0) 推荐(0) 编辑
摘要: The json string has additional message as below,I'll extract the data part and convert it to DataTable via JObject,JToken,Jarray in NewtonSoft.Json. { 阅读全文
posted @ 2020-10-27 11:37 FredGrit 阅读(133) 评论(0) 推荐(0) 编辑
摘要: static bool isStop = true; static void Main(string[] args) { Thread t = new Thread(PrintX); t.Start(); isStop = t.Join(TimeSpan.FromSeconds(10)); Cons 阅读全文
posted @ 2020-10-26 10:54 FredGrit 阅读(88) 评论(0) 推荐(0) 编辑
摘要: static void WebClientDownLoadFileDemo() { string url = "http://dl.booktolearn.com/ebooks2/computer/gamedevelopment/9781789532050_Learning_C_Unity_2019 阅读全文
posted @ 2020-10-23 14:18 FredGrit 阅读(92) 评论(0) 推荐(0) 编辑
摘要: string URI = "http://www.myurl.com/post.php"; string myParameters = "param1=value1&param2=value2&param3=value3"; using (WebClient wc = new WebClient() 阅读全文
posted @ 2020-10-22 11:11 FredGrit 阅读(84) 评论(0) 推荐(0) 编辑
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 76 下一页