CreateEmptyTable ? But this function is not even called in UserControl1.vb.
The datasource of my grid is filled using this function :
Public Function GetReportFields(ByVal ReportTabId As Integer) As DataSet
Dim da As New DatabaseAccess
Try
da.AddTable("pr_Admin_GetReportFields", DatabaseAccess.SQLType.StoredProcedure)
da.Commands(0).Parameters.Add("@ReportTabId", ReportTabId)
da.AddTable("pr_Admin_GetFieldTypes", DatabaseAccess.SQLType.StoredProcedure)
Return da.GetDataset
Catch ex As Exception
MsgBox(ex.ToString, MsgBoxStyle.Exclamation, "Warning")
End Try
End Function
Also, in the global module, you need to change the connection string so it matches your configuration