Live Chat Icon For mobile
Live Chat Icon

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 ?

Platform: ASP.NET| Category: ADO.NET

VB.NET


dsData.Tables(0).Rows(0)('FieldName').ToString()

C#


dsData.Tables[0].Rows[0]['FieldName'].ToString()

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.