04 2019 档案
摘要:MySqlParameter p1 = new MySqlParameter("id", MySqlDbType.Int32); p1.Value = sid; MySqlParameter p2 = new MySqlParameter("result", MySqlDbType.Int32);
阅读全文
摘要:1、创建DbHelperMySQL类 2、复制代码到类中 using System; using System.Collections; using System.Collections.Specialized; using System.Data; using MySql.Data.MySqlCl
阅读全文
摘要:一、正常调用 1、创建DBHelper帮助类 2、复制以下代码到类中 using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq;
阅读全文
摘要:1、创建ApiHelper类 2、复制以下代码到类中 using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.T
阅读全文
摘要:后台给三种值({0:''},{1:'是'},{2::'否'}),前端根据值显示对应内容。 value == 0 ? ' ' : value == 1 ? '是' : '否'
阅读全文
摘要:string str = "123abc456"; int i = 3; 1. 取字符串的前i个字符 str=str.Substring(0,i); 2. 去掉字符串的前i个字符 str=str.Substring(i); 3. 从右边开始取i个字符 str=str.Substring(str.Le
阅读全文

浙公网安备 33010602011771号