Click here to Skip to main content
15,897,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Excel Pin
Rob Graham27-Oct-06 10:53
Rob Graham27-Oct-06 10:53 
QuestionUsing SaveFileDialog to backup database files Pin
dgibson553127-Oct-06 6:25
dgibson553127-Oct-06 6:25 
AnswerRe: Using SaveFileDialog to backup database files Pin
Kschuler27-Oct-06 9:54
Kschuler27-Oct-06 9:54 
QuestionHelp! Pin
Evalee27-Oct-06 5:32
Evalee27-Oct-06 5:32 
AnswerRe: Help! Pin
Colin Angus Mackay27-Oct-06 5:48
Colin Angus Mackay27-Oct-06 5:48 
GeneralRe: Help! Pin
Evalee27-Oct-06 5:54
Evalee27-Oct-06 5:54 
AnswerRe: Help! Pin
Dave Kreskowiak27-Oct-06 5:55
mveDave Kreskowiak27-Oct-06 5:55 
GeneralRe: Help! Pin
Evalee27-Oct-06 6:06
Evalee27-Oct-06 6:06 
The error show at the code that i have bold it.

Dim dsSession As New DataSet
Dim sqlQuery As String = "SELECT * FROM Session ORDER BY SessionID"

Try
Dim adpStudent As New OleDbDataAdapter(sqlQuery, Connection)
adpStudent.Fill(dsSession, "StuTable")
If dsSession.Tables("StuTable").Rows.Count > 0 Then
Dim dsRow As DataRow
'clear the array list Students.clear()
For Each dsRow In dsSession.Tables("StuTable").Rows
SessionID = dsRow("SessionID")
SessionName = dsRow("SessionName")
SessionCategory = dsRow("Category")
SessionFee = dsRow("Fee")
aSession = New Session(SessionID, SessionName, SessionCategory, SessionFee)
Sessions.Add(aSession)
Next
Else
MsgBox("No record in database")
End If
dsSession = Nothing
Catch ex As Exception
MsgBox(ex.ToString)
End Try
GeneralRe: Help! Pin
Dave Kreskowiak27-Oct-06 6:17
mveDave Kreskowiak27-Oct-06 6:17 
GeneralRe: Help! Pin
Evalee27-Oct-06 6:23
Evalee27-Oct-06 6:23 
GeneralRe: Help! Pin
Dave Kreskowiak27-Oct-06 6:28
mveDave Kreskowiak27-Oct-06 6:28 
GeneralRe: Help! Pin
Evalee27-Oct-06 15:46
Evalee27-Oct-06 15:46 
GeneralRe: Help! Pin

MmM.net</

28-Oct-06 22:48

MmM.net</

28-Oct-06 22:48 
GeneralRe: Help! Pin
Tamimi - Code28-Oct-06 22:50
Tamimi - Code28-Oct-06 22:50 
QuestionFormat File Pin
jds120727-Oct-06 5:15
jds120727-Oct-06 5:15 
AnswerRe: Format File Pin
Guffa27-Oct-06 5:34
Guffa27-Oct-06 5:34 
AnswerRe: Format File Pin
Dave Kreskowiak27-Oct-06 5:35
mveDave Kreskowiak27-Oct-06 5:35 
GeneralRe: Format File Pin
jds120727-Oct-06 5:48
jds120727-Oct-06 5:48 
GeneralRe: Format File Pin
Colin Angus Mackay27-Oct-06 5:49
Colin Angus Mackay27-Oct-06 5:49 
GeneralRe: Format File Pin
Dave Kreskowiak27-Oct-06 5:50
mveDave Kreskowiak27-Oct-06 5:50 
QuestionDisplaying Tooltip for a control when it is disabled Pin
Mathew Sujesh27-Oct-06 4:48
Mathew Sujesh27-Oct-06 4:48 
AnswerRe: Displaying Tooltip for a control when it is disabled Pin
Dave Kreskowiak27-Oct-06 5:36
mveDave Kreskowiak27-Oct-06 5:36 
QuestionCalling DLLs that WaitForSingleObject Thread Termination Pin
adverity27-Oct-06 4:17
adverity27-Oct-06 4:17 
QuestionHow to automatically install Framework 2.0 at the time of running vb.net application(Setup File) in client? Pin
subburaj.sabapathy27-Oct-06 1:42
subburaj.sabapathy27-Oct-06 1:42 
AnswerRe: How to automatically install Framework 2.0 at the time of running vb.net application(Setup File) in client? Pin
Dave Sexton27-Oct-06 3:13
Dave Sexton27-Oct-06 3:13 

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.