previous (1,567)


Modify Address Bar URL in AJAX App to Match Current State

Modify Address Bar URL in AJAX App to Match Current State

I'm writing an AJAX app, but as the user moves through the app, I'd like the URL in the address bar to update despite the lack of page reloads. Basically, I'd like for them to be able to bookmark at a…


How to access.Net element on Master page from a Content page?

Is it possible to access an element on a Master page from the page loaded within the ContentPlaceHolder for the master? I have a ListView that lists people's names in a navigation area on the Master…


reporting services - Internationalization in SSRS

What's the best way to handle translations for stock text in a SSRS. For instance-if I have a report that shows a grid of contents what's the best way to have the correct translation for the header…


linux - Bash Pipe Handling

Does anyone know how bash handles sending data through pipes? cat file.txt | tail-20 Does this command print all the contents of file.txt into a buffer, which is then read by tail? Or does this comm…


javascript - How to keep the browser history in sync when using Ajax?

I'm writing a simple photo album app using ASP.NET Ajax. The app uses async Ajax calls to pre-load the next photo in the album, without changing the URL in the browser. The problem is that when the u…


SQL Server: Get data for only the past year

I am writing a query in which I have to get the data for only the last year. What is the best way to do this? SELECT... FROM... WHERE date>'8/27/2007 12:00:00 AM'…


visual studio 2008 - How do I rollback a TFS check-in?

I'd like to rollback a change I made recently in TFS. In Subversion, this was pretty straightforward. However, it seems to be an incredible headache in TFS: Option 1: Get Prior Version Manually get…


c# - How can I get the DateTime for the start of the week?

How do I find the start of the week(both Sunday and Monday) knowing just the current time in C#? Something like: DateTime.Now.StartWeek(Monday);…



function declaration isn't a prototype

I have a library I created, mylib.c:#include<mylib.h> int testlib(){printf("Hello world\n"); return(0);}mylib.h:#include<stdio.h> extern int testlib(); In my program, I've attempted…


Get Last Day of the Month in Python

Is there a way using Python's standard library to easily determine(i.e. one function call) the last day of a given month? If the standard library doesn't support that, does the dateutil package suppo…




how from get back current javascript remove and not next