Tag : .NET, Ms SQL Server 2008, VBScript, Crystal Report, Win (Windows App), VB.NET
Date :
2012-06-26 15:08:03
By :
Innocentz
View :
1187
Reply :
2
No. 1
Guest
Code (VB.NET)
Dim dt As DataTable
Dim da As DataTable
da = GetDataTable("select name from sysdatabases", "00", DatabaseType.sql)
dt = GetDataTable("select name from master..sysdatabases where name like 'pyhr__'", "11", DatabaseType.sql)
Cmbdatasql.DataSource = dt
Cmbfilesql.DataSource = da
Cmbdatasql.DisplayMember = "Name"
Cmbfilesql.DisplayMember = "name"