摘要:
use 库名 go select COUNT(*) from sysobjects where xtype='U' 阅读全文
摘要:
c 平方根 //平方 pow() int a = pow(4,2); // 4的平方=16 //开方 int b = pow(4,0.5); // 4的平方根=2 int c = sqrt(4); // 4的平方根=2 //整数绝对值 int c = abs(b-c); //浮点数绝对值 doubl 阅读全文
摘要:
int index=0; private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { if (webBrowser1.ReadyState == WebBrow 阅读全文
摘要:
查询条件查询条件去重 select * from t_order_smthkMain s where 1=1 and not exists(select 1 from t_order_smthkMain where PlanCode=s.PlanCode and dateadd(hh,Time,Ad 阅读全文
摘要:
赋值: richtextbox.Document.Blocks.Clear(); string srt="12356457"; Run run=new Run(str); Paragraph p=new Paragraph(); p.Inlines.add(run); richtextbox.Doc 阅读全文
摘要:
整理和总结一下SQLCE的用法引用 System.Data.SqlServerCe(1)数据库文件的创建 SqlCeEngine eng = new SqlCeEngine("DataSource = " + FileName); eng.CreateDatabase();(2)初始化连接 m_Sq 阅读全文
摘要:
foreach (Window item in Application.Current.Windows) { if (item is window1) return; } 阅读全文
摘要:
创建一个table2 向table2中插入 table1中name为11的所有行(前提table2不存在) select * into table2 from table1 where name=‘ 11’ 向table4中插入table3中name为11的所有行(前提table4存在) inser 阅读全文
摘要:
if (MapGrid.Visibility == Visibility.Visible) { this.MapGrid.Visibility = Visibility.Collapsed; ((Image)this.vis.Content).Source = new BitmapImage(new 阅读全文
摘要:
dataview类型的用sort排序, 自定义数据源: DataTable tb = new DataTable(); tb.Columns.Add("name"); tb.Columns.Add("age"); tb.Rows.Add("张三","18"); tb.Rows.Add("李四","1 阅读全文