برچسب:
نویسنده: رویا حیدریان
System.Diagnostics.StackTrace st = new System.Diagnostics.StackTrace(ex, true);
System.Diagnostics.StackFrame[] frames = st.GetFrames();
// Iterate over the frames extracting the information you need
foreach (System.Diagnostics.StackFrame frame in frames)
{
msg += string.Format("n Method Path : {0} n Method Name : {1}n Method Line : {2} n Mehtod StatIndex In Line : {3}", frame.GetFileName(), frame.GetMethod().Name, frame.GetFileLineNumber(), frame.GetFileColumnNumber()) + "n-----------------------------------n";
}
برچسب:
نویسنده: رویا حیدریان
برچسب:
نویسنده: رویا حیدریان
برچسب:
نویسنده: رویا حیدریان
برچسب:
نویسنده: رویا حیدریان
توسط ابزار WcfTestClient.exe می توان تست انجام داد :
C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEWcfTestClient.exe
برچسب:
نویسنده: رویا حیدریان
for (int i = 0; i < Math.Ceiling((double)arryIdToSearch.Count() / 2000); i++)
{
userVisitList.AddRange(_dx.UserAdvertisementVisits.Where(s => arryIdToSearch.Skip(i * 2000).Take(2000).Contains(s.Advertisement_Id) && s.User_Id == userId));
}
برچسب:
نویسنده: رویا حیدریان
برچسب:
نویسنده: رویا حیدریان
برچسب:
نویسنده: رویا حیدریان
List
برچسب:
نویسنده: رویا حیدریان
برچسب:
نویسنده: رویا حیدریان
برای رفع این محدودیت :
باید این خط کد را ابتدای برنامه تنظیم کرد :
System.Net.ServicePointManager.DefaultCoectionLimit = 100;
برچسب:
نویسنده: رویا حیدریان
برچسب:
نویسنده: رویا حیدریان
1.
2.
برچسب:
نویسنده: رویا حیدریان
1) Ctrl + Shift + Down
2) Ctrl + D Insert Formula
استخراج A که در F موجود نمیباشه
=VLOOKUP(A2,F:F,1,0)
3) F2 ---> control-shift-home will select all the text
4) =TEXT(C2,"hh:mm:ss")
برچسب:
نویسنده: رویا حیدریان