Posts

Allow quoted values in mysql integer columns? -

तालिका 1 के लिए तालिका स्कीमा पर विचार करें: आईडी: int country_id: int विवरण: varchar (50) और क्वेरी: तालिका 1 (आईडी, देश_आईडी, विवरण) मूल्यों में सम्मिलित करें (1, '20', 'टेस्ट डिस्को'); यह MySQL 4x के तहत काम करेगा लेकिन MySQL 5x (त्रुटि 1067 (42000) के तहत विफल हो जाएगा .. के लिए अमान्य डिफ़ॉल्ट मान ..)। मुझे इसका कारण होने के कारण पता है - country_id है int और इसलिए उद्धृत नहीं किया जाना चाहिए। क्या ऐसा 5x के नीचे एक MySQL स्विच है, जिससे इसे 4x जैसा व्यवहार करने के लिए कोई क्वेरी विफल नहीं होगी? मुझे इस तरह से प्रश्नों का उपयोग करने वाला एक अनुप्रयोग मिला है और मैं एक त्वरित सुधार की तलाश कर रहा हूं जब तक कि मैं सभी प्रश्नों को ठीक करने के लिए समय पा सकता हूं। धन्यवाद यह डाले एक मान्य डालें है

c# - Looping through dynamically build form -

I have created a questionnaire in C # and when the user has entered his responses, I have to capture the answer and the database Have to save I am making the content in the code and putting it in the placeholder on the page. I can get a handle on the placeholder Find Placeholder A = (Placeholder) Find Control ("Placeholder 1"); But when I try to reach the text box within the placeholder, it says that he has no control! Any help would be appreciated thanks Richard You will need to rebuild your Dynamic Control Structure for every page request. The server can create all the static control structures on the basis of your ASPX, and then fill its values ​​with the data posted. Since you added your extra controls, however, you have to add them again if you want to find their values ​​again.

django - Build a compare list -

I have to keep a vehicle comparison view for my app design app where the user has selected several vehicles from the list, all Selected How should I go about this? > From this templates

Good approach to learning to use WPF design tools? -

I want to learn WPF but listening to tooling in Visual Studio is weak from all commentary and I'll need to write XAML manually Which is disabled. I have seen devices like Express Blend used to make XML, although I did not complete the understanding of the WPF, I had to make enough decisions to make enough decisions to get enough "mileage" for testing Should work hard. Buy the software. My question is, do I want to learn tooling that Microsoft provides for WPF? Interpretation As I will suggest that he learns WPF what approach you? For tooling, is there an express version of Blend that I can use to learn before upgrading to a professional license? Thanks! Honestly, I have realized that I have learned WPF XAML hand By writing to best I am VS 2010 beta 1 and the designer has got better (intelligencia and so on) and it looks like when Beta 2 comes out it would be better. When you learn WPF and get comfortably with the basics and functionality, using Blend is usefu...

asp.net - Treeview Nested in a GridView -

I've dynamically added a treeview to a cell in a grid view control. The problem is that the initial entry in the first node of TreeView can be very long. When the page is projected, the preview increases the size of my gridview column width because the first node does not wrap in the next line. When I see the table HTML created by TreeView in the source HTML, the first node looks like this: & lt; Td style = "white-space: aboper;" & Gt; & Lt; / TD & gt; The style is being dynamically generated by TreeView control and I am thinking how can I override it? I have tried to use CSS, but I believe inline code override everything in CSS? Set the nodeweep property to correct when you create your treeview. This will prevent that CSS from being generated.

Transform Java-project to .NET-project -

I have a project in Java, I want to convert it to NAT-project. How to make it the easiest? You may have a look at this: This is a JVM and Java compiler implementation. With it, you can recompile your project under .NET and then replace all the libraries without the call from the Java Library that breaks the app.

c# - ASP.NET Menu control and Safari 4.0.3 -

Then I am using a menu control on my page, and contains dynamic items that should be drop down menu item. This Safari works in all browsers except 4.0.3. I have looked around and there are many solutions to this problem: Add this code to page_load event: If requested (user.exe.exe index ("Apple WebKit")> 0) {Request.Browser.Adapters.Clear (); } Add this code to the Page_PreInit event: If (Request.UserAgent.IndexOf ("AppleWebKit")> 0) { This.ClientTarget = "uplevel"; } Add a browser file to this thread: Well, I have tried all of them, and no one Not seem to work from them. I should mention that it was used to work in earlier versions of Safari using Option # 2. But it is not working for me with the latest version of Safari. Does anyone know how to fix this? Have you tried adding client target = "uplift" to the actual @page directive?