Click here to Skip to main content
15,915,160 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can mail to my users via my webapplication without any spam or bulk Pin
Guffa25-Feb-06 22:11
Guffa25-Feb-06 22:11 
GeneralRe: how can mail to my users via my webapplication without any spam or bulk Pin
Colin Angus Mackay25-Feb-06 22:19
Colin Angus Mackay25-Feb-06 22:19 
GeneralRe: how can mail to my users via my webapplication without any spam or bulk Pin
m.rastgar26-Feb-06 2:20
m.rastgar26-Feb-06 2:20 
GeneralRe: how can mail to my users via my webapplication without any spam or bulk Pin
Guffa26-Feb-06 4:47
Guffa26-Feb-06 4:47 
QuestionDo SQL Transactions lock the database automatically ? Pin
emran83425-Feb-06 21:37
emran83425-Feb-06 21:37 
AnswerRe: Do SQL Transactions lock the database automatically ? Pin
Colin Angus Mackay25-Feb-06 22:17
Colin Angus Mackay25-Feb-06 22:17 
GeneralRe: Do SQL Transactions lock the database automatically ? Pin
emran83425-Feb-06 23:34
emran83425-Feb-06 23:34 
GeneralRe: Do SQL Transactions lock the database automatically ? Pin
Colin Angus Mackay26-Feb-06 0:06
Colin Angus Mackay26-Feb-06 0:06 
emran834 wrote:
do I need to lock the mentioned block as I am already using Transaction.


You do not need to use the C# keywork lock in this situation.


emran834 wrote:
You replied me saying that, database will not be locked, I should use transaction.


If you use the lock keyword, all you are doing is locking other threads from the same application out. However, other applications can still access and modify the database.


emran834 wrote:
Did you mean if I use transaction then SQL will be locked ?


If you use the transaction SQL Server will ensure that no other process can modify the same part of the database that you are modifying.

ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?

GeneralRe: Do SQL Transactions lock the database automatically ? Pin
emran83426-Feb-06 1:20
emran83426-Feb-06 1:20 
QuestionDestructors~~~~ Pin
2hdass25-Feb-06 21:33
2hdass25-Feb-06 21:33 
AnswerRe: Destructors~~~~ Pin
Le centriste25-Feb-06 21:51
Le centriste25-Feb-06 21:51 
AnswerRe: Destructors~~~~ Pin
Guffa25-Feb-06 21:59
Guffa25-Feb-06 21:59 
Questionenum being int Pin
2hdass25-Feb-06 21:08
2hdass25-Feb-06 21:08 
AnswerRe: enum being int Pin
darkelv25-Feb-06 21:30
darkelv25-Feb-06 21:30 
QuestionCustomizing install wizard Pin
2hdass25-Feb-06 20:58
2hdass25-Feb-06 20:58 
QuestionGet info from a listview and pass to a method ? Pin
autekre25-Feb-06 20:17
autekre25-Feb-06 20:17 
AnswerRe: Get info from a listbox and pass to a method ? Pin
darkelv25-Feb-06 20:45
darkelv25-Feb-06 20:45 
GeneralRe: Get info from a listbox and pass to a method ? Pin
autekre25-Feb-06 21:58
autekre25-Feb-06 21:58 
GeneralRe: Get info from a listbox and pass to a method ? Pin
autekre25-Feb-06 22:15
autekre25-Feb-06 22:15 
GeneralRe: Get info from a listbox and pass to a method ? Pin
darkelv25-Feb-06 22:21
darkelv25-Feb-06 22:21 
GeneralRe: Get info from a listbox and pass to a method ? Pin
autekre27-Feb-06 0:27
autekre27-Feb-06 0:27 
QuestionEdit Mode in DataGridView control Pin
ak1234525-Feb-06 18:36
ak1234525-Feb-06 18:36 
QuestionNewbie: How do I code on more than one file? Pin
DNA Code this!25-Feb-06 18:04
DNA Code this!25-Feb-06 18:04 
AnswerRe: Newbie: How do I code on more than one file? Pin
Sean8925-Feb-06 18:08
Sean8925-Feb-06 18:08 
GeneralRe: Newbie: How do I code on more than one file? Pin
DNA Code this!25-Feb-06 18:13
DNA Code this!25-Feb-06 18:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.