" />

DataSet into TextBox c#

Posted on martes, 06 de mayo de 2008 by lupusdei @ 14:49

DataSet into TextBox c#

I am running the query SQL="Select name from profile where proID=1"; and I am getting the result in Dataset dsdata. How can I read the text from the dataset and assign it to textbox1.text ?


VB.NET


Textbox1.Text= dsData.Tables(0).Rows(0)("FieldName").ToString()


C#


TextBox1.Text=dsData.Tables[0].Rows[0]["FieldName"].ToString();

Tags: TextBox C#

martes, 06 de mayo de 2008
Published by (Publicado por) lupusdei @ 14:49 | 1 Comments (Comentarios) | Send (Enviar)

MY Tags: web suunnittelu, Hakukoneoptimointi, Googleoptimointi, ruukkupuu, oscar barrera

Add a comment


test test comentario