摘要:
$('#dg').datagrid({ url: "xxx.ashx", pagination: true, pageSize: 2, loadMsg:"正在努力加载数据,请稍后...", singleSelect:true, pageList: [2, 5, 10, 50], columns: [[ { field: 'UserName', title: '用户名', width: 100, sortable: true }, { field: 'UserId', title: ' 阅读全文
摘要:
控制台应用程序:Environment.CurrentDirectory、Directory.GetCurrentDirectory()windows服务:Environment.CurrentDirectorywindows服务安装成功后:1. System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName2.////// 获取服务应用程序的安装路径(或者当前安装目录)////// /// public static string GetWindowsServiceInstallPath(string ServiceNam 阅读全文