I am getting this error, The multi-part identifier "CompanyID.Text" could not be bound, and here is the code behind. the error points to the ad.Fill(dt). My ultimate goal is to gather values in controls so I can use them on subsequent pages:
If Not Page.IsPostBack Then
Dim objconn As Data.SqlClient.SqlConnection
objconn = New Data.SqlClient.SqlConnection()
objconn.ConnectionString = ConfigurationManager.ConnectionStrings("PurchasesConnectionString16").ConnectionString Go to the complete details ...