For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > January 2007 > acceder al datasource en el evento _ItemDataBound con XML









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author acceder al datasource en el evento _ItemDataBound con XML
jb

2007-01-31, 4:13 am

Buenas,

Con un sqlsdatasource lo haría con un simple

Dim drv As DataRowView = CType(e.Item.DataItem, DataRowView)

algo=drv("campoenlaconsultasql")

pero cuando la fuente de datos es un XML... obtengo un error, alguien sabe
como puede accederse a las filas y columnas de la fuente de datos?

gracias y un saludo,

Xus


Eliyahu Goldin

2007-01-31, 4:13 am

You will get better response if you write in English.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"jb" <nospam@nospam.com> wrote in message
news:emGNc2RRHHA.912@TK2MSFTNGP06.phx.gbl...
> Buenas,
>
> Con un sqlsdatasource lo haría con un simple
>
> Dim drv As DataRowView = CType(e.Item.DataItem, DataRowView)
>
> algo=drv("campoenlaconsultasql")
>
> pero cuando la fuente de datos es un XML... obtengo un error, alguien sabe
> como puede accederse a las filas y columnas de la fuente de datos?
>
> gracias y un saludo,
>
> Xus
>



Juan T. Llibre

2007-01-31, 8:09 am

O si envia su pregunta a :

microsoft.public.es.dotnet.aspnet



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in message
news:%23Hrwu5RRHHA.4000@TK2MSFTNGP04.phx.gbl...
> You will get better response if you write in English.
>
> --
> Eliyahu Goldin,
> Software Developer & Consultant
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "jb" <nospam@nospam.com> wrote in message news:emGNc2RRHHA.912@TK2MSFTNGP06.phx.gbl...
>
>



jb

2007-01-31, 8:09 am

sorry, its my fault :P


"Juan T. Llibre" <nomailreplies@nowhere.com> escribió en el mensaje
news:uV9NJTSRHHA.2256@TK2MSFTNGP02.phx.gbl...
>O si envia su pregunta a :
>
> microsoft.public.es.dotnet.aspnet
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ===================================
> "Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@mMvVpPsS.org> wrote in
> message news:%23Hrwu5RRHHA.4000@TK2MSFTNGP04.phx.gbl...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com