Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Need guidance - ADo .NET, ASP .NET, dataset - where does the code go?

Reply
Thread Tools

Need guidance - ADo .NET, ASP .NET, dataset - where does the code go?

 
 
Likhith Areekkal
Guest
Posts: n/a
 
      12-26-2004
Hi,

I am new to web programming and am using ASP .NET (C#) and ADO .NET to
develop a web based room booking application. I have been reading a lot of
books on ADO .NET and ASP .NET and I have a few basic question which I am
totally confused about.

Please note that I am a beginner and you have to see the questions in that
angle. I may be vague on my questions - if it is not clear please guide me.

1. Regarding dataset:

I have one bookings table which takes in all the booking information - ID of
the person, date booked, start time, end time and room booked. Update,
Delete, Add mainly happens in this database. there are other tables but the
main one is the above mentioned table.

Question:

Does every client who accesses the web application end up creating a
dataset?
OR
Is there only one dataset which is accessed by all clients?

2. Regarding ASP .NET:

If it is only one dataset which part of the program do I set this dataset up
so that the application creates only one dataset. ?

If I do it in the pageload section will it not end up creating dataset for
every client?

Are you with me? If the above question is not clear, please let me know.

The book talks about how to create the dataset - gives the code. But it
doesn't actually tell me which part of the program should the code for the
dataset be in.

Thank you and I appreciate your guidance.

Best Regards,
Li


 
Reply With Quote
 
 
 
 
Navendu Kumar
Guest
Posts: n/a
 
      01-05-2005
Hi Likhith,

Every user of your application will be having his own instance of the the
dataset you will create in your code.
You can create your dataset at any point of time in your code.

Regards

Navendu



"Likhith Areekkal" wrote:

> Hi,
>
> I am new to web programming and am using ASP .NET (C#) and ADO .NET to
> develop a web based room booking application. I have been reading a lot of
> books on ADO .NET and ASP .NET and I have a few basic question which I am
> totally confused about.
>
> Please note that I am a beginner and you have to see the questions in that
> angle. I may be vague on my questions - if it is not clear please guide me.
>
> 1. Regarding dataset:
>
> I have one bookings table which takes in all the booking information - ID of
> the person, date booked, start time, end time and room booked. Update,
> Delete, Add mainly happens in this database. there are other tables but the
> main one is the above mentioned table.
>
> Question:
>
> Does every client who accesses the web application end up creating a
> dataset?
> OR
> Is there only one dataset which is accessed by all clients?
>
> 2. Regarding ASP .NET:
>
> If it is only one dataset which part of the program do I set this dataset up
> so that the application creates only one dataset. ?
>
> If I do it in the pageload section will it not end up creating dataset for
> every client?
>
> Are you with me? If the above question is not clear, please let me know.
>
> The book talks about how to create the dataset - gives the code. But it
> doesn't actually tell me which part of the program should the code for the
> dataset be in.
>
> Thank you and I appreciate your guidance.
>
> Best Regards,
> Li
>
>
>

 
Reply With Quote
 
 
 
 
ajap99@yahoo.co.uk
Guest
Posts: n/a
 
      01-14-2005
Hello Li
I am in exactly the same position as you are in.
Did you get it sorted ?
If you did I would like to make contact and maybe we could assist each other

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.Net 1.1 Application Object & ADO.Net DataSet =?Utf-8?B?bXN1aw==?= ASP .Net 5 07-03-2006 01:40 PM
Translating Oracle Package Call from ADO to ADO.Net dmiratsky@yahoo.com ASP .Net 0 02-14-2005 10:39 PM
Transfer ADO Code to ADO.NET ronaldlee ASP .Net 1 12-17-2004 04:08 PM
Accessing an ADO Recordset or Record from ADO.NET nita ASP .Net 1 11-20-2004 07:06 AM
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. Navin ASP General 1 09-09-2003 07:16 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57