ASP.NET Button to redirect to another page
How do I code the button such that when I click the button and it brings me to another web form? Let's say the button name is Confirm and the wed form is confirm.aspx ? ``` protected void btnConfirm...
- Modified
- 1 Jun at 04:11
What does T&& (double ampersand) mean in C++11?
I've been looking into some of the new features of C++11 and one I've noticed is the double ampersand in declaring variables, like `T&& var`. For a start, what is this beast called? I wish Google wou...
- Modified
- 4 Dec at 22:33
How to extract .war files in java? ZIP vs JAR
I have a web program where I want the user to be able to import a `.war` file and I can extract certain files out of the `.war` file. I have found two class libraries: `java.util.zip.*` and `java.ut...
Check if character is number?
I need to check whether `justPrices[i].substr(commapos+2,1)`. The string is something like: "blabla,120" In this case it would check whether '0' is a number. How can this be done?
- Modified
- 20 Jan at 01:12
Debugging WebSocket in Google Chrome
Is there a way, or an extension, that lets me watch the "traffic" going through a WebSocket? For debugging purposes I'd like to see the client and server requests/responses.
- Modified
- 22 Apr at 01:31
Android: why setVisibility(View.GONE); or setVisibility(View.INVISIBLE); do not work
I want my `DatePicker` and the button to be invisible in the begining. And when I press my magic button I want to setVisibility(View.Visible); The problem here is when I `setVisibility(View.GONE)` or...
- Modified
- 20 Oct at 06:24
Select only rows if its value in a particular column is less than the value in the other column
I am using R and need to select rows with aged (age of death) less than or equal to laclen (lactation length). I am trying to create a new data frame to only include rows/ids whereby the value of colu...
Node.js: Difference between req.query[] and req.params
Is there a difference between obtaining QUERY_STRING arguments via `req.query[myParam]` and `req.params.myParam`? If so, when should I use which?
- Modified
- 3 Oct at 07:15
how to set the background color of the whole page in css
I am trying to set the background color of the page at [yumdom.com](http://yumdom.com) to yellow. I have tried the following and it fails: ``` body{ background-color: yellow;} /*only a sliver under...
- Modified
- 10 Mar at 18:12
Generate JSON string from NSDictionary in iOS
I have a `dictionary` I need to generate a `JSON string` by using `dictionary`. Is it possible to convert it? Can you guys please help on this?
- Modified
- 11 Dec at 12:58
pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/
I run `sudo pip install git-review`, and get the following messages: ``` Downloading/unpacking git-review Cannot fetch index base URL http://pypi.python.org/simple/ Could not find any downloads t...
- Modified
- 17 Nov at 18:14
Can we make unsigned byte in Java
I am trying to convert a signed byte in unsigned. The problem is the data I am receiving is unsigned and Java does not support unsigned byte, so when it reads the data it treats it as signed. I tried...
What is the maximum float in Python?
I think the maximum integer in python is available by calling `sys.maxint`. What is the maximum `float` or `long` in Python? --- [Maximum and Minimum values for ints](https://stackoverflow.com/ques...
- Modified
- 29 Jan at 11:51
What does "|=" mean? (pipe equal operator)
I tried searching using Google Search and Stack Overflow, but it didn't show up any results. I have seen this in opensource library code: ``` Notification notification = new Notification(icon, ticker...
ClassNotFoundException com.mysql.jdbc.Driver
This question might have asked here number of times . After doing some google search for the above error and doing some update, I can't understand why I'm still getting that error. I've already put my...
Extract part of a regex match
I want a regular expression to extract the title from a HTML page. Currently I have this: ``` title = re.search('<title>.*</title>', html, re.IGNORECASE).group() if title: title = title.replace('...
- Modified
- 27 Jul at 10:7
SQL query, if value is null then return 1
I have a query that is returning the exchange rate value set up in our system. Not every order will have an exchange rate (currate.currentrate) so it is returning null values. Can I get it to return...
SQLSTATE[HY000] [2002] Connection refused within Laravel homestead
Using Mac OS X and Homestead 2.2.1 with Laravel 5.2. In terminal (within homestead in my project folder) I can do php artisan to see all the available commands. When I try to run php artisan migrate ...
- Modified
- 14 Feb at 17:26
What do the terms "CPU bound" and "I/O bound" mean?
What do the terms "CPU bound" and "I/O bound" mean?
- Modified
- 2 Nov at 18:33
get next and previous day with PHP
I have got two arrows set up, click for next day, next two days, soon and previous day, two days ago, soon. the code seem not working? as it only get one next and previous day. ``` <a href="home.php?...
How do you use the "WITH" clause in MySQL?
I am converting all my SQL Server queries to MySQL and my queries that have `WITH` in them are all failing. Here's an example: ``` WITH t1 AS ( SELECT article.*, userinfo.*, category.* FROM...
- Modified
- 26 Sep at 08:24
mySQL :: insert into table, data from another table?
I was wondering if there is a way to do this purely in sql: ``` q1 = SELECT campaign_id, from_number, received_msg, date_received FROM `received_txts` WHERE `campaign_id` = '8'; INSERT INTO act...
jQuery checkbox event handling
I have the following: ``` <form id="myform"> <input type="checkbox" name="check1" value="check1"> <input type="checkbox" name="check2" value="check2"> </form> ``` How do I use jQuery to captu...
Only variable references should be returned by reference - Codeigniter
After the server PHP upgrade I am getting the following error with PHP Version 5.6.2 on Apache 2.0 ``` A PHP Error was encountered Severity: Notice Message: Only variable references should be returne...
- Modified
- 4 Jun at 10:31
SQL Server returns error "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'." in Windows application
An application that has been working without problem (and has not had any active development done on it in about 6 months or so) recently began failing to connect to database. Operations admins cant ...
- Modified
- 17 Sep at 16:57