Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
| Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 29th, 2004, 12:50 AM
Authorized User
 
Join Date: Jul 2004
Location: Delhi, Delhi, India.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
__________________
abhinavjain
  #2 (permalink)  
Old July 29th, 2004, 02:30 AM
Friend of Wrox
 
Join Date: Jul 2004
Location: Tehran, , Iran.
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
  #3 (permalink)  
Old August 2nd, 2004, 03:38 AM
Authorized User
 
Join Date: Jul 2004
Location: Delhi, Delhi, India.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here what's the meaning of "datatableobject"

abhinavjain
  #4 (permalink)  
Old August 3rd, 2004, 03:33 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Can you keep this topic to a single thread please?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to validate data in ASP.net manojpatel ASP.NET 1.0 and 1.1 Professional 2 June 13th, 2006 02:31 PM
Unable to display data using drop down list hayley Classic ASP Databases 2 January 18th, 2005 05:36 AM
unable to display stored data in textbox(asp.net) Abhinav_jain_mca ADO.NET 6 August 4th, 2004 07:45 AM
Unable to display data ractim ADO.NET 5 July 31st, 2004 04:55 AM
unable to print stored data in textbox(asp.net) Abhinav_jain_mca ADO.NET 1 July 30th, 2004 09:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.