摘要:
//DataTable数据添加 Hashtable ht = new Hashtable(); DataTable dt = new DataTable(); DataColumn dc = new DataColumn("id"); dt.Columns.Add(dc); dc = new DataColumn("name"); dt.Columns.Add(dc); dc = new DataColumn("val... 阅读全文
摘要:
1 #region 写入程序相关 2 private void WriteApp() 3 { 4 //设置程序打开路径 5 string path = "\"C:\\Users\\Administrator\\Desktop\\Test\\TestWinForm\\bin\\Debug\\TestWinForm.exe\""; 6 RegistryKey root = Registry.ClassesRoot; 7 RegistryKey f1 = root... 阅读全文