Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
以下代码为按钮Clik事件代码
代码一:
Dim dst As WinForm.DataList = e.Form.Controls("DataList1")
dst.DataTable = Datatables("长嘱")
dst.Build()
代码二:
Dim cmd As SQLcommand
cmd.Con nection Name = "zygl"
cmd.CommandText = "Select * From [长嘱]"
Dim dst As WinForm.DataList = e.Form.Controls("DataList1")
dst.DataTable = cmd.ExecuteReader()
dst.Build()
代码二报错....
Dim cmd As SQLcommand
cmd.C
cmd.CommandText = "Select * From [长嘱]"
Dim dst As WinForm.DataList = e.Form.Controls("DataList1")
dst.DataTable = cmd.ExecuteReader()
dst.Build()
谁知道你会故意这么搞。
你错的有些不应该。
代码二:
Dim cmd As New SQLcommand