Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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
 
Old July 23rd, 2008, 08:48 AM
Authorized User
 
Join Date: Jul 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Data Source

hi i need a ima student and im working on my project, my question is how can retrieve e.g. student number and his/her details from table without triggering the save button on my webform(by the way im using a databound and AccessDatasource . Webform it triggers the save button automatically which calls an insertProcedure when im selecting from a databound. which can i use that will not trigger the insert method. Looking to your positive respond.

supertedz
__________________
supertedz
 
Old July 23rd, 2008, 08:55 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default

Not too sure if I understand you correctly here, I am assuming English is not your first language?

If I understand correctly, you want to populate fields on a Web Form with data from a database without clicking a button to do so?

I think what you need to remember here is that the Web is stateless. There is no "Form" in the same way that it is loaded into memory in a Windows appliation, its simply "faked" by using the ViewState & StateBag to store controls values. In which case a PostBack is always required.

I think what you are trying to achieve can be done via [possibly extensive] use of AJAX, but I would recommend waiting for the more experienced web guys to respond.
In the mean time, can you confirm if my assumption is correct?

Rob
http://cantgrokwontgrok.blogspot.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
data source hastikeyvan ASP.NET 1.0 and 1.1 Basics 4 April 4th, 2008 11:13 PM
data source... rupen Access VBA 5 August 1st, 2007 06:10 AM
Re: Browsing to Data Source dazzer General .NET 0 March 17th, 2004 08:59 AM
Excel as Data Source bmains ADO.NET 2 February 5th, 2004 04:42 PM





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