How do you count the No. of tables in a dataset? Explain breifly What is GAC?

Showing Answers 1 - 6 of 6 Answers

GAC is Global Assembly Cache... this is the place where we put our shared assemblies so that it can be shared by more than one application. For putting an assembly in GAC we require

1. To strong name the assembly by using sn - k utility

2. we need to have admin rights for logged-in user to add/ remove assembly from GAC

  Was this answer useful?  Yes

To count the number of tables in a dataset, here is the property of dataset

objDataSet.Tables.Count

GAC is a special folder which is the repository of .NET public assemblies,

1. Contains Assebmblies which are shared among multiple applications.

2. Used to control the assembly versioning in .NET framework, called as side by side execution of assemblies by CLR.

3. Strong naming and copying the assembly in the GAC guarantees to the calling application that assembly has come from the correct vendor not from any third party person who may try to screw your system.

Hope it clears,

Cheers,

Ashik Wani

UK

 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions