I have a search which returns one row, 1 result in a web datagrid.

One textbox is also on the page and now I need to fill that text box with
the first value from that datagrid (that value is a number).



Thanks

Web DataGrid by anonymous

anonymous
Thu Nov 20 08:52:43 CST 2003

textbox1.text=datagrid.items.rows(0).items(0)

>-----Original Message-----
>I have a search which returns one row, 1 result in a web
datagrid.
>
>One textbox is also on the page and now I need to fill
that text box with
>the first value from that datagrid (that value is a
number).
>
>
>
>Thanks
>
>
>.
>

Re: Web DataGrid by Paul

Paul
Thu Nov 20 09:31:49 CST 2003

On Thu, 20 Nov 2003 13:09:09 +0100, "Morx" <cyber_co@hotmail.com> wrote:

¤ I have a search which returns one row, 1 result in a web datagrid.
¤
¤ One textbox is also on the page and now I need to fill that text box with
¤ the first value from that datagrid (that value is a number).
¤

DataGrid1.Items(0).Cells(0).Text


Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)

Re: Web DataGrid by CyberCo

CyberCo
Thu Nov 20 13:26:43 CST 2003

> ¤ I have a search which returns one row, 1 result in a web datagrid.
> ¤
> ¤ One textbox is also on the page and now I need to fill that text box
with
> ¤ the first value from that datagrid (that value is a number).
> ¤
>
> DataGrid1.Items(0).Cells(0).Text

Thanks, this code works.

Thanks again.