Re: If Expression!
- From: "Adam Knight" <adam@xxxxxxxxxxxxxxx>
- Date: Thu, 15 Sep 2005 14:01:35 +1000
Here is one solution i came up with.
txtAnswerUrl.Text = Rdr("answer_url").ToString() 'coverts to null string i
imagine
Should I be doing this when populating textboxes with db values?
Or is their a better i should be doing it, but haven't used yet?
Adam
"Adam Knight" <adam@xxxxxxxxxxxxxxx> wrote in message
news:OICoKlauFHA.3792@xxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> Having trouble with this expression.
> Can anyone tell me what i am supposed to be doing?
>
> If(Rdr("answer_url") <> System.DBNull.Value) Then
> txtAnswerUrl.Text = Rdr("answer_url")
> End If
>
> Cheers,
> Adam
>
.
- References:
- If Expression!
- From: Adam Knight
- If Expression!
- Prev by Date: Re: How to remove virtual path from root url of dev web server?
- Next by Date: Re: help with datasets
- Previous by thread: If Expression!
- Next by thread: Re: help with datasets
- Index(es):