| Next Tip?

Asp.Net, Microsoft .Net »

[3 Nov 2009 | No Comment | 673 views]

Its can’t possible adding hyperlinks/links to listbox.
Its just a collection items not child items and are not render while anyone put some html tags. So, its not possible
Tweet This Post

LINQ »

[13 Oct 2009 | No Comment | 1,072 views]

A Lambda expression is nothing but an Anonymous Function, can contain expressions and statements. Lambda expressions can be used mostly to create delegates or expression tree types. Lambda expression uses lambda operator => and read as ‘goes to’ operator.
Left side of this operator specifies the input parameters and contains the expression or statement block at the right side.
Example: myExp = myExp/10;
Now, let see how we can assign the above to a delegate and create an expression tree:
delegate int myDel(int intMyNum);
static void Main(string[] args)
{
//assign lambda expression to a delegate:
myDel myDelegate = …

WCF »

[12 Oct 2009 | No Comment | 854 views]

DataContract is belongs to Class.
ServiceContract is belongs to Interface
OperationContract is belongs to Method
Tweet This Post

Crystal Report »

[12 Oct 2009 | No Comment | 2,117 views]

Close() Vs Dispose Method
The basic difference between Close() and Dispose() is, when a Close() method is called, any managed resource can be temporarily closed and can be opened once again. It means that, with the same object the resource can be reopened or used. Where as Dispose() method permanently removes any resource ((un)managed) from memory for cleanup and the resource no longer exists for any further processing.
Example showing difference between Close() and Dispose() Method:
[Code]
using System;
using System.Data;
using System.Data.SqlClient;
public class Test
{
private string connString = “Data Source=COMP3;Initial Catalog=Northwind;User Id=sa;Password=pass”;
private SqlConnection connection;
public Test()
{
connection = …

Asp.Net, HTML »

[12 Oct 2009 | No Comment | 1,233 views]

<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ id=”name” width=”468″ codebase=”http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0″ height=”60″>
<param value=”http://www.msdotnetheaven.com/shubhhostingDiwali.swf” name=”movie”/>
<param value=”high” name=”quality”/>
<param value=”transparent” name=”wmode”/>
<embed
pluginspage=”http://www.macromedia.com/shockwave/download/index.cgi?
P1_Prod_Version=ShockwaveFlash” quality=”high” type=”application/x-shockwave-flash” height=”60″ src=”http://www.msdotnetheaven.com/shubhhostingDiwali.swf” width=”468″ wmode=”transparent” name=”name”>
</embed>
</object>
Tweet This Post