摘要:
作用:对数据进行格式化 ①其9代表:如果存在数字则显示数字,不存在则显示空格 ②其0代表:如果存在数字则显示数字,不存在则显示0,即占位符。 ③其FM代表:删除如果是因9带来的空格,则删除之
阅读全文
posted @ 2023-05-09 14:37
漂乎兮乎
阅读(801)
推荐(0)
摘要:
1、CAST和CONVERT关键字 https://blog.csdn.net/lengxuan001/article/details/120422416 2、时间格式 https://www.w3school.com.cn/sql/func_convert.asp 日期+1: DATEADD(da
阅读全文
posted @ 2023-05-09 08:40
漂乎兮乎
阅读(21)
推荐(0)
摘要:
1、泛型类 避免了类型膨胀和类成员膨胀 namespace Generic { internal class Program { static void Main(string[] args) { Apple apple=new Apple() { color="red"}; Book book=n
阅读全文
posted @ 2023-02-24 17:11
漂乎兮乎
阅读(16)
推荐(0)
摘要:
UPDATE: update 表名 set 列名1=value1,列名2=value2 ... update a set a.name=b.name from STUDENTSas a inner join Class as b on a.StuId = b.ClassId update Class
阅读全文
posted @ 2020-03-11 22:46
漂乎兮乎
阅读(1543)
推荐(1)
摘要:
https://www.cnblogs.com/LCLBook/p/11697530.html
阅读全文
posted @ 2020-03-02 21:42
漂乎兮乎
阅读(149)
推荐(0)
摘要:
服务器端代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System
阅读全文
posted @ 2020-02-27 23:16
漂乎兮乎
阅读(4038)
推荐(0)
摘要:
private void txtMsg_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == '\r') { this.btnSendMsg_Click(sender, e); } }
阅读全文
posted @ 2020-02-27 15:50
漂乎兮乎
阅读(2520)
推荐(0)
摘要:
foreach(Control c in groupBox1.Controls) { if(c is TextBox) { (TextBox)c.Text = ""; } }
阅读全文
posted @ 2020-02-27 15:49
漂乎兮乎
阅读(693)
推荐(0)
摘要:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Li
阅读全文
posted @ 2020-02-26 23:25
漂乎兮乎
阅读(1465)
推荐(0)
摘要:
using System.Net; using System.Net.Sockets; /// <summary> /// 获取本机IP地址 /// </summary> /// <returns>本机IP地址</returns> public static string GetLocalIP()
阅读全文
posted @ 2020-02-26 22:50
漂乎兮乎
阅读(540)
推荐(0)