2022年1月18日

PVID vs Native Vlan

摘要: “Native VLAN” is not the same as PVID, although it could be partially implemented using PVID. 阅读全文

posted @ 2022-01-18 18:42 喝咖啡就蒜瓣儿 阅读(189) 评论(0) 推荐(0) 编辑

2020年10月8日

【转】数据库中Schema(模式)概念的理解

摘要: 数据库中Schema(模式)概念的理解 2014-04-25 在学习数据库时,会遇到一个让人迷糊的Schema的概念。实际上,schema就是数据库对象的集合,这个集合包含了各种对象如:表、视图、存储过程、索引等。 如果把database看作是一个仓库,仓库很多房间(schema),一个schema 阅读全文

posted @ 2020-10-08 16:44 喝咖啡就蒜瓣儿 阅读(87) 评论(0) 推荐(0) 编辑

2017年1月19日

路由汇总计算示例

摘要: 要计算路由器的汇总路由,需判断这些地址最左边的多少位相同的。 路由选择表中存储了如下网络:172.16.12.0/24172.16.13.0/24172.16.14.0/24172.16.15.0/24 要计算路由器的汇总路由,需判断这些地址最左边的多少位相同的。计算汇总路由的步骤如下:第一步:将地 阅读全文

posted @ 2017-01-19 10:31 喝咖啡就蒜瓣儿 阅读(5249) 评论(0) 推荐(1) 编辑

2017年1月9日

怎样测试串口和串口线是否正常

摘要: 一步:把串口线或者USB转串口线插到计算机上。 二步:打开串口调试助手 接着选择串口,串口线和 USB 转串口的端口号查看路径: 电脑上--右键--属性--硬件--设备管理器-端口(COM 和LPT),点 开端口前面的+号查看即可。 注释:1、USB-SERIAL CH340(COM4)就是USB转 阅读全文

posted @ 2017-01-09 16:47 喝咖啡就蒜瓣儿 阅读(30795) 评论(0) 推荐(1) 编辑

2015年10月25日

DataTable如何删除特定行

摘要: DataTabledt=dataSet1.table1.GetAllRows(); DataRow[]foundRow =dt.Select("catalogid=0",""); foreach(DataRowrowinfoundRow) { dt.Rows.Remove(row); } GridV... 阅读全文

posted @ 2015-10-25 10:03 喝咖啡就蒜瓣儿 阅读(2491) 评论(0) 推荐(0) 编辑

2015年10月5日

C# 接口的隐式与显示实现及适应场景

摘要: 通俗的来讲,“显示接口实现”就是使用接口名称作为方法名的前缀;而传统的实现方式称之为:“隐式接口实现”。废话不说,例子如下: interface IAnimal { void Dog(); } class Animal:IAnimal { public void ... 阅读全文

posted @ 2015-10-05 17:06 喝咖啡就蒜瓣儿 阅读(347) 评论(0) 推荐(0) 编辑

2015年9月27日

Difference between WCF and Web API and WCF REST and Web Service

摘要: Difference between WCF and Web API and WCF REST and Web Servicehttp://www.dotnet-tricks.com/Tutorial/webapi/JI2X050413-Difference-between-WCF-and-Web-... 阅读全文

posted @ 2015-09-27 08:33 喝咖啡就蒜瓣儿 阅读(189) 评论(0) 推荐(0) 编辑

2015年9月26日

C#创建带参数的线程

摘要: 1、无参数线程的创建Thread thread = new Thread(new ThreadStart(ShowMessage));thread.Start();private void ShowMessage(){ Console.WriteLine("hello world");}2、带一个... 阅读全文

posted @ 2015-09-26 08:19 喝咖啡就蒜瓣儿 阅读(2203) 评论(0) 推荐(1) 编辑

2015年8月14日

Application.DoEvents()和多线程

摘要: 首先将以下代码放到Button事件里面:private void btnStart_Click(object sender, EventArgs e){for (int q = 0; q < 100000; q++){textBox1.Text = q.ToString();}}你会发现当点击Sta... 阅读全文

posted @ 2015-08-14 16:54 喝咖啡就蒜瓣儿 阅读(933) 评论(1) 推荐(0) 编辑

2015年8月6日

.NET Framework 工具

摘要: https://msdn.microsoft.com/zh-cn/library/ms299153(VS.80).aspxSDK 命令提示程序集链接器 (Al.exe)ASP.NET 编译工具 (Aspnet_compiler.exe)ASP.NET 浏览器注册工具 (Aspnet_regbrows... 阅读全文

posted @ 2015-08-06 22:44 喝咖啡就蒜瓣儿 阅读(349) 评论(0) 推荐(0) 编辑

导航