Posts

sql - How to find current transaction level? -

आप SQL सर्वर पर मौजूदा डाटाबेस का लेनदेन स्तर कैसे पा सकते हैं? इसे चलाएं: का चयन करें लेनदेन_अनुक्रमणिका_लिवल WHEN 0 तब तक 'अनिर्दिष्ट' है जब 1 'पुनःअनुवादित' जब 2 'रीड कॉमेंट' WHEN 3 फिर 'पुनरावृत्त' जब 4 तब 'सीरियलाइज करने योग्य' जब 5 'स्नैपशॉट' अंत तक TRANSACTION_ISOLATION_LEVEL से sys.dm_exec_sessions जहां session_id = @@ SPID

inversion of control - Using Castle Windsor and the NHibernate facility on shared hosting -

I am trying to use Windsor and NHibernate in a middle-confident environment and I have some problems with permissions I'm going I have read this through other questions, but I am using Windsor's NHiberNate facility which I have not discussed. There is dependency on the castle for any reason. Service. Transportation assembly when the container starts. It then tries to create and example: Castle Service. Transaction CallantAxActivia Manager () A security exception is raised as a callcontactactivity manager. In system. Remoting Messaging Call signal which only if you have permission for infrastructure, I guess that do not do middle trust apps. Does anyone know a way around this trustworthy security problem? Should I dump the NHibernate facility manually and register it with the container? You can register at TLSActivityManager in the container (for type IActivityManager) DefaultTransactionManager (used by NHibernateIntegrationFacility ) Then using this ActivityM...

validation - An example of xVal with ASP.NET WebForms? -

This is a two question. Is it possible to take advantage of the automatic client-side legalization with ASP.NET webform? If so, is there any example available? I think that xVal will be ASP.NET validation control. These controls will be equal to WebVorms & lt;% = Html.ClientSideValidation ()%> For MVC but before that I have a lot of depth Junk, I want to see if anyone has tried it. (And yes I tried, but the results were not very useful.) to: I think it should be optimized for XLL to work with ASP.NET webform. However, to keep the xVal project centered, I do not want to try to add that support nor would I like to make the MVC experience as streamlined as possible. Though feel free to go to yourself! -, xVal coordinator So when I have some time, I will see if I can not modify the xVal source to work with the webform . Update : I have created a CodePlex project for this. See for details.

apache - Different page provided for Google Crawl -

I created a Twitter client which is only a page: index.html When used, it pulls in content from JSON feeds to populate various columns. The problem is that any traffic coming from Google except for searches on the domain name of the site is coming. The reason for this is that Google crawls index.html only when it is empty and the user sees before entering any Twitter user name. How can I make Google Spider, when I try to crawl index.html instead of crawl just index.html (or additionally) index # CNN (i.e. site.com/#CNN ) Or index.html # whitehouse, which will also crawl all the contents of these pages and thus will be accessible to users searching for the terms in it. I do not think an index (#) will ever be included in its index in Google. Provide an alternate URL, such as site.com/CNN

iphone set a fixed font size for UILabels -

There are many UILBels of different sizes on my view. I want all UILABLLES to have the same font size, regardless of How wide or how long my wombs are, I've tried many settings in IB but nothing seems to get me fixed font size. I'm sure I'm missing something easy, can someone give me clues? Turn off "adjust to fit" in font size preferences label attributes or Label.adjustsFontSizeToFitWidth = set;

Strange Java error with annotations -

Try typing: list & lt; Object & gt; List; @SuppressWarnings ("uncheck") list = (list & gt; object & gt;) new object (); This list can not be sorted in a way I understand how this annotation works. Even the logic behind it knows? Edit: Thanks for the quick reply I knew that this works if even the assignment is made a declaration. You comment on the manifesto, not just the assignment. This compiled: @SuppressWarnings ("uncheck") list & lt; Object & gt; List = (list & gt; object & gt;) new object (); See Jawadox for List targets. And if you look, then it says: local variable declaration (no target Arbitrary statement, so any annotation possibly can not go there and still allows it to be compiled.)

C# write a simple string from winforms --> cmd prompt telnet -

I have to give a simple string from the command window (floating telnet), ac # vanfarm app ... The easiest way? I tried the following, but not all or nothing at the time of redirecting standard or input - the winforms app is not to start CMD window ... CMD window may already be running - I thought how to communicate with it - Is there 1 or 2 there? ' Please help! process p = new process); Serial swift; // Streamrider SR; // StreamReader mistake; ProcessStartInfo psi = New ProcessStart Infos (@ "CMD.exe", @ "/ c Telnet 192.168.0.10"); Private Zero Start {psi.WindowStyle = Process WindowStyle.Normal; Psi.RedirectStandardOutput = false; Psi.RedirectStandardInput = True; Psi.UseShellExecute = false; Psi.CreateNoWindow = false; P.StartInfo = psi; P.Start (); } Private Zero write_to_cmd (Object Sender, EventArgs e) {psi.RedirectStandardInput = true; Sw = p.StandardInput; //// sr = p.StandardOutput; //// err= p.StandardError; //sw.autooflush = true; If...