Add Script in .aspx
function isNumberKey(evt) {
var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
else
return true;
}
Write in .cs Page Load
Txt_Number.Attributes.Add("onkeypress", "return isNumberKey(event);");
Create new column using existing columns in table (SQL Server Query)
First, we need to create a column in our table like 'newCol'
then we can use these query to insert data in to newCol using existing one
update tableName set newCol= left(oldCol,1)
It will insert only first left char of existing column into newCol
update tableName set newCol = right(oldCol,(LEN(oldCol)-2))
It will leave first two char from left and insert remainning data into newCol
Like this we can manipulate above query with our requirement
then we can use these query to insert data in to newCol using existing one
update tableName set newCol= left(oldCol,1)
It will insert only first left char of existing column into newCol
update tableName set newCol = right(oldCol,(LEN(oldCol)-2))
It will leave first two char from left and insert remainning data into newCol
Like this we can manipulate above query with our requirement
Call a popup div using JQuery
Credit Card Validation's Regular Expression
Linked List Program in C:
.Net Versions Details
Version | Version Number | Visual Studio | Default in Windows |
1 | 1.0.3705.0 | Visual Studio .NET | |
1.1 | 1.1.4322.573 | Visual Studio .NET 2003 | Windows Server 2003 |
2 | 2.0.50727.42 | Visual Studio 2005 | Windows Server 2003 R2 |
3 | 3.0.4506.30 | Windows Vista, Windows Server 2008 | |
3.5 | 3.5.21022.8 | Visual Studio 2008 | Windows 7, Windows Server 2008 R2 |
4 | 4.0.30319.1 | Visual Studio 2010 | |
4.5 | 4.5.?????.? | Visual Studio 11 | Windows 8, Windows Server 8 |
The NET Framework was first released in beta in November 2000 and development continues today. Each version of the framework has betas, final versions, service packs, and patches associated with it.
For detailed release and changes, refer:
Subscribe to:
Posts (Atom)