Geting info from a Datarow

  • Thread starter Thread starter mikezcg
  • Start date Start date
M

mikezcg

I would like to see the data in my datarow.

what i am trying is

for each datacolm in datatable.columns
debug.writeline (drow.tostirng & " = " & HOW DO I GET THE
VALUE of the row??
Next

i created a watch and see that the info is in my itemArray list
but there is no item.count for datarow

Any better ideas?

Mike
 
Hi,

In pseudocode drow(datacolumn.ColumnName) would return the value from
currect row for current column.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist



I would like to see the data in my datarow.

what i am trying is

for each datacolm in datatable.columns
debug.writeline (drow.tostirng & " = " & HOW DO I GET THE
VALUE of the row??
Next

i created a watch and see that the info is in my itemArray list
but there is no item.count for datarow

Any better ideas?

Mike
 
Hi Mike,

Just to clarify Temmu's point:

dim irow as datarow
for each irow in dscustomers
messagebox.show(irow("fname"))
next

HTH,

Bernie Yaeger

mikezcg said:
I would like to see the data in my datarow.

what i am trying is

for each datacolm in datatable.columns
debug.writeline (drow.tostirng & " = " & HOW DO I GET THE
VALUE of the row??
Next

i created a watch and see that the info is in my itemArray list
but there is no item.count for datarow

Any better ideas?

Mike
 
Back
Top