Tuesday, March 22, 2011

Download Crystal report for VS .Net 4.0

http://www.enterupload.com/sf60a8p3rmjm/CRforVS_13_0.exe.html
then click Regular Download ( > ) button.
then click Generate Download Link ( > ) button.
then wait few sec.
then download windows will come . and save download file.

Monday, March 14, 2011

To Run Crystal report in .net 4

To Run Crystal report in .net 4 Chang app config or web.config

with adding this code block









Friday, March 4, 2011

Conditional Message Box ( Yes, No) Button Click

DialogResult dlgResult = MessageBox.Show("Size Added . Do You Want To Entry the Stock ?", "Continue?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (dlgResult == DialogResult.Yes)
{

}
else if (dlgResult == DialogResult.No)
{

}

Wednesday, March 2, 2011

How To Create a DLL Form a C# Class

Go to Start > Visual Studio Command Prompt > Type F: and press enter
and ten type the path of your Classfile which You want to convert as DLL file.

E.G

F:\WebSite1>csc /t:library class1.cs

Explanation 1) csc --------- is a compilation command.
2) /t:library -- is a command to convert a class file to dll.
3) class.cs ---- is the file name or class name.

SQL Optimization

  SQL Optimization  1. Add where on your query  2. If you remove some data after the data return then remove the remove condition in the sel...