Hi all,
We all are facing problem in calculating difference between date.
I have one good delicious, have a look at Calculate period of time with .NET.
1 day ago
Information Sharing, Technical Articles. You can find solutions, best precticies for ASP.net application. More knowledge sharing on C#, AJAX, SQL, .Net Framework, OOPs Concepts, SQL Server 2005, SQL Server 2000, Programming.
This will probably returns 830 rows [thats default],
select * from [northwind].[dbo].[orders]
declare @statement varchar(100)We can do as follows which don't requrie creating dynamic query.
declare @iTop int
set @iTop=3
set @statement ='select top ' + convert(varchar(2),@iTop) + ' * from [northwind].[dbo].[orders]'
EXEC (@statement)
declare @iTop intThis will display top 3 records!!
set @iTop=3
set rowcount @iTop
select * from [northwind].[dbo].[orders]
set rowcount 0
BEGIN TRY
print convert(int, 'hi')
END TRY
BEGIN CATCH
print @@ERROR
print 'ERROR'
END CATCH
| window.location.hash | the part of the URL that follows the # symbol. |
| window.location.host | the host name and port number |
| window.location.hostname | the host name (without the port number). |
| window.location.href | The entire URL |
| window.location.pathname | The path (relative to the host). |
| window.location.port | The port number of the URL |
| window.location.protocol | The protocol of the URL |
| window.location.search | the part of the URL that that follows the ? symbol |
| assign(url) | Load the document at the provided URL. |
| reload(forceget) | Reload the document from the current URL. forceget is a boolean, which, when it is true, causes the page to always be reloaded from the server. If it is false or not specified, the browser may reload the page from its cache. |
| replace(url) | Replace the current document with the one at the provided URL. The difference from the assign() method is that after using replace() the current page will not be saved in session history, meaning the user won't be able to use the Back button to navigate to it. |
| toString() | Returns the string representation of the Location object's URL. See the JavaScript reference for details. |
Private ReadOnly Property MA() As String
Get
...
End Get
End Property
Private ReadOnly Property MA(ByVal movAvg As String) As String
Get
...
End Get
End Property
public string Author
{
set {_author = value;}
get {return _author;}
}
public AuthorEntity Author
{
set {_authorEntity = value;}
get {return _authorEntity;}
}
| Blog.Feed() | : |
|
| Blog.PageCounter() | : |
|
| Me.Resume() | : | Imran Bhadelia |
| Me.Consult() | : | Click Here |