Click here to Skip to main content
15,890,825 members
Home / Discussions / C#
   

C#

 
AnswerRe: ASP or WPF? Pin
V.5-Jun-13 2:32
professionalV.5-Jun-13 2:32 
GeneralRe: ASP or WPF? Pin
jeramyRR5-Jun-13 5:39
jeramyRR5-Jun-13 5:39 
AnswerRe: ASP or WPF? Pin
Jasmine25015-Jun-13 12:07
Jasmine25015-Jun-13 12:07 
AnswerRe: ASP or WPF? Pin
_Maxxx_5-Jun-13 20:05
professional_Maxxx_5-Jun-13 20:05 
QuestionUSB Device search Pin
Blubbo4-Jun-13 7:19
Blubbo4-Jun-13 7:19 
AnswerRe: USB Device search Pin
Dave Kreskowiak4-Jun-13 10:59
mveDave Kreskowiak4-Jun-13 10:59 
GeneralRe: USB Device search Pin
Blubbo5-Jun-13 2:11
Blubbo5-Jun-13 2:11 
QuestionXLOCK in Sqlserver Pin
GauravSatpute3-Jun-13 23:53
GauravSatpute3-Jun-13 23:53 
try
{

con1.ConnectionString = SQLConnectionString;
if (con1.State == ConnectionState.Closed)
{
con1.Open();

}
trans = con1.BeginTransaction();
SqlCommand cmd1 = new SqlCommand(“select name from testinfo WITH(XLOCK) where ID=’” + textBox1.Text + “‘”, con1,trans);

SqlDataReader dr1 = cmd1.ExecuteReader();

if (dr1.HasRows)
{
while (dr1.Read())
{
label1.Text = dr1["name"].ToString();

}

}
catch (Exception ee)
{

trans.Commit();
con1.Close();
MessageBox.Show(“Access By Other User “);
}
}
this is working properly ,it generate an exception which is correct , gives an message “access by another user ” ,but this system define exception required lot of time min 10 sec it take , so i want to find any other condition which will show that this row is access by another user.is there is any other parameter so i can identify that this row is exclusive lock by other user.
AnswerRe: XLOCK in Sqlserver Pin
Eddy Vluggen4-Jun-13 0:29
professionalEddy Vluggen4-Jun-13 0:29 
AnswerRe: XLOCK in Sqlserver Pin
Nicholas Marty4-Jun-13 3:09
professionalNicholas Marty4-Jun-13 3:09 
AnswerRe: XLOCK in Sqlserver Pin
jschell4-Jun-13 8:47
jschell4-Jun-13 8:47 
QuestionAny one help me about the Recursion Concept Diagramatically. Pin
sgunasekhar3-Jun-13 23:09
sgunasekhar3-Jun-13 23:09 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
OriginalGriff3-Jun-13 23:24
mveOriginalGriff3-Jun-13 23:24 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
Keith Barrow4-Jun-13 0:03
professionalKeith Barrow4-Jun-13 0:03 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
uspatel4-Jun-13 2:18
professionaluspatel4-Jun-13 2:18 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
Abhinav S4-Jun-13 3:22
Abhinav S4-Jun-13 3:22 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
Alan Balkany4-Jun-13 4:51
Alan Balkany4-Jun-13 4:51 
GeneralRe: Any one help me about the Recursion Concept Diagramatically. Pin
Keith Barrow4-Jun-13 6:14
professionalKeith Barrow4-Jun-13 6:14 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
Amarnath S4-Jun-13 20:24
professionalAmarnath S4-Jun-13 20:24 
AnswerRe: Any one help me about the Recursion Concept Diagramatically. Pin
_Maxxx_5-Jun-13 20:06
professional_Maxxx_5-Jun-13 20:06 
AnswerAny One Can Help me to Upload xml file into database Pin
Member 97011655-Jun-13 23:56
Member 97011655-Jun-13 23:56 
GeneralSearchDirectory Pin
HubSnippets3-Jun-13 0:46
HubSnippets3-Jun-13 0:46 
GeneralRe: SearchDirectory Pin
Richard MacCutchan3-Jun-13 1:24
mveRichard MacCutchan3-Jun-13 1:24 
GeneralRe: SearchDirectory Pin
Jasmine25013-Jun-13 12:30
Jasmine25013-Jun-13 12:30 
GeneralRe: SearchDirectory Pin
Richard MacCutchan3-Jun-13 20:50
mveRichard MacCutchan3-Jun-13 20:50 

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.