To display data in textbox using asp.Net you need knowledge of both database and .Net technology.

Follow the steps given here:

Create a Connection from the database and then using the SqlCommand read the table. If the data is present in the table, add that value to the Text property of your textbox.

SqlConnection Conn = new SqlConnection(Connection_String);

SqlCommand Comm1 = new SqlCommand(Command, Conn);


SqlDataReader DR1 = Comm1.ExecuteReader();

if (DR1.Read())


textBox.Text = DR1.GetValue(0).ToString();



Tririd Technologies Pvt Ltd is Best Web Development Company in India , which is located in Ahmedabad.

We have developed so many Application using .Net Technology. Client Satisfaction is our Big Achievement.

We provide Web Application Development, Mobile Application Development, Search Engine OptimizationWord press, Custom Software, Database management etc.

To know more about us

Call us @ 8980010210

Visit us @

Leave a Reply

Your email address will not be published. Required fields are marked *