摘要:
public MainWindow() { InitializeComponent(); this.WindowState = Properties.Settings.Default.WindowState;//初始化窗体状态 Prope... 阅读全文
摘要:
HTML基础知识网页三部份内容:HTML CSS Javascript路径:一般做网页的时候用的相对路径。images/aaa.jpg 网页同一个目录中找images文件夹,再在images里面找aaa.jpgimages/1000/aaa.jpg 网页同一个目录中找images文件夹... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
摘要:
c# 操作txt文件 # 操作txt文件 c#创建文本private const string FILE_NAME = "ErroLog.txt"; public static void WriteFile(string str) ...{ S... 阅读全文
摘要:
1)Trim方法string tt=" aaa "; tt=tt.Trim() 去字符串首尾空格的函数tt=tt.TrimEnd() 去掉字符串尾空格tt=tt.TrimStart() 去掉字符串首空格 阅读全文
摘要:
复制代码1、打开文件路径: OpenFileDialog a= new OpenFileDialog(); //new一个方法a.Filter = "(*.et;*.xls;*.xlsx)|*.et;*.xls;*.xlsx|all|*.*"; //删选、设定文件显示类型a.ShowDialog(... 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) //这里是不用泛型集合的情况,用的是Datatable { SqlConnection conn = new SqlConnection("server=... 阅读全文