-
Began Watching why I cant access my logout page?
Action link in my nav menu <li>@Html.ActionLink("Log Off", "Logout", "Account")</li> My Logout.cshtml codes. @{ ViewBag.Title = "Log Out"; Session.Clear(); FormsAuthentication.SignOut(); Response.Redirect("~/../Home/Index.cshtml"); } Why I can't access my logout form? -
Replied To a Post in why I cant access my logout page?
What actually happens? -
Replied To a Post in pending cash out
I got my email to cash out my five dollars. I shall allow it to bounce back to you though so you can run your servers for 20 minutes longer! -
Replied To a Post in System.Windows.Forms
Thre very first reply to this post was me telling the poster to add a reference. No need to keep repeating that, it has already been answered correctly! -
Began Watching Form resending on refresh
hi ive followed a w3 schools form works fine for submission but if i refresh browers i get the following error Error: INSERT INTO userprofile (postcode, town, firstname, pfirstname, sexuality, … -
Replied To a Post in Form resending on refresh
Look into the Post, Redirect Get Pattern -
Began Watching I cant Delete a row in accessdb (Syntax error in FROM clause.)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click If Me.dgvData.Rows.Count > 0 Then If Me.dgvData.SelectedRows.Count > 0 Then Dim intPName As Integer = Me.dgvData.SelectedRows(0).Cells("Name").Value If Not … -
Replied To a Post in I cant Delete a row in accessdb (Syntax error in FROM clause.)
DELETE FROM POS FROM [Name]=@Name - you have FROM in there twice. I think you need a WHERE as well! -
Replied To a Post in jquery not working
Just try it like this: <script> $(document).ready(function ($) { $('#header__icon').click(function (e) { e.preventDefault(); $('body').toggleClass('with--sidebar'); }); $('#site-cache').click(function (e) { $('body').removeClass('with--sidebar'); }); }); </script> -
Began Watching jquery not working
hello friends, i so sorry to post this simple question but it is 2 week i'm trying to use jquery on my website but still it is not working, i … -
Replied To a Post in jquery not working
Try this: <script> $(document).ready(function() { $('p').css("font-style", "italic"); }); </script> -
Replied To a Post in TDD C#
Ok sure: How do I deal with the following in a TDD way - ie write the test first then write the code to pass but in a pure TDD … -
Created TDD C#
Do we have any TDD experts here? I have some questions but need an expert. -
Began Watching TDD C#
Do we have any TDD experts here? I have some questions but need an expert. -
Replied To a Post in Timer and Gui lags
Sure - no point in me reineventing the wheel though - here is a good video. https://www.youtube.com/watch?v=f-hRENVTQ54 -
Replied To a Post in Timer and Gui lags
There are various ways. BackgroundWorker is probably best. -
Began Watching Timer and Gui lags
Hello, I have a GUI with a timer... but when I put too many lines of code inside the timer method, the GUI lags. private void timer_tick(object sender, EventArgs e) … -
Replied To a Post in Timer and Gui lags
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. -
Replied To a Post in iDisposable pattern
Yep code would help - maybe you are just using too much memory rather than it not being garbage collected quickly enough. I'm sure that if your process needs memory … -
Began Watching iDisposable pattern
Hi, I am working on a module that uses a lot of object creation (by lot i mean, really lots). So for obvious reasons i have seen Out of Memory … -
Replied To a Post in iDisposable pattern
Are you using any unmanaged resources? -
Replied To a Post in Entity Framework
No - its only loaded when you query it. -
Replied To a Post in System.Windows.Forms
Open a command prompt in Windows Type "Regsvr32" then hit enter. If it's good enough for MS, it's good enough for me! -
Replied To a Post in Entity Framework
Ok I see. I have never seen this before to be honest but have looked into it. Consider the code below if I put a breakpoint on line 35. In … -
Replied To a Post in Chat Log Suggestion
Ok I shall quote you on that next time you are online and I stalk, I mean chat with you! -
Began Watching Stop functions from repeating
When my event driven functions are called many repeat themselves. Looking at debug I can see the functions being run more than once. For instance the code below will produce: … -
Replied To a Post in Stop functions from repeating
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 … -
Replied To a Post in Chat Log Suggestion
Isn't that a bit stalky? -
Began Watching Chat Log Suggestion
I was just in the Hardware & Softwre Chat. Here are a few lines Mon 1:31 pm savedlema I see Reverend Jim here...you have answered so much of my difficult … -
Replied To a Post in Chat Log Suggestion
I like chatting to people but no one is ever there :( -
Began Watching Timer method
Hi I have a timer so that when it goes off it will access the database however it doesn't appear to be working. I've never used timers before so not … -
Replied To a Post in Timer method
Try if (conn.State != ConnectionState.Open) { conn.Open(); } sql.ExecuteNonQuery(); -
Replied To a Post in System.Windows.Forms
MrM - The code was just for pritaeas to show that you can use a message box in a console app - the language is not important. I have already … -
Replied To a Post in System.Windows.Forms
using System.Windows.Forms; namespace FormsTest { class Program { static void Main(string[] args) { MessageBox.Show("I am a WinForms Message Box in a Console App"); } } } -
Began Watching System.Windows.Forms
Hello To All! I have started learning Vb.net. I am using Visual Studio Express 2012. While making a console application, when I write "System.Windows.Forms" to use message box, then compiler … -
Replied To a Post in System.Windows.Forms
Add System.Windows.Forms as a Reference https://msdn.microsoft.com/en-us/library/wkze6zky.aspx?f=255&MSPPError=-2147217396 -
Began Watching Use of Unassigned Variable Error, but the Variable is Assigned
OK, here it is. It looks to me as if the variable I'm trying to return is assigned in the switch, but I'm getting the error from VS13 that "classChosen" … -
Replied To a Post in Use of Unassigned Variable Error, but the Variable is Assigned
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 … -
Began Watching pending cash out
Hi Dani, I pushed the cash button one month ago and since then the status is `Last Cash Out: Pending for $21.63`, is there something wrong? I remember there was … -
Replied To a Post in pending cash out
I have that too. -
Began Watching Site width??
Is it me or has the site width increased? Site looks bloomin' enormous. -
Replied To a Post in Site width??
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. -
Replied To a Post in CodeFirst Entity Framework - Where's the database?
In that tutorial there is the following - does that help? Where’s My Data? By convention DbContext has created a database for you. If a local SQL Express instance is … -
Began Watching Entity Framework
Greetings My question is about working with the Entity Framework. Lets say I am having an Entity data model and I am having a dbconext instance what is the difference … -
Replied To a Post in Entity Framework
Ive not seen `**Local**` before. Does that actually work?? -
Replied To a Post in Chrome console error
Sory can't really help much then I'm afraid. -
Began Watching Chrome console error
I am using bxslider within an AJAX call which brings up the chrome console error - Uncaught ReferenceError: jQuery is not defined. My issue is that the whole thing works … -
Replied To a Post in Chrome console error
Is this online anywhere so I can see it? -
Began Watching Grains of rice on a chessboard (Python)
A few hundred years ago the glorious leader of a big country wanted to reward the creator of the chess game. The creator of the game simply wanted one grain … -
Replied To a Post in Grains of rice on a chessboard (Python)
@Slavi - There is a famous chess opening called the Slav
The End.