2019年12月26日

sql基础语句

摘要: create database studenton(name=student_data,filename='C:\Program Files\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA\student_data.mdf',size=5,fi 阅读全文

posted @ 2019-12-26 16:59 萌新菜鸟 阅读(877) 评论(0) 推荐(0) 编辑

2019年6月9日

1366 - Incorrect string value:'\xE5\xBC\xA0\xE4\xB8\x89' for column 'name' a 错误修改

摘要: 把name的字符集修改成 utf8 ,然后把表关了从新打开,就可以了 如果还不行,就从新创表,在创表的时候修改name的字符集 如果还不行,就修改my.ini 它在你的mysql安装路径里 [mysql] default-character-set=utf8 [mysqld] character-s 阅读全文

posted @ 2019-06-09 15:08 萌新菜鸟 阅读(4876) 评论(0) 推荐(0) 编辑

2018年12月25日

100以内所有孪生质数

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; //找出100以内的所有孪生质数的代码namespace luansheng 阅读全文

posted @ 2018-12-25 14:21 萌新菜鸟 阅读(2925) 评论(0) 推荐(0) 编辑

C#字体字号的改变

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文

posted @ 2018-12-25 14:20 萌新菜鸟 阅读(3360) 评论(0) 推荐(0) 编辑

C#记事本

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文

posted @ 2018-12-25 14:20 萌新菜鸟 阅读(191) 评论(0) 推荐(0) 编辑

C#求圆的周长、面积、体积

摘要: 窗体应用程序 private void button1_Click(object sender, EventArgs e) { double r; r = Convert.ToInt32(textBox1.Text); textBox2.Text = Convert.ToString(2 * r * 阅读全文

posted @ 2018-12-25 14:19 萌新菜鸟 阅读(2197) 评论(0) 推荐(0) 编辑

C#邮包计费

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文

posted @ 2018-12-25 14:18 萌新菜鸟 阅读(326) 评论(0) 推荐(0) 编辑

C#字符串判断

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文

posted @ 2018-12-25 14:16 萌新菜鸟 阅读(2765) 评论(0) 推荐(0) 编辑

2018年12月7日

用C#编写计算器

摘要: 零有点问题,而且目前只能做一些简单的运算,+、-、*、/、平方、开根号 希望有大佬指正我的错误 感谢 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using S 阅读全文

posted @ 2018-12-07 18:44 萌新菜鸟 阅读(5614) 评论(0) 推荐(0) 编辑

利用Web服务生成产品编号 执行添加操作

摘要: 为什么我想要执行添加操作,却添加不成功,系统提示我comm.ExecuteNonQuery有错误 已找到原因 在 string strsql = "insert into tb_goods(产品编号,产品名称,产品价格,生产日期,产品描述) values('"+Label1.Text+"','" + 阅读全文

posted @ 2018-12-07 18:33 萌新菜鸟 阅读(404) 评论(0) 推荐(0) 编辑

导航