|
Project 1
I have four classes
class1
this contains the variables, properties and constructors
suppose
private string abc;
Interface2
This contains interfaces
void a1();
class3
this will have function definitions. basically this will contains functions to do the
database interactions
public void a1()
{
}
class4
this will inherit Interface 2 and will override the definition.
public void a1()
{
class3 a = new class3();
a.a1();
}
Project 2
class5
this will have function
public static Interface2 Getclass4_Details()
{
return new class4();
}
Project 3
In the form button click
i am doing
Interface2 Obj = null;
Obj = project2.class5.Getclass4_Details();
obj.a1();
I am approaching in the above way to do database interaction. Am I approaching i the right direction ?
|
|
|
|
|
abcurl wrote: Am I approaching i the right direction ?
I suspect not, but it is difficult to understand what you are trying to achieve. The only thing I would say is that this looks extremely complicated; are you sure you need so many classes and interfaces?
MVP 2010 - are they mad?
|
|
|
|
|
I am trying to do database interaction using the factory pattern.
Please help
|
|
|
|
|
I would suggest looking at some of the links here[^]. It is not a simple matter of a few lines of code, you will need to study the subject in some depth to get a workable solution.
MVP 2010 - are they mad?
|
|
|
|
|
It's not immediately clear to me why you need class4 as well as class3. What value do you gain by having class4 in there instead of having class3 implement interface 2? Class 4 seems to do nothing but bucket-pass calls straight on to class 3.
By the way, better names might make the example a bit easier to understand.
|
|
|
|
|
Reason - I am implementing the multiple inheritence concept in class4
by overriding the function
|
|
|
|
|
Both classes are in the same assembly, I too see no point in having class4 there, btw i think you should subclass Class3 instead of creating a new instance in the function in class4.
|
|
|
|
|
Good morning.
I have an app which uses the Windows Media Player control, but I am using customized buttons instead of the player controls.
I wan to increase and decrease the volume with a TrackBar control, but I am not sure how to access the volumn properties of the axWindowsMediaPlayer1.currentMedia.
Any suggestions? Thnak you, WHEELS
|
|
|
|
|
You can read and write the volume by accessing the volume property of the media player settings.
axWindowsMediaPlayer1.settings.volume = (range 0 - 100)
Hope that helps (not tested)!
Greetings
Covean
|
|
|
|
|
Exactly what I needed. Thank you, WHEELS
|
|
|
|
|
I need a program in PHP which can extract the hidden biders from ebay.I will have to insert the item number and the program must show me all bidders of the auction and their emails.
Also the same program must extract the registered contact information for any specified bidder specially the email address
I will pay for this
If someone can help please contact me at totos_back@yahoo.com
Thanks
|
|
|
|
|
totolcm wrote: a program in PHP
and that is why you post in the C# forum?
|
|
|
|
|
I post it here because is a very hard program , all told me that is imposible to create
|
|
|
|
|
You're a special kind of stupid, aren't you...
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
I don't answer questions that ignore the forum guide lines.
|
|
|
|
|
So you post a PHP programing job advert on a C# code questions forum. Like DUH!
Try posting on RentACoder.com or similar.
|
|
|
|
|
Yeah, because it IS impossible! There is no way to get at the hidden bidders list because it is never sent to anyone and you're code will not be able to get at ebay's database server to find out either.
|
|
|
|
|
First of all, you're in the wrong forum. Next, I don't think that eBay works that way. If a bidder is hidden, I doubt you could do much to bypass that. Finally, you need to post snippets of code and help with debugging, not ask for an entire program.
|
|
|
|
|
do you know someone who can help me with this program ?? I really need it
Regards
|
|
|
|
|
Go visit this site[^]
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something." Robert Heinlein
|
|
|
|
|
totolcm wrote: I really need it
Not true, you want it, but nobody needs such a program, especially for a criminal enterprise.
MVP 2010 - are they mad?
|
|
|
|
|
No. Even if I did, I wouldn't allow myself to sell or give it to you - it's either illegal or incredibly immoral. I refuse to deliberately invade somebody's privacy when they have explicitly indicated that they do not want to be known.
|
|
|
|
|
You can only check bidder ids/emails for your own listings. There is no way the APIs are going to let you get to that info for somebody else's items. The eBay developers program http://developer.ebay.com/[^] has lots of examples to get you going.
|
|
|
|
|
Your post breaks more of the guidelines for this forum than I have seen in any single post for a long while.
I also love the fact you posted you e-mail on a public forum, so will any spambots knocking around.....
CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks
|
|
|
|
|
Go away.
“Follow your bliss.” – Joseph Campbell
|
|
|
|