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

Visual Basic

 
GeneralRe: Use a PHP Webservice in VB.NET WinApp Pin
Naji El Kotob30-Aug-07 21:32
Naji El Kotob30-Aug-07 21:32 
Questionerror Pin
iain659429-Aug-07 23:54
iain659429-Aug-07 23:54 
AnswerRe: error Pin
Vimalsoft(Pty) Ltd30-Aug-07 0:17
professionalVimalsoft(Pty) Ltd30-Aug-07 0:17 
GeneralRe: error Pin
iain659430-Aug-07 1:10
iain659430-Aug-07 1:10 
GeneralRe: error Pin
Vimalsoft(Pty) Ltd30-Aug-07 1:55
professionalVimalsoft(Pty) Ltd30-Aug-07 1:55 
QuestionDataGridView Problem Pin
Matodzi29-Aug-07 23:51
Matodzi29-Aug-07 23:51 
AnswerRe: DataGridView Problem Pin
Vimalsoft(Pty) Ltd30-Aug-07 0:11
professionalVimalsoft(Pty) Ltd30-Aug-07 0:11 
AnswerRe: DataGridView Problem Pin
Naji El Kotob30-Aug-07 11:05
Naji El Kotob30-Aug-07 11:05 
Hi,

It seems you need to get a single value from the selected row, if this is what you want please try the following snippet:

If IsDBNull(dg.Rows(e.RowIndex).Cells(0).Value) Then
TextBox1.Text = "N/A"
Else
TextBox1.Text = dg.Rows(e.RowIndex).Cells(0).Value
End If

* dg = DataGridView

Note: Change 0 to the column index that you want to read from!

hope this helps Smile | :)

NajiCo http://www.InsideVB.NET[^]

It's nice 2b important, but it's more important 2b nice...

GeneralRe: DataGridView Problem Pin
Matodzi31-Aug-07 0:39
Matodzi31-Aug-07 0:39 
Questionhow to display an image of size 7 mb in vb.net webform Pin
chiyankrishna29-Aug-07 23:19
chiyankrishna29-Aug-07 23:19 
AnswerRe: how to display an image of size 7 mb in vb.net webform Pin
SHatchard30-Aug-07 3:24
SHatchard30-Aug-07 3:24 
QuestionCustom Control Collection Pin
The ANZAC29-Aug-07 21:20
The ANZAC29-Aug-07 21:20 
AnswerRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 21:35
professionalTom Deketelaere29-Aug-07 21:35 
GeneralRe: Custom Control Collection Pin
The ANZAC29-Aug-07 21:42
The ANZAC29-Aug-07 21:42 
GeneralRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 21:54
professionalTom Deketelaere29-Aug-07 21:54 
GeneralRe: Custom Control Collection Pin
The ANZAC29-Aug-07 21:57
The ANZAC29-Aug-07 21:57 
GeneralRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 22:22
professionalTom Deketelaere29-Aug-07 22:22 
GeneralRe: Custom Control Collection Pin
The ANZAC29-Aug-07 22:25
The ANZAC29-Aug-07 22:25 
GeneralRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 22:40
professionalTom Deketelaere29-Aug-07 22:40 
GeneralRe: Custom Control Collection Pin
The ANZAC29-Aug-07 22:40
The ANZAC29-Aug-07 22:40 
GeneralRe: Custom Control Collection Pin
Tom Deketelaere29-Aug-07 22:54
professionalTom Deketelaere29-Aug-07 22:54 
GeneralRe: Custom Control Collection [modified] Pin
Tom Deketelaere29-Aug-07 23:12
professionalTom Deketelaere29-Aug-07 23:12 
GeneralRe: Custom Control Collection Pin
The ANZAC29-Aug-07 23:58
The ANZAC29-Aug-07 23:58 
AnswerRe: Custom Control Collection Pin
darkelv29-Aug-07 23:22
darkelv29-Aug-07 23:22 
Questionunload form in the vb.net Pin
mahdiehIR29-Aug-07 19:55
mahdiehIR29-Aug-07 19:55 

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.