Author: Hyperdude | Posted on: 8/7/2009 4:22:33 AM | Views : 458

Hi,
I need some help with my code there are 2 problems basically. The follow is my background code:


Imports System.Data.SqlClient Imports System.Data Partial Class ActivityPage Inherits System.Web.UI.Page Dim activityName As String Dim wait As Boolean = False Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Page.ClientScript.RegisterStartupScript(Me.[GetType](), "Timer", "Init();", True) barcodeTextBox.Focus() If (Not wait) Then Dim conn As New SqlConnection _ ("data source=localhost; initial catalog=Activities;" & _ "integrated security=true") Dim mySQL As String mySQL = "select ActivityName, ActivityLogo, ActivityImage, ActivityDescription from Activity Order by newid()" Dim cmd As New ...

Go to the complete details ...