Daily Tips- Tip #3 - Automatically closing a connection after datareader finishes execution
Tuesday, June 30, 2009
To automatically close a connection after datareader finishes execution, you need to specify the CommandBehaviour.CloseConnection parameter to the command object, as
drEmployees = cmdEmployees.ExecuteReader(CommandBehaviour.CloseConnection);
Daily Tips- Tip #3 - Automatically closing a connection after datareader finishes execution
To automatically close a connection after datareader finishes execution, you need to specify the CommandBehaviour.CloseConnection parameter to the command object, as
drEmployees = cmdEmployees.ExecuteReader(CommandBehaviour.CloseConnection);
What are the uses of Views?
1. Views are virtual tables (they dont store data physically) which gives a result
of data by joining tables. So you are not storing redundant data.
2. Views are used to produce reports from data
3. Views can be used to provide security to data by giving access only to views.
Labels:
SQL Server,
Uses
What are the uses of Views?
1. Views are virtual tables (they dont store data physically) which gives a result
of data by joining tables. So you are not storing redundant data.
2. Views are used to produce reports from data
3. Views can be used to provide security to data by giving access only to views.
Labels:
SQL Server,
Uses
Daily Tips- Tip #2 - How to prevent .DLL Decompilation?
Monday, June 29, 2009
How to prevent .DLL Decompilation?
If have written some worthful code and if you dont want it to be decompiled by anybody, then you have to make it secure.
Obfuscation:
The process by which you make your assembly not decompilable is called as Obfuscation.
Popular Tools available are :
XenoCode, Demeanor
Websites:
htt://www.xenocode.com
http://www.wiseowl.com
remotesoft
>rustemsoft
Labels:
Daily Tips,
Obfuscation
Daily Tips- Tip #2 - How to prevent .DLL Decompilation?
How to prevent .DLL Decompilation?
If have written some worthful code and if you dont want it to be decompiled by anybody, then you have to make it secure.
Obfuscation:
The process by which you make your assembly not decompilable is called as Obfuscation.
Popular Tools available are :
XenoCode, Demeanor
Websites:
htt://www.xenocode.com
http://www.wiseowl.com
remotesoft
>rustemsoft
Labels:
Daily Tips,
Obfuscation
Daily Tips- Tip #1 - How can we force all the validation controls in a page to run?
Sunday, June 28, 2009
For that call this code,
Page.Validate();
Labels:
asp.net,
Daily Tips
Subscribe to:
Posts (Atom)