473,394 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Data Bound Text Boxes

Hi all,

Had an interesting question posed to me today and I thought I'd ask you all.
On a form, which contains several databound text boxes (bound to a dataset),
is there a simple way to "scroll" (for lack of a better word) from one
record to the next? What I'm looking for is a way to add a button that lets
you move to the next record, or a previous record, and update the Textboxes
like on a Windows form or even an Access form.

Thanks
Nov 19 '05 #1
2 1107
ASP.Net 2.0 will have a builtin view called the DetailsView which does this.
You can create your own control to do this in 1.x however:

http://msdn.microsoft.com/library/de...etailsview.asp

there are likely ready to install ones available as well...

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Michael C#" <xy*@abcdef.com> wrote in message
news:9w***************@fe08.lga...
Hi all,

Had an interesting question posed to me today and I thought I'd ask you all. On a form, which contains several databound text boxes (bound to a dataset), is there a simple way to "scroll" (for lack of a better word) from one
record to the next? What I'm looking for is a way to add a button that lets you move to the next record, or a previous record, and update the Textboxes like on a Windows form or even an Access form.

Thanks

Nov 19 '05 #2
Thank you, Perfect!

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:Or**************@TK2MSFTNGP12.phx.gbl...
ASP.Net 2.0 will have a builtin view called the DetailsView which does this. You can create your own control to do this in 1.x however:

http://msdn.microsoft.com/library/de...etailsview.asp
there are likely ready to install ones available as well...

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Michael C#" <xy*@abcdef.com> wrote in message
news:9w***************@fe08.lga...
Hi all,

Had an interesting question posed to me today and I thought I'd ask you

all.
On a form, which contains several databound text boxes (bound to a

dataset),
is there a simple way to "scroll" (for lack of a better word) from one
record to the next? What I'm looking for is a way to add a button that

lets
you move to the next record, or a previous record, and update the

Textboxes
like on a Windows form or even an Access form.

Thanks


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Paul Edwards | last post by:
I am writing in c# with Visual Studio 2003. I am creating a form that shows one record from a Dataset that is populated with only one record from SQL Server 2000. I am using bound controls, both...
0
by: Dwayne Gaddy | last post by:
Hey all, I have a windows form with a list boxes. I have data bound the list boxes with data from my sql database. I want to use drag and drop to allow users to choose different options from the...
7
by: Andrew McKendrick | last post by:
Hi, I've noticed a bug in VB.NET (latest .NET Framework)... - I have a TabControl on a form with several tabs. - Each tab contains text boxes that are bound to fields in a data source...
1
by: Aparna Rege | last post by:
Hi, I am having trouble with a tab control. All the fields on the form are data bound and are spread over two tabs of a tab control. I have placed a Clear button with the code to clear all the...
5
by: campbellbrian2001 | last post by:
I'm trying to get the "Carry data over to new record" code to work from Allen Browne's site: http://allenbrowne.com/ser-24.html I follwed the instruction explicitly and somethings not working......
5
by: aniket_sp | last post by:
i am using a data adapter and a dataset for filling and retrieving data into .mdb database. following is the code..... for the form load event Dim dc(0) As DataColumn Try If...
9
by: Anil Gupte | last post by:
After reading a tutorial and fiddling, I finally got this to work. I can now put two tables created with a DataTable class into a DataRelation. Phew! And it works! Dim tblSliceInfo As New...
10
by: Gerhard | last post by:
Hi, all I run into the same problem on Access 2000 and 2003. Hopefully someone can replicate it – or not. 1. Create an unbound form – call it Form1. 2. Insert two unbound text boxes –...
3
by: Ctal | last post by:
I have an app that populates several data tables on load. Each of these are bound to a datagrid. Above each datagrid I have several text boxes that display the data for the active row. There are...
1
by: Peter | last post by:
Hi, I'm trying to create a form that shows table rows in a listbox. Several comboboxes expand the foreign key fields into text values from the parent tables, and there are also some textboxes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.