Click here to Skip to main content
15,913,115 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get HDD SerialNumber in VB Script Pin
Dave Kreskowiak16-Jan-06 11:06
mveDave Kreskowiak16-Jan-06 11:06 
GeneralRe: Get HDD SerialNumber in VB Script Pin
snalion17-Jan-06 5:41
snalion17-Jan-06 5:41 
GeneralRe: Get HDD SerialNumber in VB Script Pin
Dave Kreskowiak17-Jan-06 11:48
mveDave Kreskowiak17-Jan-06 11:48 
QuestionUnhandeled exception error Pin
shakizil16-Jan-06 9:31
shakizil16-Jan-06 9:31 
GeneralRe: Unhandeled exception error Pin
Guffa16-Jan-06 10:55
Guffa16-Jan-06 10:55 
Question"Declaration expected" Pin
kenn_rosie16-Jan-06 7:41
kenn_rosie16-Jan-06 7:41 
AnswerRe: "Declaration expected" Pin
Guffa16-Jan-06 8:45
Guffa16-Jan-06 8:45 
GeneralRe: "Declaration expected" Pin
kenn_rosie16-Jan-06 8:55
kenn_rosie16-Jan-06 8:55 
I moved my code under sub page_load but it still need not work?
Sorry, I am so very new at this

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Dim connectionString As String = "workstation id=DOZER;packet size=4096;integrated security=SSPI;data source=Dozer;" & _
"persist security info=False;initial catalog=programmersheaven"

Dim conn As New SqlConnection(connectionString)


Dim commandString As String = "SELECT " + _
"artId, title, topic, " + _
"article.authorId as authorId, " + _
"name, lines, dateOfPublishing " + _
"FROM " + _
"article, author " + _
"WHERE " + _
"author.authorId = article.authorId"
Dim dataAdapter As New SqlDataAdapter(commandString, conn)

Dim ds As New DataSet
dataAdapter.Fill(ds, "prog")
Dim dataTable As DataTable = ds.Tables("prog")
End Sub
GeneralRe: "Declaration expected" Pin
Guffa16-Jan-06 10:56
Guffa16-Jan-06 10:56 
GeneralRe: "Declaration expected" Pin
kenn_rosie16-Jan-06 12:19
kenn_rosie16-Jan-06 12:19 
AnswerRe: "Declaration expected" Pin
Guffa16-Jan-06 13:09
Guffa16-Jan-06 13:09 
GeneralRe: "Declaration expected" Pin
kenn_rosie16-Jan-06 13:21
kenn_rosie16-Jan-06 13:21 
AnswerRe: "Declaration expected" Pin
Guffa19-Jan-06 21:34
Guffa19-Jan-06 21:34 
QuestionProblem running Windows Service Pin
luciodandrea16-Jan-06 6:15
luciodandrea16-Jan-06 6:15 
GeneralRe: Problem running Windows Service Pin
bskirkman16-Jan-06 11:26
bskirkman16-Jan-06 11:26 
GeneralRe: Problem running Windows Service Pin
luciodandrea17-Jan-06 0:36
luciodandrea17-Jan-06 0:36 
GeneralRe: Problem running Windows Service Pin
bskirkman17-Jan-06 0:50
bskirkman17-Jan-06 0:50 
GeneralRe: Problem running Windows Service Pin
luciodandrea17-Jan-06 0:55
luciodandrea17-Jan-06 0:55 
GeneralRe: Problem running Windows Service Pin
bskirkman17-Jan-06 1:01
bskirkman17-Jan-06 1:01 
GeneralRe: Problem running Windows Service Pin
bskirkman19-Jan-06 15:51
bskirkman19-Jan-06 15:51 
GeneralRe: Problem running Windows Service Pin
luciodandrea20-Jan-06 2:39
luciodandrea20-Jan-06 2:39 
GeneralRe: Problem running Windows Service Pin
bskirkman20-Jan-06 2:47
bskirkman20-Jan-06 2:47 
Question[Message Deleted] Pin
GitaWist16-Jan-06 2:08
GitaWist16-Jan-06 2:08 
GeneralRe: help me pls!!! Pin
Guffa16-Jan-06 2:45
Guffa16-Jan-06 2:45 
AnswerRe: help me pls!!! Pin
Steve Pullan16-Jan-06 11:16
Steve Pullan16-Jan-06 11:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.