随笔分类 - .net
摘要:1 static double TakeSquareRoot(int x) 2 { 3 //return Math.Sqrt(x); 4 return x + 1; 5 } 6 7 static void Main(string[] args) 8 { 9 List<int> integers =
阅读全文
摘要:1、首先在App.config文件中添加如下代码注意<connectionStrings>插入位置。 <connectionStrings> <add name="Customers" connectionString="Data Source=.;Initial Catalog=Test;Inte
阅读全文
摘要:1、对表的初始化 2、添加列的一种方式 3、 DataViewRowState.Added 与 Datatable.AcceptChanges() 的一点关系 先上一段MSDN的实例代码。 Select(String, String, DataViewRowState) 1 static void
阅读全文