Line 130: Dim CommandText As String
Line 131: CommandText = "SELECT * FROM " & TableName & "_Class WHERE Show = 1 AND ID=@CatID"
Line 132: oCmd.Parameters.AddWithValue("@CatID", Request("CatID").ToString.Replace("'", "").Replace("--", ""))
Line 133: oCmd.CommandText = CommandText
Line 134: Try
|