|
 |
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |

July 29th, 2004, 04:36 AM
|
Authorized User
|
|
Join Date: Jul 2004
Location: Delhi, Delhi, India.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
display the result of query in textbox.
I wanna to display the result of a "select" query,in to the textbox.i.e different table fields in different textbox.
so what's complete code for this in asp.net.
abhinavjain
__________________
abhinavjain
|

July 29th, 2004, 07:48 AM
|
 |
Friend of Wrox
Points: 16,481, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,409
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
You need to execute the database query then take the results and assign them to the textbox .Text attributes. Do you need help with a specific part of this process or are you unclear on it in general?
|

August 2nd, 2004, 05:21 AM
|
Authorized User
|
|
Join Date: Jul 2004
Location: Delhi, Delhi, India.
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
In which(object,item or whatever) i have to take take the qurey result
and then how to assign that to textboxes.
abhinavjain
|

August 3rd, 2004, 03:29 AM
|
 |
Friend of Wrox
Points: 16,481, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,409
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
You need to execute a database query using the database access classes, get the result to some data class (dataset, datatable, datareader, or a scalar variable) then save the desired result(s) into the textboxes using the .Text property. It sounds like perhaps you need to look at some tutorials on ADO.NET and ASP.NET.
|

August 3rd, 2004, 03:34 AM
|
 |
Friend of Wrox
Points: 16,481, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,409
Thanks: 0
Thanked 16 Times in 16 Posts
|
|
Incidentally, this is a cross post, several times over.
Can you keep this topic to a single thread please?
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |