Questions?

nvc944

Newcomer
Joined
Apr 25, 2003
Messages
14
I guys I am currently doing a project and would like some help I am pretty new at this and was wondering if I might get some assistance.

I have these 4 questions which I need help with.. ".net"

1 - ok I created a class library and used ClassLibrary8 as my project name. Now I want to wrap my classes in a root namespace called Apr14VBNET and name my assembly VBNET123. What do I need to do?

2 - What is the namespace of this class:
System.Data.SqlClient.SqlDataAdapter

3 - I'm creating a class called Employee and I'd like to make the method
GetPerformanceHistory available to derived classes only. Which access
modifier should I use?
 
1) In the assembly project, right click the References in the File View and choose add, use the browse to locate your DLL.

2) System.Data.SqlClient if that does not exist then right click the References folder in the file view, choose add then scroll through the list until you find System.Data then Add it to the project

3) Private - Avaliable to this class only
Protected - Avaliable to this class and all derived classes ONLY
Public - Avaliable to everyone
Friend - Avaliable to all classes WITHIN this assembly
 
Back
Top