如何 关闭系统的错误提示,按程序设计提示 Post By:2015/8/5 20:25:00 [显示全部帖子]
try Dim cmd1 As New SQLCommand cmd1.ConnectionName= gs_strActiveConn cmd1.CommandText= Vars("SQLchaxun") Dim dt1 As DataTable = cmd1.ExecuteReader tb.DataSource =dt1 catch ex As exception MessageBox.Show(ex.message,"提示",MessageBoxButtons.OK,MessageBoxIcon.Error) End Try