Click here to Skip to main content
15,902,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCustom reporting tools [modified] Pin
shreekar22-Apr-07 19:59
shreekar22-Apr-07 19:59 
QuestionWHAT IS THE EQUIVALENT OF THIS CODE IN VB.NET Pin
klaydze22-Apr-07 19:54
klaydze22-Apr-07 19:54 
AnswerRe: WHAT IS THE EQUIVALENT OF THIS CODE IN VB.NET Pin
MatrixCoder22-Apr-07 20:11
MatrixCoder22-Apr-07 20:11 
QuestionHelp with service and logged in user Pin
dBrong22-Apr-07 18:35
dBrong22-Apr-07 18:35 
AnswerRe: Help with service and logged in user Pin
coolestCoder22-Apr-07 19:17
coolestCoder22-Apr-07 19:17 
AnswerRe: Help with service and logged in user Pin
Dave Kreskowiak23-Apr-07 4:13
mveDave Kreskowiak23-Apr-07 4:13 
QuestionDATAGRID OF VB.NET 2003 AND 2005 Pin
klaydze22-Apr-07 16:04
klaydze22-Apr-07 16:04 
AnswerRe: DATAGRID OF VB.NET 2003 AND 2005 Pin
Dave Kreskowiak23-Apr-07 7:35
mveDave Kreskowiak23-Apr-07 7:35 
The DataGridView is a completely different animal from the old DataGrid in 2003. The Items collection in the DGV returns, as you've found out, a DatGridViewTextBoxCell object, or whatever object type the column is, not the data inside it!

To get at the value that's displayed in the cell, you can use one of two things. Either the Value property of the returned DataGridViewTextBoxCell, or the FormattedValue (as displayed in the grid).
text1.text = dgv1.item(dgv1.currentrow.index,0).Value



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: DATAGRID OF VB.NET 2003 AND 2005 Pin
Hansduncan23-Apr-07 10:18
Hansduncan23-Apr-07 10:18 
GeneralRe: DATAGRID OF VB.NET 2003 AND 2005 Pin
klaydze23-Apr-07 18:53
klaydze23-Apr-07 18:53 
Questionusercontrol move messages Pin
lee2322-Apr-07 16:04
lee2322-Apr-07 16:04 
AnswerRe: usercontrol move messages Pin
Dave Kreskowiak23-Apr-07 4:01
mveDave Kreskowiak23-Apr-07 4:01 
QuestionCalendar control dates Pin
Spontrel22-Apr-07 14:43
Spontrel22-Apr-07 14:43 
AnswerRe: Calendar control dates Pin
kubben22-Apr-07 15:02
kubben22-Apr-07 15:02 
GeneralRe: Calendar control dates Pin
Spontrel22-Apr-07 15:34
Spontrel22-Apr-07 15:34 
QuestionNeeds to show database information in listbox via SELECT statement over more tables Pin
keninfo22-Apr-07 9:55
keninfo22-Apr-07 9:55 
AnswerRe: Needs to show database information in listbox via SELECT statement over more tables Pin
Dave Kreskowiak23-Apr-07 7:27
mveDave Kreskowiak23-Apr-07 7:27 
QuestionRead MS Access Table to Text file Pin
IvanIT22-Apr-07 7:19
IvanIT22-Apr-07 7:19 
AnswerRe: Read MS Access Table to Text file Pin
_mubashir22-Apr-07 9:16
_mubashir22-Apr-07 9:16 
GeneralRe: Read MS Access Table to Text file Pin
IvanIT23-Apr-07 6:35
IvanIT23-Apr-07 6:35 
GeneralRe: Read MS Access Table to Text file Pin
Dave Kreskowiak23-Apr-07 6:55
mveDave Kreskowiak23-Apr-07 6:55 
GeneralRe: Read MS Access Table to Text file Pin
IvanIT23-Apr-07 14:56
IvanIT23-Apr-07 14:56 
QuestionMinimize form Pin
eagertolearn22-Apr-07 7:17
eagertolearn22-Apr-07 7:17 
AnswerRe: Minimize form Pin
kubben22-Apr-07 9:06
kubben22-Apr-07 9:06 
GeneralRe: Minimize form Pin
eagertolearn23-Apr-07 6:03
eagertolearn23-Apr-07 6:03 

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.