473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

acceder al datasource en el evento _ItemDataBound con XML

jb
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
Jan 31 '07 #1
3 1462
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" <no****@nospam.comwrote in message
news:em*************@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

Jan 31 '07 #2
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" <RE**************************@mMvVpPsS.orgwrote in message
news:%2****************@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" <no****@nospam.comwrote in message news:em*************@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


Jan 31 '07 #3
jb
sorry, its my fault :P
"Juan T. Llibre" <no***********@nowhere.comescribió en el mensaje
news:uV**************@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" <RE**************************@mMvVpPsS.orgwrote in
message news:%2****************@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" <no****@nospam.comwrote in message
news:em*************@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



Jan 31 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: richard | last post by:
bonjour je me connecte à une base de données interbase/firebird en utilisant, KinterbasDB http://kinterbasdb.sourceforge.net/ pour ceux que ca interesse mais je pense que le probleme est le...
13
by: DraguVaso | last post by:
Hi, I need a function that gives me the number of Columns shown in a DataGrid. So I don't need to know the number of columns shown in tha DataSource, because this number can be completely...
3
by: Alvaro E. Gonzalez V. | last post by:
Hello!!! I'm building a control that in a property assign a Dataset which they are initialized and another property Like DataMember. Similar as it happens to the DataSource property of a...
4
by: dyw55a | last post by:
Donna Mar 15, 10:11 am show options Newsgroups: microsoft.public.dotnet.framework.adonet From: "Donna" <dyw...@yahoo.com> - Find messages by this author Date: 15 Mar 2005 10:11:56 -0800...
1
by: Ed Chiu | last post by:
Hi, Is there a way to clone datasource of one datagrid to another? I tried: DataGrid2.datasource = DataGrid1.datasource DataGrid2.Databind() Does not seem to work
4
by: Stephen | last post by:
IN VB.NET I have a form with a ListBox and would like to set the DataSource property at design-time but I can't seem to declare any kind of variable that will show up in the list. I have tried a...
1
by: Ciccio | last post by:
Scusate se è la solita domanda ma neanche con San Google ho trovato un esempio di codice semplice che mi facesse capire. Il tasto Button1 con Button1_Click fa tante cose. Da un'altra parte del...
4
by: Jim Katz | last post by:
I have an application that updates a strongly typed data set at run time. I'd like to dynamically create a table that connects to a run time data table. For displaying the data, this works well. ...
0
by: Francisco Andrade | last post by:
Boas, Estou com um problema e precisava de ajuda. Tenho um ImageButton e no evento OnClick keria chamar uma função remover (string str), mas não tou a conseguir. A minha função tem o...
2
by: Cristobal | last post by:
Hola tengo un problemilla, necesito saber que evento es llamado al hacer click sobre una de las filas del gridview. Lo necesito para poder sobreescribirlo y hacer una redirección dentro de él. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.