using System; using System.Collections.Generic; using System.Linq; //using System.Windows; //using System.Windows.Forms; using System; using System.Co ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System ...
分类:
其他好文 时间:
2020-03-11 15:32:14
阅读次数:
137
最根本的就是 1.使用ORM LINQ 2.如果使用SQL: (1)前端数据验证 (2)接口参数验证:强类型 (3)使用sql时使用Sql对应帮助类进行sql参数化,比如: (4)正则表达式验证、对字符串进行过滤 参考资料 "使用StringBuilder与SqlParameter" "如何从根本上 ...
分类:
数据库 时间:
2020-03-10 21:47:00
阅读次数:
73
今天,在vs2005下将SqlDataReader 转换为DataTable时,出现了 "值类型与列类型不匹配不能在 ID 列中存储 <30>。所需类型是 DataRow"的错误码,后来查了后,原来是这里的问题,查找相关资料后发现,(把蓝字部分修改成红字部分),修改成功 public static ...
分类:
其他好文 时间:
2020-03-09 13:54:52
阅读次数:
54
aa 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Config ...
分类:
数据库 时间:
2020-03-06 19:46:53
阅读次数:
74
ArrayList实现了System.Collections空间下的IEnumerable接口,这个接口是非泛型的。如果要使用LINQ,必须声明枚举变量的类型,依赖Cast查询运算符转换枚举类型。 using System; using System.Collections; using Syste ...
分类:
其他好文 时间:
2020-03-06 01:22:46
阅读次数:
74
winform应用程序是一种智能客户端技术,可以使用其来帮助我们获得信息或传输信息。 XAML VS中新建窗体应用程序 程序入口 Program.cs using System; using System.Collections.Generic; using System.Linq; using S ...
说明:一个用C#编写的WebAPI操作类,只写了Get Post 部分。 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.L ...
以上是代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication ...
分类:
编程语言 时间:
2020-03-05 00:49:21
阅读次数:
87
注意:无特殊说明,Flutter版本及Dart版本如下:Flutter版本:1.12.13+hotfix.5Dart版本:2.7.0DataTableDataTable控件显示表格数据,DataTable需要设置行和列,用法如下:DataTable(columns:[DataColumn(label:Text(‘姓名‘)),DataColumn(label:Text(‘年龄‘)),],rows:[
分类:
其他好文 时间:
2020-03-04 22:42:45
阅读次数:
62