摘要:
//下面是需要被调用的类和方法,其中T要是传过去的类型 public class InsertToDataBaseOnBack { public string TableName{get;set;} public void AddDataFromFileAndTemplate<T>() where 阅读全文
摘要:
上面两个标红的区域都写上才能设置 grid列里的时间格式。 阅读全文
摘要:
下面是循环的全过程: var treeList = $("#treelist").data("kendoTreeList"); //实例化treelist控件 var view = treeList.dataSource.view(); //取出来treelist里的数据 $(view).each(function(index, node) { //逐行循环 var typeId =... 阅读全文
摘要:
解决方法:加上type="text"就能正常显示了。 原解决方法出处:https://www.telerik.com/forums/datepicker-and-currencytextbox-stopped-working-in-chrome-56 Telerik论坛管理员回答内容如下: Hell 阅读全文
摘要:
一、前台显示 备注:一次性取出所有节点 二、后台实现 1、获取树的主方法 根据条件获得树型控件里的所有需要的数据 递归实现父子级绑定的关系 三、技巧 1、根据数据里的id获得当前记录(主键一定要用全小写的id,全部小写,我为什么这么强调?!因为我在这个问题上怀疑人生了一个多小时) var barDa 阅读全文
摘要:
事情的原委: 今天遇到一个问题:一个数据表case_folder_info想要实现自定义排序功能,就在表里新加了一个字段SORT_NUMBER,由于表里存在已有数据,所以这个SORT_NUMBER字段都为空,但要想实现上移、下移、置顶等功能的话,需要里面有默认数据,所以我想给这个字段里默认有一些排序 阅读全文
摘要:
BACKUP DATABASE [POS_YiZhuang]TODISK = N'C:\数据库\POS_YiZhuang2016-09-20-3.bak'WITHNAME = N'POS_YiZhuang - 备份',NOFORMAT, NOINIT, SKIP,STATS = 5 --POS_Yi 阅读全文
摘要:
using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebContro 阅读全文
摘要:
1、在windows服务下面获得根目录: string assemblyFilePath = Assembly.GetExecutingAssembly().Location; string assemblyDirPath = Path.GetDirectoryName(assemblyFilePa 阅读全文
摘要:
public static void UnZipFile(string strFromFilePath, string strToFilePath) { Process proc = new Process(); try { proc.StartInfo.FileName = "cmd.exe"; 阅读全文