摘要:
我们的实例中的所有 jQuery 函数位于一个 document ready 函数中: $(document).ready(function(){ // 开始写 jQuery 代码... }); 简洁写法: $(function(){ // 开始写 jQuery 代码... }); JavaScri 阅读全文
摘要:
下面的 JavaScript 语句向 id="demo" 的 HTML 元素输出文本 "你好 Dolly" : document.getElementById("demo").innerHTML = "你好 Dolly"; 阅读全文
摘要:
1 本例使用该方法来“查找” id="demo" 的 HTML 元素,并把元素内容(innerHTML)更改为 "Hello JavaScript": document.getElementById("demo").innerHTML = "Hello JavaScript";2 asp乱码解决:R 阅读全文
摘要:
1.使用Facdes的方式 //重定向路由return Redirect::to('/home');//重定向命名路由return Redirect::route('website.home');//重定向到控制器动作return Redirect::action('homeController@h 阅读全文
摘要:
参考:https://blog.csdn.net/weixin_33099015/article/details/116315708 阅读全文
摘要:
https://www.cnblogs.com/yuerdongni/archive/2011/10/10/2205544.html 阅读全文
摘要:
1. File File.Exists(path) File.Delete(path) File.Create(path) File.Move(path1,path2) File.Copy(path1,path2,true) 2. FileInfo FileInfo fileInfo = new F 阅读全文
摘要:
JSP指令: 1.page:配置JSP页面的 <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2.include:页面包含的。导入页面的资源文件 <%@ include file="xxx.jsp" %> 3.tag 阅读全文
摘要:
1. 空白Trim replace(/(^\s*)|(\s*$)/g, "") 2. 选择信息 window.confirm("このデータを更新しますか?") 3. 信息框 alter() 4.四舍五入 CLng <=> Math.round() 返回小于等于x的最大整数: Math.floor(x 阅读全文
摘要:
1. FileStream :对字节进行处理的流,可以和StreamWriter,StreamReader一起使用 2. StreamWriter,StreamReader:写入和读取字符文件的 3. 使用StreamWriter,写入数据 1 try 2 { 3 FileStream Mystre 阅读全文
摘要:
1 private void txtKaisuu_KeyPress(object sender, KeyPressEventArgs e) 2 { 3 if ((e.KeyChar >= 32 && e.KeyChar <= 47) || (e.KeyChar >= 58 && e.KeyChar 阅读全文
摘要:
https://www.cnblogs.com/candyzhmm/p/5595358.html 阅读全文
摘要:
[System.Runtime.InteropServices.DllImport("imagehlp.dll")] private static extern int SearchTreeForFile(string RootPath, string FileName, StringBuilder 阅读全文
摘要:
this.fgMain.EditOptions = EditFlags.None; 阅读全文
摘要:
fgPhaseB.Rows[i].IsNode = true; fgPhaseB.Rows[i].Node.Level = 1; fgPhaseB.Tree.Column = 0; fgPhaseB.Tree.Style = TreeStyleFlags.SimpleLeaf; // 折り flex 阅读全文
摘要:
1.FlexGrid的DropMode=Manual 1 private void fgMain_DragDrop(object sender, DragEventArgs e) 2 { 3 int row = this.fgMain.MouseRow; 4 int col = this.fgMai 阅读全文
摘要:
1.有单元格右击,不显示菜单。 2.现在窗体加入控件ContextMenuStrip。 1 private void fgMain_MouseClick(object sender, MouseEventArgs e) 2 { 3 if (e.Button == MouseButtons.Right 阅读全文
摘要:
参考:https://blog.csdn.net/zhuxipan1990/article/details/83114304 阅读全文
摘要:
1、Menustrip 最常用的莫过于此菜单了,从工具栏中拖入一个menustrip到窗体中即可。可以有多个ToolStripMenuItem组成。 获取一个ToolStripMenuItem下面的子菜单的名字:ToolStripItem crl = this.menuACOS.DropDownIt 阅读全文
摘要:
this.fgMain.AllowMerging = AllowMergingEnum.Custom; cellRange = this.fgMain.GetCellRange(0, 1, 0, 2); cellRange.Data = "基本小分類コード"; this.fgMain.MergedR 阅读全文
摘要:
DECLARE @SQL1 NVARCHAR(1000) ,@SQL2 VARCHAR(1000) ,@type varchar(20) SET @SQL1 =' SELECT @type=B.NAME FROM SYSCOLUMNS A INNER JOIN SYSTYPES B ON A.XTY 阅读全文
摘要:
ctrl+shift+k 删除一行 ctrl+k+s 快捷键设置 ctrl+p 打开文件 ctrl+shift+p 命令行 ctrl+x 剪切一行 ctrl+enter 向下插入一行空白行 ctrl+shift+enter 向上插入一行空白行 ctrl+/ 注释,反注释 alt+shift+箭头 复 阅读全文
摘要:
AngularJS 是一个 JavaScript 框架。它可通过 <script> 标签添加到 HTML 页面 <script src="https://cdn.staticfile.org/angular.js/1.4.6/angular.min.js"></script> 阅读全文
摘要:
Debug 视图下 -》在调试的线程上 右键单击 -》选择Edit Source Lookup Path -》选择Add -》选择Java Project 选择相应的Project 进行OK确定即可 阅读全文
摘要:
1. 遍历文件夹 获取文件 : // 根据文件夹路径new一个DirectoryInfo对象 DirectoryInfo directoryInfo = new DirectoryInfo(folder); // 循环文件 foreach (FileInfo ofile in directoryIn 阅读全文
摘要:
Array.Sort<FileInfo>(fileList, delegate(FileInfo x, FileInfo y) { return x.Name.CompareTo(y.Name); }); 阅读全文
摘要:
1. 01_Com_Class项目的属性设为类库 2. 编译后生成.dll 3.在工具箱中,右键点击,选择项,.NET Framework 组件分页(第一次加载会有些慢,耐心等一会儿),这时候,里边是找不到我们的控件的,需要点击浏览,找到dll,添加进去,点击确定。 阅读全文
摘要:
枚举是静态的,若枚举在类中,可以以类名.枚举名的方式调用 在namespace下,直接用 *修饰符不能是私有的 阅读全文
摘要:
VLOOKUP (你想要查找的内容,要查找的位置,包含要返回的值的区域中的列号,返回近似或精确匹配-表示为 1/TRUE 或 0/假) 在A列中查找相等于B列的,对应的C列的值,在D列中返回 D列=VLOOKUP (A1:A1:C53,3,1) 阅读全文
摘要:
CHARINDEX(B.[サイズ],A.[サイズリスト]) >0:第一项目在第二项目中 <0:不在 阅读全文
摘要:
GetFolderPath(Environment.SpecialFolder.Desktop) 桌面路径 Environment.UserName 电脑用户 Environment.MachineName 电脑名 阅读全文
摘要:
private void txt_file_DragDrop(object sender, DragEventArgs e) { ((TextBox)sender).Text = ((System.Array)e.Data.GetData(DataFormats.FileDrop)).GetValu 阅读全文
摘要:
if (frmUpan == null) { frmUpan(全局变量) = new frm_unpan(pdFrm); } else { frmUpan.Close(); frmUpan.Dispose(); frmUpan = null; frmUpan = new frm_unpan(pdFr 阅读全文
摘要:
private void cmd_prn_Click(object sender, EventArgs e) { if (printDoc.PrinterSettings.IsValid == false) return; Graphics myGraphics = this.CreateGraph 阅读全文
摘要:
模拟用户的单击操作,触发 Click 事件 控件.PerformClick 阅读全文
摘要:
for (int i = 1; i <= 21; i++) { strName = "_txt_input_"+i.ToString(); Control con = this.Controls.Find(strName, true)[0]; con.Text = ""; } 阅读全文
摘要:
1. System.Drawing.Color clrUnEnable = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(204))))); 2. this._ 阅读全文
摘要:
#region-----画面のテキストボックスの全選択処理----- /// /// 画面のテキストボックスの全選択処理 /// /// public static void TextBoxEnter_SelectAll(Control crol) { S... 阅读全文
摘要:
声明:string[,] arr_Bunrui = new string[100, 7]; 赋值:arr_Bunrui[i,j] = dtBunrui.Rows[i][j].ToString().Trim(); 阅读全文
摘要:
SqlConnection:对SQL Server 数据库的连接构造函数:SqlConnection(): 初始化 SqlConnection 类的新实例。方法:Open(): 打开一个数据库连接CreateCommand(): 创建并返回与 SqlConnection 关联的 SqlCommand 阅读全文