Wednesday, June 10, 2009

What does the virtual keyword in C# mean?

Que. What does the virtual keyword in C# mean?
Ans. The virtual keyword signifies that the method and property may be overridden.

Que. What is the access modifier of a member function of in an Interface created in .NET?

Que. What is the access modifier of a member function of in an Interface created in .NET?
Ans. It is always public, we cant use any other modifier other than the public modifier for the member functions of an Interface.

How to prevent inheritance of a class in .NET?

Que. How to prevent inheritance of a class in .NET?
Ans. Use the keyword NotInheritable in VB.NET and sealed in C#.

Que. How to prevent overriding of a class in .NET?

Que. How to prevent overriding of a class in .NET?
Ans. Use the keyword NotOverridable in VB.NET and sealed in C#.

Is it possible to create a shared event in .NET?

Que. Is it possible to create a shared event in .NET?
Ans. Yes, but shared events may only be raised by shared methods.

Is it possible to specify an access specifier to an event in .NET?

Que. Is it possible to specify an access specifier to an event in .NET?
Ans. Yes, though they are public by default.

What is the return type of an event in .NET?

Que. What is the return type of an event in .NET?
Ans. There is No return type of an event in .NET.

Is a delegate a type-safe functions pointer?

Que. Is a delegate a type-safe functions pointer?
Ans. Yes

What is the difference between a session object and an application object?

Que. What is the difference between a session object and an application object?
Ans. A session object can persist information between HTTP requests for a particular user, whereas an application object can be used globally for all the users.

Which control has a faster performance, Repeater or Datalist?

Que. Which control has a faster performance, Repeater or Datalist?
Ans. Repeater.

Which control has a faster performance, Datagrid or Datalist?

Que. Which control has a faster performance, Datagrid or Datalist?
Ans. Datalist.

Is it possible to perform forms authentication with cookies disabled on a browser?

Que. Is it possible to perform forms authentication with cookies disabled on a browser?
Ans. Yes, it is possible.

What are the steps to use a checkbox in a gridview?

Que. What are the steps to use a checkbox in a gridview?
Ans.
OnCheckedChanged="Check_Clicked">

How do we enable tracing in .NET applications?

Que. How do we enable tracing in .NET applications?
Ans. <%@ Page Trace="true" %>

Is it possible to disable client side script in validators?

Que. Is it possible to disable client side script in validators?
Ans. Yes. simply EnableClientScript = false.

How to we add customized columns in a Gridview in ASP.NET?

Que. How to we add customized columns in a Gridview in ASP.NET?
Ans. Make use of the TemplateField column.

Is it possible to stop the clientside validation of an entire page?

Que. Is it possible to stop the clientside validation of an entire page?
Ans. Set Page.Validate = false;

Why we use Autogenerated columns?

Que. What property within the asp:gridview control is changed to bind columns manually?
Ans. Autogenerated columns is set to false

What method is used to explicitly kill a user's session?

Que. What method is used to explicitly kill a user's session?
Ans. Session.Abandon()

Is XML a case-sensitive markup language?

Que. Is XML a case-sensitive markup language?
Ans. Yes.

What is the base class of all web forms?

Dev Palmistry

Que. What is the base class of all web forms?
Ans. System.Web.UI.Page

What is managed data?

Que. What is managed data?
Ans. The data for which the memory management is taken care by .Net runtime’s garbage collector, and this includes tasks for allocation de-allocation.

What are the new features in .NET 2.0?

Que. What are the new features in .NET 2.0?
Ans. Plenty of new controls,
Generics,
anonymous methods,
partial classes,
iterators,
property visibility (separate visibility for get and set) and static classes.

Can we run ASP.NET 1.1 application and ASP.NET 2.0 application on the same computer?

Que. Can we run ASP.NET 1.1 application and ASP.NET 2.0 application on the same computer?
Ans. Yes, though changes in the IIS in the properties for the site have to be made during deployment of each.

Is String a Reference Type or Value Type in .NET?

Que. Is String a Reference Type or Value Type in .NET?
Ans. String is a Reference Type object.

Are MSIL and CIL the same thing?

Dev Palmistry

Que. Are MSIL and CIL the same thing?
Ans. Yes, CIL is the new name for MSIL.

How to Describe Project !!

PROJECT SUMMARY

1. IDLDPL (Indian Digital Life Style Distributors Pvt. Ltd.)
(Current Running Project)

Employer: Arete Consultants pvt ltd.

Profile: Software Developer

Duration: Sep ’08 to till date

Responsibilities: Involved in coding, Writing Stored Procedures, Views, Database Developing.

My Modules: Master, Stock Transfer, Stock Return and Other. And Whole User Part.

Environment: Windows XP SP2, Visual Studio 2005 Dot Net Framework: 2.0

DataBase: Microsoft SQL Server 2000.

Team Members: 5
Role: Design and Coding with Database.

Tools: C#.NET, Java Script, Ajax.

Project Description:

IDLDPL systems are fully integrated solutions, developed on 3 tier architecture. They provide a backbone foundation system that provides most of the day-to-day business transactions. They are designed to deliver a seamless integration of information and knowledge. These systems are very powerful tools that can provide significant benefit to any distributed departments.
In addition, these fully integrated systems establish a foundation platform for delivering Web-based services and transactions, providing additional value to the organization and its customers.

IDLDPL contains the following modules:-?

Masters – First interface for add Employer, Customer, Supplier, Products etc as well as all the dropdown down values like Bank name, Brand Name etc.

Sale – Generate Order Form, Order Purchasing Form, and Invoice all with Edit, View Copy and Detail Facilities.

Purchase – Generate Purchase Order, Receive Invoice all with Edit, View Copy and Detail Facilities.

Stock Transfer – Generate Stock Transfer Request, Edit, And View Than Dispatch. As well as Received Request with Data Base Update.

Stock Return – Generate Stock Return to Supplier and From Customer with same Process as like Stock Transfer.

Payment – Used For All Payment Sent and Received Purpose.

Other – Containing the Other Forms like Job, News, and Products Offers etc…