By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

Asp.NET and master-detail input?

P: n/a
Hi,

i need to be able to active;

on the first page a process is started with a (master) record insert and
it will open next page
on the next page a datagrid will be used to insert update delete detail
vales of the master record

finally the "save" button will actually save the inputs master-detail
records... i dont want to use flag values because it causes handling
problems (especially while editing on detail records)
i have tried to begin a transaction on the first page and end (commit) on
save button with some cache technics (with timeout) but its not a efficient
way..

what to do? com+? (i am a bit negative on that)

Thanks in advance

~~~~~~~~~~~~~~~~~~~~~~~~
Ozgur YASAR
Please remove "NO-SPAM" to reply.
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Ozgur:

It sounds like you want a database transactions spanning two page
requests. This is generally a bad idea, because the transaction will
be open for a long time. Perhaps you could use a DataSet and
DataTables to cache the data until the user is sure they want to
commit the records.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 3 Jun 2005 17:24:23 +0300, "Ozgur YASAR"
<oy******@NO-SPAM.hotmail.com> wrote:
Hi,

i need to be able to active;

on the first page a process is started with a (master) record insert and
it will open next page
on the next page a datagrid will be used to insert update delete detail
vales of the master record

finally the "save" button will actually save the inputs master-detail
records... i dont want to use flag values because it causes handling
problems (especially while editing on detail records)
i have tried to begin a transaction on the first page and end (commit) on
save button with some cache technics (with timeout) but its not a efficient
way..

what to do? com+? (i am a bit negative on that)

Thanks in advance

~~~~~~~~~~~~~~~~~~~~~~~~
Ozgur YASAR
Please remove "NO-SPAM" to reply.


Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.