Click here to Skip to main content
15,915,513 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: chekboxcheckchange, dropdown enable/disable Pin
eyeseetee9-Oct-08 22:53
eyeseetee9-Oct-08 22:53 
GeneralRe: chekboxcheckchange, dropdown enable/disable Pin
Member 38798819-Oct-08 22:57
Member 38798819-Oct-08 22:57 
GeneralRe: chekboxcheckchange, dropdown enable/disable Pin
Abhijit Jana11-Oct-08 1:01
professionalAbhijit Jana11-Oct-08 1:01 
Questionprob. with master page Pin
a.saurabh9-Oct-08 21:31
a.saurabh9-Oct-08 21:31 
AnswerRe: prob. with master page Pin
AlexeiXX310-Oct-08 8:29
AlexeiXX310-Oct-08 8:29 
AnswerRe: prob. with master page Pin
Abhijit Jana12-Oct-08 1:48
professionalAbhijit Jana12-Oct-08 1:48 
Questionhow can i lock a row while workng on it so that no other user can interfere Pin
raghvendrapanda9-Oct-08 20:46
raghvendrapanda9-Oct-08 20:46 
AnswerRe: how can i lock a row while workng on it so that no other user can interfere Pin
Ashfield9-Oct-08 21:46
Ashfield9-Oct-08 21:46 
This works

begin tran
update table1 set col1 = col1


......now user hase exclusive lock until you either update or commit the transaction, BUT it does mean nobody else can read the record until the commit/rollback, which could ba a long time - for example user goes to lunch. VERY BAD PRACTICE.

Normally you have a column on your table, (usually a timestamp or sequence number) and you read it before applying changes to ensure the record has not changed since the original read.

Hope this helps

Bob
Ashfield Consultants Ltd

GeneralRe: how can i lock a row while workng on it so that no other user can interfere Pin
Wendelius10-Oct-08 22:18
mentorWendelius10-Oct-08 22:18 
AnswerRe: how can i lock a row while workng on it so that no other user can interfere Pin
eyeseetee9-Oct-08 21:56
eyeseetee9-Oct-08 21:56 
QuestionAutocomplete Textbox through listbox value in .net 2.0 Pin
kandalu9-Oct-08 20:10
kandalu9-Oct-08 20:10 
AnswerRe: Autocomplete Textbox through listbox value in .net 2.0 Pin
eyeseetee9-Oct-08 21:57
eyeseetee9-Oct-08 21:57 
AnswerRe: Autocomplete Textbox through listbox value in .net 2.0 Pin
Hesham Amin10-Oct-08 1:29
Hesham Amin10-Oct-08 1:29 
Questionhow to read the conents of word file on web page [modified] Pin
raghvendrapanda9-Oct-08 20:10
raghvendrapanda9-Oct-08 20:10 
AnswerRe: how to read the conents of word file on web page Pin
John_Adams10-Oct-08 5:57
John_Adams10-Oct-08 5:57 
QuestionProbleam run web site on different browser [modified] Pin
Rinki Mukheraji9-Oct-08 19:27
Rinki Mukheraji9-Oct-08 19:27 
AnswerRe: Probleam run web site on different browser Pin
Ashfield9-Oct-08 21:48
Ashfield9-Oct-08 21:48 
QuestionListbox items in where clause of a SQL Query Pin
reogeo20089-Oct-08 18:08
reogeo20089-Oct-08 18:08 
AnswerRe: Listbox items in where clause of a SQL Query Pin
eyeseetee9-Oct-08 21:59
eyeseetee9-Oct-08 21:59 
QuestionDouble Postback using a .aspx submit page to process a PDF Pin
Zhat9-Oct-08 9:54
Zhat9-Oct-08 9:54 
AnswerRe: Double Postback using a .aspx submit page to process a PDF Pin
Dave Doknjas9-Oct-08 12:51
Dave Doknjas9-Oct-08 12:51 
GeneralProblem with System.IO.Directory.Exists Pin
Brady Kelly9-Oct-08 8:39
Brady Kelly9-Oct-08 8:39 
QuestionTabbed window problem Pin
enthusiastic4779-Oct-08 7:17
enthusiastic4779-Oct-08 7:17 
QuestionWhy does a listview show empty rows even there is data provided with an ObjectDataSource? Pin
JUNEYT9-Oct-08 5:36
JUNEYT9-Oct-08 5:36 
Questiontimer in asp.net Pin
sachees1239-Oct-08 3:05
sachees1239-Oct-08 3:05 

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.