p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ADO.NET (http://p2p.wrox.com/forumdisplay.php?f=109)
-   -   display the result of query in textbox. (http://p2p.wrox.com/showthread.php?t=16114)

Abhinav_jain_mca July 29th, 2004 04:36 AM

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.


planoie July 29th, 2004 07:48 AM

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?

Abhinav_jain_mca August 2nd, 2004 05:21 AM

In which(object,item or whatever) i have to take take the qurey result
and then how to assign that to textboxes.


planoie August 3rd, 2004 03:29 AM

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.

planoie August 3rd, 2004 03:34 AM

Incidentally, this is a cross post, several times over.

Can you keep this topic to a single thread please?

All times are GMT -4. The time now is 10:55 PM.

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