Click here to Skip to main content
15,894,267 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Program Is Runing? Pin
LloydA11122-Mar-08 8:23
LloydA11122-Mar-08 8:23 
Generalhalt macro Pin
Orlando234519-Mar-08 16:47
Orlando234519-Mar-08 16:47 
GeneralRe: halt macro Pin
Anoop Brijmohun19-Mar-08 20:22
Anoop Brijmohun19-Mar-08 20:22 
QuestionHow to load excel records into oracle table using vb.net Pin
Madang19-Mar-08 16:22
Madang19-Mar-08 16:22 
AnswerRe: How to load excel records into oracle table using vb.net Pin
Dave Kreskowiak20-Mar-08 5:10
mveDave Kreskowiak20-Mar-08 5:10 
GeneralSet the width for a dataGrid column Pin
AAGTHosting19-Mar-08 15:25
AAGTHosting19-Mar-08 15:25 
GeneralRe: Set the width for a dataGrid column Pin
Dave Kreskowiak20-Mar-08 5:03
mveDave Kreskowiak20-Mar-08 5:03 
GeneralCan't find column 1 in dataTable that populates dataview then datagrid Pin
AAGTHosting19-Mar-08 11:49
AAGTHosting19-Mar-08 11:49 
Why do I get the error can't find column 1.

dtStudList = generalQuery(int)

        dt.Columns.Add(New DataColumn("Student Name", GetType(String)))
        'dt.Columns.Add(New DataColumn("Parent Name", GetType(String)))
        'dt.Columns.Add(New DataColumn("Phone", GetType(String)))
        'dt.Columns.Add(New DataColumn("Cell", GetType(String)))
        'dt.Columns.Add(New DataColumn("Instrument", GetType(String)))

        For Each row As DataRow In dtStudList.Rows
            dr = dt.NewRow()
            dr(0) = row("stud_name")
            dr(1) = row("stud_par_name")
            dr(2) = row("stud_id")
            dr(3) = row("stud_phone")
            dr(4) = row("stud_cell")

            ' get student instruments
            intStudList = Convert.ToInt32(row("stud_id"))
            tableName = "tbl_lessons"
            dtStudInst = generalQuery()

            ' create counter
            Dim intCount As Integer = 1

            For Each row2 As DataRow In dtStudInst.Rows
                If intCount = 1 Then
                    strInst = Convert.ToString(row2("less_instrument"))
                Else
                    strInst += ", " & Convert.ToString(row2("less_instrument"))
                End If
            Next

            'dr(5) = strInst
            dt.Rows.Add(dr)
            intCount += 1
        Next

        Dim dgView As New DataView(dt)
        dgrStudList.DataSource = dgView

GeneralRe: Can't find column 1 in dataTable that populates dataview then datagrid Pin
Dave Kreskowiak19-Mar-08 13:10
mveDave Kreskowiak19-Mar-08 13:10 
GeneralRe: Can't find column 1 in dataTable that populates dataview then datagrid Pin
AAGTHosting19-Mar-08 15:05
AAGTHosting19-Mar-08 15:05 
GeneralRe: Can't find column 1 in dataTable that populates dataview then datagrid Pin
Dave Kreskowiak20-Mar-08 5:01
mveDave Kreskowiak20-Mar-08 5:01 
GeneralRandom records Pin
bapu288919-Mar-08 10:04
bapu288919-Mar-08 10:04 
GeneralRe: Random records Pin
Christian Graus19-Mar-08 10:42
protectorChristian Graus19-Mar-08 10:42 
QuestionRe: Random records Pin
bapu288919-Mar-08 11:07
bapu288919-Mar-08 11:07 
GeneralRe: Random records Pin
Christian Graus19-Mar-08 22:05
protectorChristian Graus19-Mar-08 22:05 
QuestionRe: Random records Pin
bapu288919-Mar-08 22:51
bapu288919-Mar-08 22:51 
Generalhiding mapped drive Pin
Cory Kimble19-Mar-08 9:41
Cory Kimble19-Mar-08 9:41 
GeneralRe: hiding mapped drive Pin
Dave Kreskowiak19-Mar-08 10:33
mveDave Kreskowiak19-Mar-08 10:33 
GeneralRe: hiding mapped drive Pin
Cory Kimble19-Mar-08 10:51
Cory Kimble19-Mar-08 10:51 
GeneralRe: hiding mapped drive Pin
Dave Kreskowiak19-Mar-08 11:11
mveDave Kreskowiak19-Mar-08 11:11 
GeneralRe: hiding mapped drive Pin
Cory Kimble24-Mar-08 4:37
Cory Kimble24-Mar-08 4:37 
GeneralRe: hiding mapped drive Pin
Dave Kreskowiak24-Mar-08 10:34
mveDave Kreskowiak24-Mar-08 10:34 
GeneralTwo simple questions I think Pin
cstrader23219-Mar-08 9:02
cstrader23219-Mar-08 9:02 
GeneralRe: Two simple questions I think Pin
Smithers-Jones19-Mar-08 9:17
Smithers-Jones19-Mar-08 9:17 
GeneralRe: Two simple questions I think Pin
cstrader23219-Mar-08 9:51
cstrader23219-Mar-08 9:51 

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.