473,406 Members | 2,698 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,406 software developers and data experts.

class methods

I've been assigned to write a very general class to select, insert, update
and delete record using a SQL database. I need to use a database factory as
well. I looking for an example, tutorial, something on the msdn web site.
Sep 2 '08 #1
7 1458
bthumber wrote:
I've been assigned to write a very general class to select, insert,
update and delete record using a SQL database. I need to use a
database factory as well. I looking for an example, tutorial,
something on the msdn web site.
I'm not sure what this has to do with classic (COM-based) ASP.

It sounds like you're being asked to reinvent the wheel. Look for the
Patterns downloads on msdn

--
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.
Sep 2 '08 #2
=?Utf-8?B?YnRodW1iZXI=?= wrote on 02 sep 2008 in
microsoft.public.inetserver.asp.general:
I've been assigned to write a very general class to select, insert,
update and delete record using a SQL database. I need to use a
database factory as well. I looking for an example, tutorial,
something on the msdn web site.
"Assigned" like in school assignment?

If so wouldn't part of that job be searching for yourself?

If not,
why restrict yourself to one website,
and what is the sense of writing such class?

What is a "database factory" and why do you need to use it??

Are you sure you ment to post here, on a classic ASP NG?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sep 2 '08 #3
Evertjan
You did not answer my question, in fact your response was very negative. A
more decend response would be like the one from Bob Barrows. If you do know
the answer to a question then please don't bother with such a poorly throught
out response.

"Evertjan." wrote:
=?Utf-8?B?YnRodW1iZXI=?= wrote on 02 sep 2008 in
microsoft.public.inetserver.asp.general:
I've been assigned to write a very general class to select, insert,
update and delete record using a SQL database. I need to use a
database factory as well. I looking for an example, tutorial,
something on the msdn web site.

"Assigned" like in school assignment?

If so wouldn't part of that job be searching for yourself?

If not,
why restrict yourself to one website,
and what is the sense of writing such class?

What is a "database factory" and why do you need to use it??

Are you sure you ment to post here, on a classic ASP NG?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sep 2 '08 #4
=?Utf-8?B?YnRodW1iZXI=?= wrote on 02 sep 2008 in
microsoft.public.inetserver.asp.general:
"Evertjan." wrote:
>=?Utf-8?B?YnRodW1iZXI=?= wrote on 02 sep 2008 in
microsoft.public.inetserver.asp.general:
I've been assigned to write a very general class to select, insert,
update and delete record using a SQL database. I need to use a
database factory as well. I looking for an example, tutorial,
something on the msdn web site.

"Assigned" like in school assignment?

If so wouldn't part of that job be searching for yourself?

If not,
why restrict yourself to one website,
and what is the sense of writing such class?

What is a "database factory" and why do you need to use it??

Are you sure you ment to post here, on a classic ASP NG?
[Please do not toppost on usenet and do not quote signatures]
Evertjan
Strange, adressing me by my name, while you do not supply even a nickname.
Some would call that rude, if this weren't usenet.
You did not answer my question, in fact your response was very
negative. A more decend response would be like the one from Bob
Barrows. If you do know the answer to a question then please don't
bother with such a poorly throught out response.
This is usenet, not a paid answering service.
On usenet the answers are not restricted to what you want them to be.

I hope my aswer, no my questions got you thinking,
not just increasing your adrenaline level,
though for some that helps the little white cells working.

And yes, Bob is a very decent guy.

Even so, perhaps answering some of my questions,
even in your mind only, could have a learning effect.

What is a "database factory"?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sep 2 '08 #5


"bthumber" wrote:
Evertjan
You did not answer my question, in fact your response was very negative.
Well, you didn't ask a very specific question.

Both Bob and Evertjan asked you a question that you failed to answer: Are
you doing this for classic ASP, using VBScript? Or is this for ASP.NET?

If it's for ASP.NET, you are in the wrong group. And, as Bob said, you'd be
reinventing the wheel for the umpteenth time.

If this *is* for classic ASP, then Evertjan is asking you if this is
homework. Generally, people in groups like this won't do your homework. They
expect you to at least make an effort. Write some code. Get stuck. THEN ask
for help.
If you do know the answer to a question then please don't bother with such a poorly throught out response.
Believe me, Evertjan knows the answer. Along with a few thousand other
answers. And I believe he probably thought out his response and made every
point he intended to make.
Sep 2 '08 #6
As I recall my question asked for if they new of any examples, or tutorials,
Bob pointed me in the right direction, "tutorials," of which I am using right
now. As far as homework for school, not many students can shell out the >
$1000.00 bucks to get a msdn subscription, so that question was out of line
anyway. If this question was in wrong group a suggestion as to a better
group would have been a better answer.

Again I asked for tutorials or examples you might want to take a look at the
orginal question, I'm not concern with what Evertjan knows or don't, if you
don't have something positive to add then don't respond or keep your
negativity to yourself.

