会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小锋神
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
54
下一页
2014年5月6日
easy UI获取数据,打开毕弹窗
摘要: var rows = $('#List').datagrid('getSelections'); $("#modalwindow").html(""); $("#moda...
阅读全文
posted @ 2014-05-06 23:38 小锋神
阅读(1733)
评论(0)
推荐(0)
2014年5月5日
easyUi 的DataGrid的绑定
摘要: html代码:@{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Index_Layout.cshtml";} GridView @{ Layout = null;}...
阅读全文
posted @ 2014-05-05 23:54 小锋神
阅读(11059)
评论(0)
推荐(1)
2014年5月3日
MVC异步分页
摘要: 如图:1: 控制器代码// // GET: /AjaxUser/ shopEntities shop = new shopEntities(); public ActionResult Index() { return V...
阅读全文
posted @ 2014-05-03 21:41 小锋神
阅读(2392)
评论(1)
推荐(1)
MVC分页
摘要: using System.Collections.Generic;using System.Collections.Specialized;using System.Linq;using System.Web;using System.Text;using System.Web.Mvc;using ...
阅读全文
posted @ 2014-05-03 15:25 小锋神
阅读(3035)
评论(3)
推荐(0)
MVC的Ajax异步请求
摘要: @using (Ajax.BeginForm("GetTime","order",new AjaxOptions() { Confirm="你确认这么做吗?", HttpMethod="post", ...
阅读全文
posted @ 2014-05-03 15:22 小锋神
阅读(591)
评论(0)
推荐(1)
2014年4月30日
DataGridView标题添加CheckBox
摘要: http://files.cnblogs.com/xiaofengfeng/HeaderCheckBox.rar
阅读全文
posted @ 2014-04-30 18:49 小锋神
阅读(705)
评论(0)
推荐(0)
2014年4月25日
C#里,如何模拟DataGridView里的一个Cell的Click事件。
摘要: [csharp]view plaincopy//假设dgv是一个DataGridView。//我要点击第3行的第二个cell。//当然,要有一个点击事件。假设dgv_CellClick是那个点击事件。dgv_CellClick(dgv,newDataGridViewCellEventArgs(1,2...
阅读全文
posted @ 2014-04-25 14:19 小锋神
阅读(1949)
评论(0)
推荐(0)
2014年4月11日
DataGridView设置列标题不换行
摘要: dgv.ColumnHeadersDefaultCellStyle.WrapMode = DataGridViewTriState.False; //设置列标题不换行// 设定包括Header和所有单元格的列宽自动调整dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;dgv.ColumnHeadersDefaultCellStyle.WrapMode = DataGridViewTriState.False; //设置列标题不换行// 设定不包括Header所有单元格的行高自动调整dgv.AutoSizeRow
阅读全文
posted @ 2014-04-11 17:28 小锋神
阅读(9059)
评论(2)
推荐(0)
2014年3月21日
解决 dotNetZip 解压乱码的问题,支持ZIP分卷解压缩
摘要: using (ZipFile zip = ZipFile.Read("D:\\test\\2007.zip",System.Text.Encoding.Default)){ foreach (ZipEntry ze in zip) { ze.Extract("D:\\test\\pwdata"); }}源码下载 http://files.cnblogs.com/xiaofengfeng/WinExtractTest.rar
阅读全文
posted @ 2014-03-21 09:38 小锋神
阅读(1001)
评论(0)
推荐(0)
2014年2月28日
c#录音和放音,超简单!不用DirectX
摘要: 最近在做android与C#录音并互相通信的小东西。但是卡在C#录音这儿了。找了好久,说的都是DirectX,可是我总是安装不上,这才找到了这个简单的录音方法。当然,如果你想要录得好并且处理音频,那还是用用DirectX吧!原文:http://www.cnblogs.com/zrx401558287/archive/2008/11/28/1343160.htmlusing System.Runtime.InteropServices; [DllImport("winmm.dll", EntryPoint = "mciSendString", CharSe
阅读全文
posted @ 2014-02-28 12:29 小锋神
阅读(15502)
评论(6)
推荐(1)
上一页
1
2
3
4
5
6
7
8
9
···
54
下一页
公告