Click here to Skip to main content
15,888,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to create result Classification Pin
Wayne Gaylard16-Feb-12 2:11
professionalWayne Gaylard16-Feb-12 2:11 
AnswerRe: How to create result Classification Pin
Luc Pattyn16-Feb-12 2:21
sitebuilderLuc Pattyn16-Feb-12 2:21 
GeneralRe: How to create result Classification Pin
Wayne Gaylard16-Feb-12 2:25
professionalWayne Gaylard16-Feb-12 2:25 
GeneralRe: How to create result Classification Pin
Member 865157216-Feb-12 9:36
Member 865157216-Feb-12 9:36 
Questioni want double like this in vb.net. 1.25 instead of 1.254789. how can i? Pin
manan0shah15-Feb-12 18:03
manan0shah15-Feb-12 18:03 
AnswerRe: i want double like this in vb.net. 1.25 instead of 1.254789. how can i? Pin
Bernhard Hiller15-Feb-12 20:53
Bernhard Hiller15-Feb-12 20:53 
GeneralRe: i want double like this in vb.net. 1.25 instead of 1.254789. how can i? Pin
manan0shah16-Feb-12 4:33
manan0shah16-Feb-12 4:33 
QuestionDatagrids on Tabs not displaying Pin
MacRaider415-Feb-12 4:29
MacRaider415-Feb-12 4:29 
I have a form with 4 datagrids, 3 of which are on a tabcontrol. All the grids are coming from the same source. The problem I'm running into is the grids on Tabs2 and 3 are not displaying the data. I stepped though the code and it's there but not displaying. I also changed the tab order to see if I had a code issue but again the grid in tab1 is the only one displayed. This is what I have for code:
VB
For Each dgv As DataGridView In {dgvMain, dgvTab1, dgvTab2, dgvTab3}
            'dgv.AutoGenerateColumns = True
            dgv.DataSource = ds.Tables("TaskList")
            dgv.AutoGenerateColumns = False
        Next
        Dim dgvRow As Integer = 0
        Do Until (i = 15)
            dgvMain.Item("RetrievalKey", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("RetrievalKey")
            dgvMain.Item("TaskDescription", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("TaskDescription")
            dgvMain.Item("LastDoneOn", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("LastDoneOn")
            dgvMain.Item("Agent", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Agent")
            dgvMain.Item("AgentOrder", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("AgentOrder")
            dgvMain.Item("Query", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Query")
            dgvTab1.Item("Param0", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param0")
            dgvTab1.Item("Param1", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param1")
            dgvTab1.Item("Param2", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param2")
            dgvTab1.Item("Param3", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param3")
            dgvTab1.Item("Param4", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param4")
            dgvTab2.Item("Param5", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param5")
            dgvTab2.Item("Param6", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param6")
            dgvTab2.Item("Param7", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param7")
            dgvTab2.Item("Param8", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param8")
            dgvTab2.Item("Param9", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("Param9")
            dgvTab3.Item("ErrorMessage", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("ErrorMessage")
            dgvTab3.Item("QueryPath", dgvRow).Value = ds.Tables("TaskList").Rows(i).Item("QueryPath")
            
            dgvRow += 1
            i += 1
        Loop

dgvMain and dgvTab1 display, but not 2 or 3. However there are empty cells displaying. Any help will be much appreciated...
AnswerRe: Datagrids on Tabs not displaying Pin
MacRaider415-Feb-12 5:22
MacRaider415-Feb-12 5:22 
AnswerRe: Datagrids on Tabs not displaying Pin
Luc Pattyn15-Feb-12 5:58
sitebuilderLuc Pattyn15-Feb-12 5:58 
GeneralRe: Datagrids on Tabs not displaying Pin
MacRaider415-Feb-12 7:28
MacRaider415-Feb-12 7:28 
QuestionRun Windows service in ring 0 Pin
Brandon-X1200014-Feb-12 14:23
Brandon-X1200014-Feb-12 14:23 
AnswerRe: Run Windows service in ring 0 Pin
Dave Kreskowiak14-Feb-12 14:46
mveDave Kreskowiak14-Feb-12 14:46 
GeneralRe: Run Windows service in ring 0 Pin
Brandon-X1200014-Feb-12 14:58
Brandon-X1200014-Feb-12 14:58 
GeneralRe: Run Windows service in ring 0 Pin
Dave Kreskowiak15-Feb-12 2:06
mveDave Kreskowiak15-Feb-12 2:06 
GeneralRe: Run Windows service in ring 0 Pin
Brandon-X1200015-Feb-12 5:45
Brandon-X1200015-Feb-12 5:45 
GeneralRe: Run Windows service in ring 0 Pin
Dave Kreskowiak15-Feb-12 6:08
mveDave Kreskowiak15-Feb-12 6:08 
QuestionHow do I open multiple tabs on an existing I.E. from vb.net Pin
dcorning14-Feb-12 9:29
dcorning14-Feb-12 9:29 
AnswerRe: How do I open multiple tabs on an existing I.E. from vb.net Pin
Bernhard Hiller14-Feb-12 21:18
Bernhard Hiller14-Feb-12 21:18 
QuestionNeed Code of VB to fetch report from QC 10 Pin
shrikant73113-Feb-12 6:53
shrikant73113-Feb-12 6:53 
AnswerRe: Need Code of VB to fetch report from QC 10 Pin
Dave Kreskowiak13-Feb-12 9:35
mveDave Kreskowiak13-Feb-12 9:35 
AnswerRe: Need Code of VB to fetch report from QC 10 Pin
Nagy Vilmos14-Feb-12 22:41
professionalNagy Vilmos14-Feb-12 22:41 
AnswerRe: Need Code of VB to fetch report from QC 10 Pin
Reiss15-Feb-12 2:39
professionalReiss15-Feb-12 2:39 
QuestionBindingSource Position Pin
Framework .l.12-Feb-12 21:08
Framework .l.12-Feb-12 21:08 
AnswerRe: BindingSource Position Pin
Eddy Vluggen13-Feb-12 5:01
professionalEddy Vluggen13-Feb-12 5:01 

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.