335 Posted Topics

Member Avatar for janicemurby
Member Avatar for junzz31
Member Avatar for DaveAmour
0
295
Member Avatar for nimz143
Member Avatar for nimz143
0
350
Member Avatar for chrisschristou

Try this: <script> $(document).ready(function() { $('p').css("font-style", "italic"); }); </script>

Member Avatar for chrisschristou
0
248
Member Avatar for DaveAmour

Do we have any TDD experts here? I have some questions but need an expert.

Member Avatar for DaveAmour
0
138
Member Avatar for Navee30

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.

Member Avatar for DaveAmour
0
193
Member Avatar for Lonestar Jack

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.

Member Avatar for Lonestar Jack
0
241
Member Avatar for AmrMohammed
Member Avatar for DaveAmour
1
215
Member Avatar for coder91

Try if (conn.State != ConnectionState.Open) { conn.Open(); } sql.ExecuteNonQuery();

Member Avatar for coder91
0
155
Member Avatar for diafol

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.

Member Avatar for pritaeas
0
186
Member Avatar for killingmonk

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; }

Member Avatar for Leslie_1
0
242
Member Avatar for vegaseat
Member Avatar for lithium112
Member Avatar for webdev2
Member Avatar for Blouet
Member Avatar for JerrimePatient

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> …

Member Avatar for JerrimePatient
0
172
Member Avatar for phoenix254
Member Avatar for dawbin
Member Avatar for Michael_37
Member Avatar for DaveAmour

# 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 …

1
4K
Member Avatar for DaveAmour

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.

Member Avatar for DaveAmour
0
153
Member Avatar for DaveAmour

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 …

Member Avatar for Troy III
0
401
Member Avatar for Erica_2

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.

Member Avatar for Erica_2
0
587
Member Avatar for Quazy

I think to do this you need to do a cartesian join with the table on itself and implement the where condition.

Member Avatar for Quazy
0
224
Member Avatar for Gl753
Member Avatar for JerrimePatient
Member Avatar for ramsiva

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() + …

Member Avatar for ramsiva
0
245
Member Avatar for moe11223

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 …

Member Avatar for stultuske
0
4K
Member Avatar for JerrimePatient

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...

Member Avatar for JerrimePatient
0
252
Member Avatar for rosario1990

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/

Member Avatar for jim3472
-2
403

The End.