p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   ADO.NET (http://p2p.wrox.com/ado-net-109/)
-   -   unable to display stored data(asp.net) (http://p2p.wrox.com/ado-net/16105-unable-display-stored-data-asp-net.html)

Abhinav_jain_mca July 29th, 2004 12:50 AM

unable to display stored data(asp.net)
 
I wanna to fatching data from SQL server,and display that on textbox.so what's code for this in asp.net.


abhinavjain

mehdi62b July 29th, 2004 02:30 AM

Hey,
if you finlay use a DataTable object you can get a special field like below.....
TextBox.Text=dataTableObject.Rows[0]["columnNme"].ToString();
//Rows[0]["columnName"] determines your field.

--------------------------------------------
Mehdi.

Abhinav_jain_mca August 2nd, 2004 03:38 AM

here what's the meaning of "datatableobject"

abhinavjain

planoie August 3rd, 2004 03:33 AM

Can you keep this topic to a single thread please?


All times are GMT -4. The time now is 08:00 AM.

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.