Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
Define extender provider component?
Posted By :
Subhransu Sekhar Jena
Posted Date :
October 31, 2014
It provides additional features to the controls. ErrorProvider, HelpProvider, and ToolTip components are the examples of extender provider.
You can also find related Interview Question to
Define extender provider component?
Explain what is Extender provider component? How to use this in the project?
This is a component which provides properties and features to other components or controls. This mechanism is usually used in windows forms applications. The examples of extender provider components are ToolTip, HelpProvider, and ErrorProvider etc.
Use an extender provider in your project:
. With the help of ProvidePropertyAttribute, you can specify the name of the property that an implementer of IExtenderProvider provides to other controls, attribute to specify the property.
. Then use the provided property and try to find which control receives your provided property.
. After that use IExtenderProvider, this defines the interface for extending properties to other components.
Difference between OLEDB Provider and SqlClient ?
SQLClient .NET classes are highly optimized for the .net / sqlserver combination and achieve optimal results. The SqlClient data provider is fast. It's faster than the Oracle provider, and faster than accessing database via the OleDb layer. It's faster because it accesses the native library (which automatically gives you better performance), and it was written with lots of help from the SQL Server team.
Define namespace in C++ ?
It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions.
Define precondition and post-condition to a member function.
A precondition is a condition that must be true on entry to a member function. A class is used correctly if preconditions are never false. An operation is not responsible for doing anything sensible if its precondition fails to hold.
For example, the interface invariants of stack class say nothing about pushing yet another element on a stack that is already full. We say that isful() is a precondition of the push operation.
A post-condition is a condition that must be true on exit from a member function if the precondition was valid on entry to that function. A class is implemented correctly if post-conditions are never false.
For example, after pushing an element on the stack, we know that isempty() must necessarily hold. This is a post-condition of the push operation.
Define the "integrity rules"
There are two Integrity rules.
1.Entity Integrity: States that "Primary key cannot have NULL value"
2.Referential Integrity: States that "Foreign Key can be either a NULL value or should be Primary Key value of other relation.
Explain about data provider?
ADO.NET has two primary parts in its architecture out of which one is data provider. It has its own set of objects and it consists of its own classes. Some of them are connection, parameter, data reader, command and data adapter. This provides access to data sources such as Oracle, SQL server, etc.
Which is the default Provider Name of the Providers used to access the DataBase?
Name the method in VB.NET used to define a controls color?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component?
o Communicating through a Firewall When building a distributed application with 100s/1000s of users spread over multiple locations, there is always the problem of communicating between client and server because of firewalls and proxy servers. Exposing your middle tier components as Web Services and invoking the directly from a Windows UI is a very valid option.
o Application Integration When integrating applications written in various languages and running on disparate systems. Or even applications running on the same platform that have been written by separate vendors.
o Business-to-Business Integration This is an enabler for B2B intergtation which allows one to expose vital business processes to authorized supplier and customers. An example would be exposing electronic ordering and invoicing, allowing customers to send you purchase orders and suppliers to send you invoices electronically.
o Software Reuse This takes place at multiple levels. Code Reuse at the Source code level or binary componet-based resuse. The limiting factor here is that you can reuse the code but not the data behind it. Webservice overcome this limitation. A scenario could be when you are building an app that aggregates the functionality of serveral other Applicatons. Each of these functions could be performed by individual apps, but there is value in perhaps combining the the multiple apps to present a unifiend view in a Portal or Intranet.
o When not to use Web Services: Single machine Applicatons When the apps are running on the same machine and need to communicate with each other use a native API. You also have the options of using component technologies such as COM or .NET Componets as there is very little overhead.
o Homogeneous Applications on a LAN If you have Win32 or Winforms apps that want to communicate to their server counterpart. It is much more efficient to use DCOM in the case of Win32 apps and .NET Remoting in the case of .NET Apps.
How to define a button USING XAML?
To define a button in WPD using XAML use the following syntax,
element specifies the use of the Button class.
To define abstract class in VB which keyword is used?
MustInherit keyword is used to create an abstract class in VB.
To define abstract method which keyword is used in VB?
MustOverride keyword is used to define an abstract method in VB.
In Analysis service what is the technology used define the expressions?
Multidimensional Expressions also abbrevated as MDX
Tell me a component to create pdf files in .NET?
Quick Links For Interview Questions Categories:
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Terms of Service
Tell A Friend