摘要:
var rows = $('#List').datagrid('getSelections'); $("#modalwindow").html(""); $("#moda... 阅读全文
摘要:
html代码:@{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Index_Layout.cshtml";} GridView @{ Layout = null;}... 阅读全文
摘要:
如图:1: 控制器代码// // GET: /AjaxUser/ shopEntities shop = new shopEntities(); public ActionResult Index() { return V... 阅读全文
摘要:
using System.Collections.Generic;using System.Collections.Specialized;using System.Linq;using System.Web;using System.Text;using System.Web.Mvc;using ... 阅读全文
摘要:
@using (Ajax.BeginForm("GetTime","order",new AjaxOptions() { Confirm="你确认这么做吗?", HttpMethod="post", ... 阅读全文
摘要:
http://files.cnblogs.com/xiaofengfeng/HeaderCheckBox.rar 阅读全文
摘要:
[csharp]view plaincopy//假设dgv是一个DataGridView。//我要点击第3行的第二个cell。//当然,要有一个点击事件。假设dgv_CellClick是那个点击事件。dgv_CellClick(dgv,newDataGridViewCellEventArgs(1,2... 阅读全文
摘要:
dgv.ColumnHeadersDefaultCellStyle.WrapMode = DataGridViewTriState.False; //设置列标题不换行// 设定包括Header和所有单元格的列宽自动调整dgv.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;dgv.ColumnHeadersDefaultCellStyle.WrapMode = DataGridViewTriState.False; //设置列标题不换行// 设定不包括Header所有单元格的行高自动调整dgv.AutoSizeRow 阅读全文
摘要:
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 阅读全文
摘要:
最近在做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 阅读全文