Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form in Asp.net(like forms in MS Access database)??? 2

Status
Not open for further replies.

qajussi

Programmer
Mar 22, 2004
236
US
Hi!

I have been looking for an example for a while but can't find any.
What I want to create IS a form like forms in the MS Access database which let you access the record one at a time in the form.
Asp.net shows you all the records in the Datagrid(table format).

Can someone help me to create a form which shows me one record at a time and let me navigate with previous or next record button and maybe add a new record button?
And Can I also enter a new record after I moved the last record like (MS access form)??

Here is an example.

tblName
ID
LastName
FirstName

I want a form with
*******************************
*** ID : ** 11 ***
*******************************
***Last Name : ** Smith ***
*******************************
***First Name: ** Joe ***
*******************************
** Previous ** Next ** Add ***
*******************************

I am trying to create data entry forms in asp.net like forms in the MS access.

I don't know how to accomplish but if I can create this one table into the form, I think I can figure it out.
Please help.

Thanks millions in advance.
 
Thank you Ecreations!!

Yes..I think that is what I am looking for..
I am a little confused by how they call it as the windows forms(But that's what it calls!....Maybe asp web page!!)

But I will try examples..

do you know why there aren't many examples like this??
Thisn't is a good way to design data entry forms, is it??
Not too popular design is it??


I deal with a lot of data entry forms..
I have been designing them in the ms access databases.
It's very easy and quick to make those forms..

trying to move to the web browse but don't see a lot of examples..which will help me a lot of designing the forms..
Thanks very much for your guidance.


 
Another way you could do that is to set "Allow Paging" on your datagrid to show only one record at a time. You can select "Previous", "Next", or "Page 1, 2, 3" etc. I just read your post about the "Form" view rather than "Table" view, so this probably isn't much help. I'm still gonna post though :cool:
 
Thank you jshurst!

I thought about that too.
In Asp.net everything is in table format.

I can't find any examples doing in form format.

Why is that??

Thanks again.
 
I can't find any examples doing in form format.

Why is that??

I think probably because of the way web applications have grown, or where they came from.

When this all started there wasn't any connecting to databases at all, if you were lucky you submitted a form and hoped that someone read it. There were also speed issues to deal with. When people were connecting with 2800 baud modems, they didn't want to page through something, they wanted to go right to it (and probably still do). So the web eveloved into more of a "tell me what you want and I'll go get it" model.

This is very different from the corporate intranet where everyone's connected to 10/100 megabit connections. When you've got that kind of bandwidth you can do lots of things. :-D

So, I guess long story short is that there aren't a lot of "form format" pages because there's usually a "search" instead.

Sorry for the long winded response....I think it's time for me to goto bed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top