Click here to Skip to main content
15,915,093 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: [VB10] DataGridView Columns Error [modified] Pin
The Mighty Atom14-Sep-10 12:50
The Mighty Atom14-Sep-10 12:50 
AnswerRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 13:12
sitebuilderLuc Pattyn14-Sep-10 13:12 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom14-Sep-10 13:16
The Mighty Atom14-Sep-10 13:16 
GeneralRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 13:38
sitebuilderLuc Pattyn14-Sep-10 13:38 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom14-Sep-10 13:54
The Mighty Atom14-Sep-10 13:54 
AnswerRe: [VB10] DataGridView Columns Error Pin
Luc Pattyn14-Sep-10 14:21
sitebuilderLuc Pattyn14-Sep-10 14:21 
GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom15-Sep-10 7:24
The Mighty Atom15-Sep-10 7:24 
GeneralRe: [VB10] DataGridView Columns Error [modified] Pin
Luc Pattyn15-Sep-10 7:44
sitebuilderLuc Pattyn15-Sep-10 7:44 
Taken together, your posts don't make any sense:
- your first message said: error "No row can be added to a DataGridView control that does not have columns. Columns must be added first."
- Now you say it is all happening in this line: tbR.Text = RadEntry(1) which is unrelated to any DGV, as RadEntry is a string array.

This does not make any sense. My advice is:
- if you haven't done so yet, tell your IDE to always show line numbers in edit windows (see #101 and 102 here)
- put the entire content of PopulateGrid in a try block, catch a general Exception and display the entire Exception.ToString()
- do a clean build (remove the bin and obj folders, click Clean Solution, click Build)
- make sure there are no compilation warnings/errors. If there are, fix them.
- now run, and observe carefully.
- if it goes wrong, debug. Which means: observe more detailed and even more carefully. Use break-points and single-stepping. Come up with an hypothtesis, and prove it right or wrong. Until you find and solve the problem.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


modified on Wednesday, September 15, 2010 1:55 PM

GeneralRe: [VB10] DataGridView Columns Error Pin
The Mighty Atom15-Sep-10 12:09
The Mighty Atom15-Sep-10 12:09 
QuestionHow to add row header to DataGridView in vb.net Pin
Andraw Tang14-Sep-10 9:24
Andraw Tang14-Sep-10 9:24 
AnswerRe: How to add row header to DataGridView in vb.net Pin
Andraw Tang14-Sep-10 12:32
Andraw Tang14-Sep-10 12:32 
AnswerRe: How to add row header to DataGridView in vb.net Pin
Prerak Patel20-Sep-10 22:19
professionalPrerak Patel20-Sep-10 22:19 
Questionhow to create data grid control in VB6.0 Pin
jainiraj14-Sep-10 2:38
jainiraj14-Sep-10 2:38 
AnswerRe: how to create data grid control in VB6.0 Pin
Dave Kreskowiak14-Sep-10 4:09
mveDave Kreskowiak14-Sep-10 4:09 
Questionhow to read xml data from xml file in VB6.0 Pin
jainiraj14-Sep-10 0:19
jainiraj14-Sep-10 0:19 
AnswerRe: how to read xml data from xml file in VB6.0 Pin
Eddy Vluggen14-Sep-10 9:06
professionalEddy Vluggen14-Sep-10 9:06 
QuestionPowerPoint slide animations flicker when onscreen text updated Pin
Hypermommy13-Sep-10 9:43
Hypermommy13-Sep-10 9:43 
QuestionReferencing Variables in Module1 Pin
Win32SF12-Sep-10 9:13
Win32SF12-Sep-10 9:13 
AnswerRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 9:59
professionalEddy Vluggen12-Sep-10 9:59 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF12-Sep-10 10:11
Win32SF12-Sep-10 10:11 
GeneralRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 10:27
professionalEddy Vluggen12-Sep-10 10:27 
GeneralRe: Referencing Variables in Module1 Pin
Eddy Vluggen12-Sep-10 13:38
professionalEddy Vluggen12-Sep-10 13:38 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF12-Sep-10 14:06
Win32SF12-Sep-10 14:06 
GeneralRe: Referencing Variables in Module1 Pin
ChandraRam17-Sep-10 2:23
ChandraRam17-Sep-10 2:23 
GeneralRe: Referencing Variables in Module1 Pin
Win32SF17-Sep-10 6:04
Win32SF17-Sep-10 6:04 

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.