335 Posted Topics
Re: DELETE FROM POS FROM [Name]=@Name - you have FROM in there twice. I think you need a WHERE as well! | |
Re: Line 7 you declare bytes as Byte. I think that should be an array of Bytes. | |
Re: Try this: <script> $(document).ready(function() { $('p').css("font-style", "italic"); }); </script> | |
Do we have any TDD experts here? I have some questions but need an expert. | |
Re: What is the code doing? If it is on the main thread and it is doing a lot it can freeze the UI. Consider running the code on another thread. | |
Re: In your code above is line 2 being run multiple times? Are you wiring the even handler up again and again somehow? Difficult to say without seein the whole thing in context but that's what it sounds like to me. | |
Re: Ive not seen `**Local**` before. Does that actually work?? | |
Re: Try if (conn.State != ConnectionState.Open) { conn.Open(); } sql.ExecuteNonQuery(); | |
![]() | Re: I noticed this too on my 27" monitor! It looks fine, I'm just so used to seeing it how it was before that it just takes some getting used to. |
Re: It means it could be unassigned. What if someone entered 4? Try: switch (classChoice) { case 1: classChosen = "Fighter"; break; case 2: classChosen = "Priest"; break; case 3: classChosen = "Wizard"; break; default: classChosen = "Unknown"; break; } | |
Re: @Slavi - There is a famous chess opening called the Slav | |
![]() | Re: Do you have a connection string? ![]() |
Re: Is this online anywhere so I can see it? ![]() | |
Re: You can set this in your web.config eg: <system.web> <customErrors mode="Off" ></customErrors> <compilation debug="true" targetFramework="4.5" ></compilation> <httpRuntime targetFramework="4.5" ></httpRuntime> <authentication mode="Forms"> <forms loginUrl="~/Account/Login" timeout="2880" ></forms> </authentication> <pages> <namespaces> <add namespace="System.Web.Helpers" ></add> <add namespace="System.Web.Mvc" ></add> <add namespace="System.Web.Mvc.Ajax" ></add> <add namespace="System.Web.Mvc.Html" ></add> <add namespace="System.Web.Optimization" ></add> <add namespace="System.Web.Routing" ></add> <add namespace="System.Web.WebPages" ></add> </namespaces> … | |
Re: Works for me: https://jsfiddle.net/xyt0527j/ FF Version 33.1.1 | |
# Performing Selective Includes in Entity Framework with the Fluent API # When we are using Entity Framework as our data access choice to work with SQL Server then there are some potential pitfalls. One of these pitfalls is doing selective includes. What do I mean by selective includes? To … | |
I finally saw a paypal button on my $Rewards. Perhaps rather optimistically I clicked on it. The page then changed to show the following: "Last Cash Out: Pending for $5.58" Any ideas anyone. | |
I am tinkering with prototypal inheritance in JavaScript. I have the code below and I am trying to find out if there is a way of getting the code which makes Cat inherit Animal actually inside the Cat function - so that it is all niceley encapsulated as one unit … | |
Re: Actualy just noticed in your first bit of code you have this: double food [monkeytot][Wdays]; But then in your second bit you have this: double food[monkeys][Wdays]; Try changing that. | |
Re: I think to do this you need to do a cartesian join with the table on itself and implement the where condition. | |
Re: Have you actually used your IsNumeric function? | |
Re: What do you mean by manually? | |
Re: Here's my go: <script> function CustomDate() { this.date = new Date(); this.dayPart = this.date.getHours() < 12 ? "AM" : "PM"; this.toString = function() { return this.date.getMonth() + "/" + this.date.getDate() + "/" + this.date.getFullYear() + " - " + this.date.getHours( ) + ":" + this.date.getMinutes() + ":" + this.date.getSeconds() + … | |
Re: Hi I'm not a Java Programmer so can't comment on the specifics of your code. However, you should not have any UI code in such a class as it is then tightly coupled to that particular UI. UI operations should be done outside of this class and you should interact … | |
Re: Can you be a little more specific. For example have you already a) Created a MVC project? b) Created a Controller? c) Created a Controller Action? d) Created a View And so on... | |
Re: You will hate it at first, then find it tolerable then you will love it! Do try putting this on though as it will give you an easier transition: http://classicshell.net/ |
The End.