05 2021 档案
摘要:本文转自 https://blog.csdn.net/pinebud55/article/details/52240287 感谢pinebud55分享 之前我们有讨论过c#是如何处理json的,在我的客户端中,需要接收服务端的数据,并且用列表展示出来,列表控件我采用的是winfrom自带的DataG
阅读全文
摘要:1、创建-用匿名对象创建 JObject JObject ob = JObject.FromObject(new { RPT_ID = "getList", pageSize = 100, auth = "myAuthCode", PARAS = new { IDCard = cardNo } })
阅读全文
摘要:private bool GetMedicalAdvice(string zyID, out DataTable dtM, out DataTable dtD) { bool result = false; dtM = null; dtD = null; JObject jo = null; str
阅读全文
摘要:DEV获取GridControl当前行 //直接通过gridView获取当前行 dr=this.gridView1.GetDataRow(this.gridView1.FocusedRowHandle); //通过DataSet获取数据,需要转换行标 dr = ds.Tables[0].Rows[t
阅读全文
摘要:从数据库中读取人员照片信息并加载到图片控件的代码 string conn = "Server=192.168.xx.xx;Database=dbName;User ID=sa;password=pwd"; string strSQL = "select top 1 id,picture from t
阅读全文
摘要:string Age = ""; PeopleInfo _Info; public PeopleInfo Info { get { return _Info; } set { _Info = value; if (_Info != null && _Info.CardNo != "") { this
阅读全文