上一页 1 2 3 4 5 6 7 8 ··· 36 下一页
摘要: 没有禁止之前, 控件把a56爆大奖在线娱乐没有在控件上定义的属性全都显示出来了 a56爆大奖在线娱乐们不想要控件将a56爆大奖在线娱乐们没有定义的属性显示出来, //定义sql string sql = "select * from Students sd inner join StudentClass sc on sd.ClassId = sc.Cl 阅读全文
posted @ 2024-06-12 19:53 龙卷风吹毁停车场 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 常用属性: 1.CustomFormat: 格式化在控件中的日期显示格式 2.Format : 确定日期和时间是用标准格式显示还是用自定义格式显示 常用方法: 获取选择的时间: Convert.ToDateTime( this.dateTimePicker1.value)获取年: Convert.T 阅读全文
posted @ 2024-06-12 16:53 龙卷风吹毁停车场 阅读(1) 评论(0) 推荐(0) 编辑
摘要: private void FrmAddStudent_Load(object sender, EventArgs e) { StudentClassServer studentClassServer = new StudentClassServer(); List<StudentClass> stu 阅读全文
posted @ 2024-06-12 09:36 龙卷风吹毁停车场 阅读(2) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 获取多个结果集 /// </summary> /// <param name="sql"></param> /// <returns></returns> /// <exception cref="Exception"></exception> public st 阅读全文
posted @ 2024-06-12 09:28 龙卷风吹毁停车场 阅读(1) 评论(0) 推荐(0) 编辑
摘要: public static class Verify { /// <summary> /// 验证手机号码 /// </summary> /// <param name="str_handset"></param> /// <returns></returns> public static bool 阅读全文
posted @ 2024-06-11 19:44 龙卷风吹毁停车场 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 需要使用到窗体的 FormClosing 事件 private void FrmMain_FormClosing(object sender, FormClosingEventArgs e) { DialogResult dialogResult = MessageBox.Show("是否确认关闭窗 阅读全文
posted @ 2024-06-11 19:15 龙卷风吹毁停车场 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 定义一个外部的变量,例如a56爆大奖在线娱乐要打开的窗体名称为 "FrmAddStudent" 这些代码在 FrmMain.cs文件中 2. 在 FrmAddStudent 窗体点击关闭的地方 从新初始化 frmAdd 的值为 nulla56爆大奖在线娱乐这点为点击右上角关闭按钮事件 "FormClosed" 阅读全文
posted @ 2024-06-11 17:47 龙卷风吹毁停车场 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. 如果创建 winform 窗体应用(.net Framework) ,那么创建类库的时候就需要选择创建 .net Framework 的类库,否则就睡导致添加引用时出现不兼容情况 2. 出现 :项目“..\Model\Model.csproj”指向“net8.0”。它不能被指向“.NETFra 阅读全文
posted @ 2024-06-11 16:39 龙卷风吹毁停车场 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1. 第一步 2. 第二步: 第三步,把下面这些全安装上 4, 第四步: 在控制面板,将查看方式修改为小图标 5. 找到 "管理工具" 有的电脑叫 "windos工具" 点击进入 6. 找到刚刚安装的IIS 7. 点击鼠标右键,选择添加网站 8, 根据自己情况配置即可9, 注意: 在发布网站之前,需 阅读全文
posted @ 2024-06-05 15:05 龙卷风吹毁停车场 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1、添加服务(Nuget 安装 ) Microsoft.AspNetCore.Authentication.JwtBearer 2. 在 Program.cs 文件配置如下 //添加JWT身份验证服务 builder.Services.AddAuthentication(JwtBearerDefau 阅读全文
posted @ 2024-06-04 21:54 龙卷风吹毁停车场 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 36 下一页