Thursday, August 12, 2010

System.Windows.Xps.Packaging - Reach Framework => Add reference DLL

Hello Guys,

If you need to use XpsDocument class in your project, you must add reference to System.Windows.Xps.Packaging namespace. It is defined in the ReachFramework.

In order to add reference to ReachFramework, you right click on Add Reference on the project name in Solution Explorer. On the .NET Framework, select ReachFramework and other assemblies from the list and click OK button




Hope you find it useful.
Thanks,
Nitin Sharma
.


Tuesday, August 10, 2010

Database Back up using SQL Query

Hi All,
Today i came through a problem where in i have to take Back up of the SQL server database .
It is a simple query :

BACKUP DATABASE TestDB TO DISK='D:\MyDatabase.bak' with FORMAT


Where
"TESTDB" => Your Database Name
"D:\" => Any local Hard Drive C,D,E,F or any;
"MyDataBase" => Any name by which you want to take Back up.


Thanks,
Nitin Sharma

Ancient Saying - Pehla Sukh Nirogi Kaya . . . .

Below is one of the ancient saying that i would like to share with you.It is well said by our ancestors & has a deeper meaning in terms of living life.Our life is complete then.

PEHLA SUKH NIROGI KAYA
DOOSRA SUKH GHAR MEIN HO MAYA
TEESRA SUKH KULWANTI NARI
CHAUTHA SUKH PUTRA AGYAKARI

You have bliss if you have a healthy body
You have bliss if you have a home filled with wealth
You have bliss if you have a faithful wife
You have bliss if you have an obedient son.


Thanks,
Have a Nice Day.!
Nitin Sharma