摘要: class Program { static void Main(string[] args) { Console.WriteLine("============================序列化单个对象为JSON格式======================================================"); var jsonObj = GetUser().ToJsonString(); Console.WriteLine(jsonObj + "\n\r "); ... 阅读全文
posted @ 2013-07-29 15:33 陈海波 阅读(291) 评论(0) 推荐(1) 编辑
摘要: string str = "Data Source=192.168.1.20;Initial Catalog=WebTest;User ID=sa;Password="; SqlConnection conn = new SqlConnection(str); string sel = "select * from Table_A"; SqlDataAdapter da = new SqlDataAdapter(sel, conn); DataSet ds = new DataSet(); da.Fill(ds,"stu"... 阅读全文
posted @ 2013-07-29 15:25 陈海波 阅读(254) 评论(0) 推荐(0) 编辑
摘要: PagedControlID="LV"对应的是 asp:ListView ID="LV"current.css/*页面分页样式*/ span#ContentPlaceHolder1_DataPager1 a.aspNetDisabled{ border: 1px solid #382a4a; padding: 2px 5px; margin: 2px; c... 阅读全文
posted @ 2013-07-29 14:06 陈海波 阅读(552) 评论(0) 推荐(0) 编辑