Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
Questiondatagrid problem Pin
srinivassam29-Jun-07 22:10
srinivassam29-Jun-07 22:10 
QuestionReport Viewer - Find text result to error Pin
aalcantara29-Jun-07 21:52
aalcantara29-Jun-07 21:52 
AnswerRe: Report Viewer - Find text result to error Pin
aalcantara10-Jul-07 21:20
aalcantara10-Jul-07 21:20 
QuestionHow to lock record in web application Pin
dabuskol29-Jun-07 21:04
dabuskol29-Jun-07 21:04 
AnswerRe: How to lock record in web application Pin
Bassam Saoud29-Jun-07 22:23
Bassam Saoud29-Jun-07 22:23 
AnswerRe: How to lock record in web application Pin
Christian Graus29-Jun-07 22:24
protectorChristian Graus29-Jun-07 22:24 
GeneralRe: How to lock record in web application Pin
dabuskol29-Jun-07 22:40
dabuskol29-Jun-07 22:40 
GeneralRe: How to lock record in web application Pin
Christian Graus29-Jun-07 23:02
protectorChristian Graus29-Jun-07 23:02 
If it's not self evident, you probably shouldn't be doing it. It's a bunch of code, to do something that's really trivial. Your users have an Id, you have a column which contains, say, 0, or the Id of the user ( assuming they start at 1 ) who has it locked. You store the time it's locked as well. When someone tries to lock a file, first check the date/time of the last lock, if there isn't a lock, or if it has expired, lock it, otherwise return a code which tells your UI to show an 'in use' message.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionStrongly Typed Dataset in 3-Tier App Pin
Expert Coming29-Jun-07 20:51
Expert Coming29-Jun-07 20:51 
AnswerRe: Strongly Typed Dataset in 3-Tier App Pin
Christian Graus30-Jun-07 0:09
protectorChristian Graus30-Jun-07 0:09 
GeneralRe: Strongly Typed Dataset in 3-Tier App Pin
Expert Coming30-Jun-07 10:56
Expert Coming30-Jun-07 10:56 
Questionabout datagrid Pin
srinivassam29-Jun-07 20:40
srinivassam29-Jun-07 20:40 
AnswerRe: about datagrid Pin
Expert Coming29-Jun-07 20:57
Expert Coming29-Jun-07 20:57 
GeneralRe: about datagrid Pin
srinivassam29-Jun-07 22:08
srinivassam29-Jun-07 22:08 
GeneralRe: about datagrid Pin
Expert Coming30-Jun-07 11:00
Expert Coming30-Jun-07 11:00 
QuestionEnumerating network printers Pin
xbiplav29-Jun-07 19:45
xbiplav29-Jun-07 19:45 
QuestionPrint rdlc without going through report viewer Pin
eccw29-Jun-07 19:23
eccw29-Jun-07 19:23 
QuestionHow to keep the user informed? Pin
Khoramdin29-Jun-07 16:24
Khoramdin29-Jun-07 16:24 
AnswerRe: How to keep the user informed? Pin
Christian Graus29-Jun-07 22:26
protectorChristian Graus29-Jun-07 22:26 
QuestionComboBox remove from index problem Pin
Rick van Woudenberg29-Jun-07 13:24
Rick van Woudenberg29-Jun-07 13:24 
AnswerRe: ComboBox remove from index problem Pin
J$29-Jun-07 14:09
J$29-Jun-07 14:09 
AnswerRe: ComboBox remove from index problem Pin
Luc Pattyn29-Jun-07 23:12
sitebuilderLuc Pattyn29-Jun-07 23:12 
QuestionPrint crystal report from C# Pin
Saamir29-Jun-07 9:20
Saamir29-Jun-07 9:20 
QuestionCalling all C/C# mono devs help on freeswitch voip Pin
mrs29-Jun-07 9:01
mrs29-Jun-07 9:01 
Questionproblem with application configuration and windows startup Pin
Giorgi Dalakishvili29-Jun-07 8:52
mentorGiorgi Dalakishvili29-Jun-07 8:52 

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.