<< < 24 25 26 27 28 29 30 31 32 33 34 > >>   Sort: Date

How can get access to cache object
How can get access to cache object ? The Cache object is defined in the System.Web.Caching namespace. You can get a reference to the Cache object by using the Cache property of the HttpContext class in the System.Web namespace or by using the Cache property of the Page object.
2007-10-23, 5901👍, 0💬

What is fundamental of published or precreated objects in Remoting
What is fundamental of published or precreated objects in Remoting ? In scenarios of singleton or single call the objects are created dynamically. But in situations where you want to precreate object and publish it you will use published object scenarios. Dim obj as new objRemote obj.Initvalue = 100...
2007-10-23, 5901👍, 0💬

Under What Conditions Should You Not Test Get() and Set() Methods?
Under What Conditions Should You Not Test Get() and Set() Methods? The JUnit FAQ provides a good answer to this question: Most of the time, get/set methods just can't break, and if they can't break, then why test them? While it is usually better to test more, there is a definite curve of diminishing...
2008-02-19, 5899👍, 0💬

Give a small brief explanation of all Elements in activity diagrams
Give a small brief explanation of all Elements in activity diagrams? Action State : It is a type of state that has an internal action and one outgoing event that would complete the internal action. State : It is a condition when following events occur: Object satisfies a condition. performs a action...
2007-10-26, 5898👍, 0💬

How do we connect to SQL SERVER, which namespace do we use
How do we connect to SQL SERVER, which namespace do we use ? Below is the code, after the code I have given the explanation for it. For this sample we will also need a SQL Table setup which I have imported using the DTS wizard. Private Sub LoadData() ‘ note :- with and end with makes your code more ...
2007-10-24, 5898👍, 0💬

What is well formed XML
What is well formed XML? If a XML document is confirming to XML rules (all tags started are closed, there is a root element etc) then it’s a well formed XML.
2007-10-31, 5894👍, 0💬

What are different ways you can pass data between tiers
What are different ways you can pass data between tiers? There are many ways you can pass data between tiers :- ? Dataset the most preferred one as they maintain data in XML format. ? Datareader ? Custom classes. ? XML
2007-10-24, 5894👍, 0💬

What Happens If a JUnit Test Method Is Declared as "private"
What Happens If a JUnit Test Method Is Declared as "private"? If a JUnit test method is declared as "private", the compilation will pass ok. But the execution will fail. This is decause JUnit requires that all test methods must be declared as "public". For example: type HelloTestPrivate.java import ...
2008-01-24, 5889👍, 0💬

What is a CLR?
What is a CLR? Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework. All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL, Java has Java Virtua...
2007-10-22, 5889👍, 0💬

How To Protect Special Characters in Query String
How To Protect Special Characters in Query String? - PHP Script Tips - Processing Web Forms If you want to include special characters like spaces in the query string, you need to protect them by applying the urlencode() translation function. The script below shows how to use urlencode(): &lt;?ph...
2007-04-22, 5887👍, 0💬

How To Sort an Array by Values
How To Sort an Array by Values? - PHP Script Tips - PHP Built-in Functions for Arrays Sorting an array by values is doable by using the sort() function. It will re-order all pairs of keys and values based on the alphanumeric order of the values. Then it will replace all keys with integer keys sequen...
2007-04-21, 5886👍, 0💬

Transient Variables
What is a transient variable? A transient variable is a variable that may not be serialized. If you do not want some variables to be serialized, you can mark those variables transient or static.
2007-03-03, 5886👍, 0💬

What is DBCC
What is DBCC? DBCC (Database Consistency Checker Commands) is used to check logical and physical consistency of database structure.DBCC statements can fix and detect problems.They are grouped in to four categories Maintenance commands like DBCC DBREINDEX , DBCC DBREPAR etc , they are mainly used for...
2007-10-25, 5885👍, 0💬

How To Randomly Retrieve a Value from an Array
How To Randomly Retrieve a Value from an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you have a list of favorite greeting messages, and want to randomly select one of them to be used in an email, you can use the array_rand() function. Here is a PHP example script: &lt;?php $a...
2007-04-21, 5884👍, 0💬

How Can We Know state of thread?
How Can We Know state of thread? "ThreadState" property can be used to get detail of a thread. Thread can have one or a combination of status.System.Threading. Threadstate enumeration has all the values to detect a state of thread. Some sample states are Isrunning, IsAlive, suspended etc.
2009-03-06, 5882👍, 0💬

What Is CSS (Cascading Style Sheets)
What Is CSS (Cascading Style Sheets)? - CSS Tutorials - Introduction To CSS Basics CSS (Cascading Style Sheets) is a technical specification that allows HTML document authors to attach formatting style sheets to HTML documents. When HTML documents are viewed as Web pages through Web browsers, the at...
2007-05-11, 5882👍, 0💬

Relation between HTML and CSS
What Is the Relation between HTML and CSS? CSS (Cascading Style Sheets) is a technical specification that allows HTML document authors to attach formatting style sheets to HTML documents. When HTML documents are viewed as Web pages through Web browsers, the attached style sheets will alter the defau...
2007-03-03, 5881👍, 0💬

What is a JavaBean
What is a JavaBean? JavaBeans are reusable software components written in the Java programming language, designed to be manipulated visually by a software develpoment environment, like JBuilder or VisualAge for Java. They are similar to Microsoft’s ActiveX components, but designed to be platform-neu...
2007-11-12, 5880👍, 0💬

Do You Need to Write a Test Class for Every Class That Need to Be Tested?
Do You Need to Write a Test Class for Every Class That Need to Be Tested? This is a simple question. But the answer shows your organization skills. The technical answer is no. There is no need to write one test class for each every class that need to be tested. One test class can contain many tests ...
2008-02-26, 5878👍, 0💬

What is Dispose method in .NET
What is Dispose method in .NET ? .NET provides “Finalize” method in which we can clean up our resources. But relying on this is not always good so the best is to implement “Idisposable” interface and implement the “Dispose” method where you can put your clean up routines.
2007-10-23, 5871👍, 0💬

How To Avoid the Antialias Edges When Cutting and Pasting
How To Avoid the Antialias Edges When Cutting and Pasting? - PSP Tutorials - Fading Images to Background Colors with PSP When you finish a larger image and want to select one area as a new image, you can use the Selection tool to cut and paste that area into a new image. But the new image will show ...
2007-05-09, 5871👍, 0💬

Is XML meant to replace HTML
Is XML meant to replace HTML? No, they both go together one is for describing data while other is for displaying data.
2007-10-31, 5870👍, 0💬

What’s the use of SmartNavigation property
What’s the use of SmartNavigation property ? It’s a feature provided by ASP.NET to prevent flickering and redrawing when the page is posted back. Note:- This is only supported for IE browser. Project’s who have browser compatibility as requirements have to think some other ways of avoiding flickeri...
2007-10-24, 5867👍, 0💬

How To Quote Text Values in SQL Statements
How To Quote Text Values in SQL Statements? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts Text values in SQL statements should be quoted with single quotes ('). If the text value contains a single quote ('), it should be protected by replacing it with two single quotes (''). In...
2007-05-11, 5866👍, 0💬

<< < 24 25 26 27 28 29 30 31 32 33 34 > >>   Sort: Date