
c#
slm311
这是一个简述
展开
-
C#拼接长字符串,根据是否查询到值来动态赋值。
//查询语句写在这 try { while (reader.Read()) { if (reader.HasRows)原创 2017-12-31 09:17:30 · 585 阅读 · 0 评论 -
C#后台拼接复杂json,并返回前端。
废话不多说,直接上代码C#code if (requestType == "请求的条件") { MySqlDataReader reader = MysqlHelper.ExecuteReader(" SELECT* FROM table where 条件='条件'");//数据库查询语句在这里原创 2018-01-08 22:01:18 · 11613 阅读 · 0 评论