上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 52 下一页
摘要: byte[] Strbyte = Encoding.GetEncoding("big5").GetBytes(str); if (Strbyte.Length < len) { Strbyte = Encoding.GetEncoding("big5").GetBytes(str.PadRight( 阅读全文
posted @ 2018-01-16 18:57 LuoCore 阅读(4569) 评论(0) 推荐(0)
摘要: System.Diagnostics.Stopwatch stopwatch = new System.Diagnostics.Stopwatch(); stopwatch.Start(); stopwatch.Stop(); long mill = stopwatch.ElapsedMillise 阅读全文
posted @ 2018-01-15 10:51 LuoCore 阅读(156) 评论(0) 推荐(0)
摘要: 今天闲来无事看到ORm的特性映射sql语句。我就想到datagridview也可以用这个来动态添加列。这样就不用每次都去界面上点开界面填列了。 代码简漏希望有人看到了能指点一二。 先定义好Datagridview要加载的列。 public class Model { [ColumnAttribute 阅读全文
posted @ 2018-01-06 14:17 LuoCore 阅读(826) 评论(3) 推荐(0)
摘要: http://www.jb51.net/article/72259.htm Datagridview添加列: ? 1 2 3 4 5 DataGridViewTextBoxColumn acCode = new DataGridViewTextBoxColumn(); acCode.Name = " 阅读全文
posted @ 2018-01-06 10:41 LuoCore 阅读(24390) 评论(1) 推荐(1)
摘要: https://www.cnblogs.com/iampkm/p/4048697.html 【部分视图】 ASP.NET MVC 里的部分视图,相当于 Web Form 里的 User Control。我们的页面往往会有许多重用的地方,可以进行封装重用。使用 部分视图 : 1. 可以简写代码。2. 阅读全文
posted @ 2018-01-02 20:03 LuoCore 阅读(233) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/anya/article/details/6407280/ 2、删除表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断,只留有rowid最小的记录 delete from people where peopleName in (select 阅读全文
posted @ 2017-12-26 20:21 LuoCore 阅读(196) 评论(0) 推荐(0)
摘要: //try //{ // var httpReq = (HttpWebRequest)HttpWebRequest.Create(new Uri(replaceUrl)); // var httpRes = (HttpWebResponse)httpReq.GetResponse(); // if 阅读全文
posted @ 2017-12-26 20:20 LuoCore 阅读(692) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/zjoch/p/4458516.html 再来我们要怎么解析JSON格示呢?在.net 中,我们很孰悉的JSON.net,没错,我们依然可以在Xamarin中使用他 感谢社群伟大的贡献 下载网址: http://components.xamarin.c 阅读全文
posted @ 2017-12-26 10:22 LuoCore 阅读(239) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/lori/p/5088627.html 阅读全文
posted @ 2017-12-24 22:31 LuoCore 阅读(1010) 评论(0) 推荐(0)
摘要: AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.SetTitle("请您输入管理员密码"); View v = LayoutInflater.From(this.ApplicationContext).Infl 阅读全文
posted @ 2017-12-24 22:17 LuoCore 阅读(757) 评论(0) 推荐(0)
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 52 下一页