Articles Archive for August 2009
CSharp, VB.Net Interview »
Thread.Abort ( ) stops the thread execution at that moment itself.
Tweet This Post
CSharp, VB.Net Interview »
Yes, we can use event with thread,this is one of the techniques to synchronize one thread with other.
Tweet This Post
CSharp, OOPs, VB.Net Interview »
Method overloading occurs when a class contains two methods with the same name, but different signatures.
Tweet This Post
Asp.Net »
Private,  Public/ share, and  Satellite.
There is some debate for Satelite assemblies some says this is a type some says this is a technique.
Tweet This Post
Asp.Net »
The Global. asax (including Global. asax.cs) is used to implement application and session level events.
All variables are available of Global.asax through out the application.
Tweet This Post
MsSql Server »
Sql server stores date as yyyy/dd/mm and returns with time.
use following query:
Select CAST(DAY(GETDATE()) AS VARCHAR(2)) + ‘/’ + CAST(MONTH(GETDATE()) AS VARCHAR(2)) + ‘/ ‘ + CAST(YEAR(GETDATE()) AS VARCHAR(4)) AS DATE
Result will be : in mm/dd/yyy
Tweet This Post
CSharp, VB.Net Interview »
‘Thread Current thread’ refers to the current thread running in the method.  ’Current Thread  is a public Static property.
Tweet This Post
CSharp, VB.Net Interview »
Thread  abort()  stops  the  thread execution at that moment itself.
Tweet This Post
MsSql Server »
Simply, you can use ‘Insert Into‘
ex:
Create Table newTable (id VarChar(10))
Insert Into newTable Select id from oldTable
Tweet This Post
Asp.Net, Microsoft .Net »
There is no direct way provided by webservices to maintain state. But webservices can maintain the state by using asp.net instrinsic objects i.e Session and application.
using System.web.Services;
public class myWebService : Webservices
{
[Webmethod()]
public void maintainState(string value)
{
Session(“Val”) = value;
}
}
Tweet This Post

