Dataview to Textbox

Hi,

I have a dataview with one row in it. I need to populate the textbox with column in data view named "Description" How do I do it ? I dont want to convert to datatable
GRChandrashekarAsked:
Who is Participating?
 
Shaun KlineLead Software EngineerCommented:
To access a specific column in a specific row, use:

VB.Net
<dataview object>(<index>)("<name of columne>")

C#
<dataview object>[<index>]["<name of column>"]
0
 
GRChandrashekarAuthor Commented:
tbxdescription.Text = Convert.ToString(dataview[0]["Description"])

Unexpected token
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.