Home / FAQ / ASP.NET / ADO.NET / I am running the query SQL=’Select name from profile where proID=1′; and I am getting the result in Dataset dsdata. Now how do I read the text from the dataset and assign it to textbox1.text ?
VB.NET
dsData.Tables(0).Rows(0)('FieldName').ToString()
C#
dsData.Tables[0].Rows[0]['FieldName'].ToString()
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with