"Old Pedant" wrote:
>

"bthumber" wrote:
Evertjan
You did not answer my question, in fact your response was very negative.

Well, you didn't ask a very specific question.

Both Bob and Evertjan asked you a question that you failed to answer: Are
you doing this for classic ASP, using VBScript? Or is this for ASP.NET?

If it's for ASP.NET, you are in the wrong group. And, as Bob said, you'd be
reinventing the wheel for the umpteenth time.

If this *is* for classic ASP, then Evertjan is asking you if this is
homework. Generally, people in groups like this won't do your homework. They
expect you to at least make an effort. Write some code. Get stuck. THEN ask
for help.
If you do know the answer to a question then please don't bother with such a poorly throught out response.

Believe me, Evertjan knows the answer. Along with a few thousand other
answers. And I believe he probably thought out his response and made every
point he intended to make.

Sep 2 '08 #7
As this is a .NET question, it is outside the scope of this newsgroup, and I
normally don't answer .Net questions here. However, you may find these
links useful:

http://msdn.microsoft.com/en-us/library/aa479071.aspx
http://msdn.microsoft.com/en-us/libr...amppet4_topic5

Further .NET related questions should be asked at forums.asp.net or
microsoft.public.dotnet.framework.aspnet or
microsoft.public.dotnet.framework.adonet

--
Mike Brind
MVP - ASP/ASP.NET

"bthumber" <bt******@discussions.microsoft.comwrote in message
news:A4**********************************@microsof t.com...
As I recall my question asked for if they new of any examples, or
tutorials,
Bob pointed me in the right direction, "tutorials," of which I am using
right
now. As far as homework for school, not many students can shell out the >
$1000.00 bucks to get a msdn subscription, so that question was out of
line
anyway. If this question was in wrong group a suggestion as to a better
group would have been a better answer.

Again I asked for tutorials or examples you might want to take a look at
the
orginal question, I'm not concern with what Evertjan knows or don't, if
you
don't have something positive to add then don't respond or keep your
negativity to yourself.

"Old Pedant" wrote:
>>

"bthumber" wrote:
Evertjan
You did not answer my question, in fact your response was very
negative.

Well, you didn't ask a very specific question.

Both Bob and Evertjan asked you a question that you failed to answer: Are
you doing this for classic ASP, using VBScript? Or is this for ASP.NET?

If it's for ASP.NET, you are in the wrong group. And, as Bob said, you'd
be
reinventing the wheel for the umpteenth time.

If this *is* for classic ASP, then Evertjan is asking you if this is
homework. Generally, people in groups like this won't do your homework.
They
expect you to at least make an effort. Write some code. Get stuck. THEN
ask
for help.
If you do know the answer to a question then please don't bother with
such a poorly throught out response.

Believe me, Evertjan knows the answer. Along with a few thousand other
answers. And I believe he probably thought out his response and made
every
point he intended to make.


Sep 2 '08 #8

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

Similar topics

5
by: S. McKee | last post by:
Hi, I am very (very very) new to java and have what I am sure is a simple problem that I hope someone can help with. I have two .java files. The first has public final class FormatSWN { ...
4
by: Neil Zanella | last post by:
Hello, I would like to know whether it is possible to define static class methods and data members in Python (similar to the way it can be done in C++ or Java). These do not seem to be mentioned...
18
by: John M. Gabriele | last post by:
I've done some C++ and Java in the past, and have recently learned a fair amount of Python. One thing I still really don't get though is the difference between class methods and instance methods. I...
3
by: Neil Zanella | last post by:
Hello, It seems to me that using too many variables at class scope in C++ (e.g. private data members) can be just as bad as having a C program with lots of global variables. This is especially...
6
by: Baris | last post by:
Given the C# code below, can anyone think of a better class design? What really gets my goat is that the code within derived classes D1 and D2 is identical and in my mind should be refactored into...
2
by: timpera2501 | last post by:
I am a newb to OOP programming and I'm only just starting with C#. I've done a TON of reading lately, and I'm currently in the process of modifying some of the function provided by the...
7
by: WXS | last post by:
Vote for this idea if you like it here: http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=5fee280d-085e-4fe2-af35-254fbbe96ee9...
0
by: emin.shopper | last post by:
I had a need recently to check if my subclasses properly implemented the desired interface and wished that I could use something like an abstract base class in python. After reading up on metaclass...
9
by: Steve Richter | last post by:
in a generic class, can I code the class so that I can call a static method of the generic class T? In the ConvertFrom method of the generic TypeConvert class I want to write, I have a call to...
61
by: Sanders Kaufman | last post by:
I'm wondering if I'm doing this right, as far as using another class object as a PHP class property. class my_baseclass { var $Database; var $ErrorMessage; var $TableName; var $RecordSet;...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.