For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2005 > Saving and display of records in asp page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Saving and display of records in asp page
Jack

2005-03-23, 3:55 pm

Hi,
I need to build a asp page where it would serve as a data entry record page
as well as display page for records saved. This page should also allow
editing of records that has been saved.

e.g.

SAVEBUTTON
SS# EntryBox Name EntryBox Date EntryBox Revenue Generated EntryBox

DISPLAY OR EDIT BUTTON

---------- ------------ -------------
------------------------
---------- ------------ -------------
------------------------
---------- ------------ -------------
------------------------

The process of the first part of saving record is fine. However, the second
part of displaying all the records that has been saved including the current
record saved is where I am having problems.

I would appreciate any help/concepts/articles for handling display of
records as above. Hope I am clear to explain my problem. Regards.
Curt_C [MVP]

2005-03-23, 3:55 pm

Just save the data and then redirect back to the same page. If the page has
code in it to show the records it will show the new ones as well.



--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Jack" <Jack@discussions.microsoft.com> wrote in message
news:D01608EE-02D7-4E40-84EF-C75D1D224847@microsoft.com...
> Hi,
> I need to build a asp page where it would serve as a data entry record
> page
> as well as display page for records saved. This page should also allow
> editing of records that has been saved.
>
> e.g.
>
> SAVEBUTTON
> SS# EntryBox Name EntryBox Date EntryBox Revenue Generated
> EntryBox
>
> DISPLAY OR EDIT BUTTON
>
> ---------- ------------ -------------
> ------------------------
> ---------- ------------ -------------
> ------------------------
> ---------- ------------ -------------
> ------------------------
>
> The process of the first part of saving record is fine. However, the
> second
> part of displaying all the records that has been saved including the
> current
> record saved is where I am having problems.
>
> I would appreciate any help/concepts/articles for handling display of
> records as above. Hope I am clear to explain my problem. Regards.



Jack

2005-03-23, 3:55 pm

Thanks for the advise, Curt. I am trying to find reference to as how to loop
through records to display records, line by line. Do you have any reference
for this kind of manipulation? Thanks.

"Curt_C [MVP]" wrote:

> Just save the data and then redirect back to the same page. If the page has
> code in it to show the records it will show the new ones as well.
>
>
>
> --
> Curt Christianson
> Site & Scripts: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "Jack" <Jack@discussions.microsoft.com> wrote in message
> news:D01608EE-02D7-4E40-84EF-C75D1D224847@microsoft.com...
>
>
>

Bob Barrows [MVP]

2005-03-23, 3:55 pm

http://www.aspfaq.com/show.asp?id=2467

Bob Barrows

Jack wrote:[color=darkred]
> Thanks for the advise, Curt. I am trying to find reference to as how
> to loop through records to display records, line by line. Do you have
> any reference for this kind of manipulation? Thanks.
>
> "Curt_C [MVP]" wrote:
>

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Curt_C [MVP]

2005-03-23, 3:55 pm

You mean you dont know how to query a DB and show the results?
Start with a look around www.aspfaq.com and I even have stuff on my site
(www.darkfalz.com) that has samples.
You should be learning this before you learn to use ASP to write to the
db.....

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Jack" <Jack@discussions.microsoft.com> wrote in message
news:1BD6D6CE-FC09-47E7-922B-8DE3F51F9C27@microsoft.com...[color=darkred]
> Thanks for the advise, Curt. I am trying to find reference to as how to
> loop
> through records to display records, line by line. Do you have any
> reference
> for this kind of manipulation? Thanks.
>
> "Curt_C [MVP]" wrote:
>


Jack

2005-03-23, 3:55 pm

I was not thinking clearly. I got it. Thanks.

"Curt_C [MVP]" wrote:

> Just save the data and then redirect back to the same page. If the page has
> code in it to show the records it will show the new ones as well.
>
>
>
> --
> Curt Christianson
> Site & Scripts: http://www.Darkfalz.com
> Blog: http://blog.Darkfalz.com
>
>
> "Jack" <Jack@discussions.microsoft.com> wrote in message
> news:D01608EE-02D7-4E40-84EF-C75D1D224847@microsoft.com...
>
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com