Response.Write(Request.ServerVariables["REMOTE_ADDR"].ToString()+"<br/>");
Response.Write(HttpContext.Current.Server.MachineName);
Response.Write(HttpContext.Current.Server.MachineName);
Blog that contains articles about new technologies related or not with programming. I will describe and solves some problems that I encounter in my career. ASP .NET, AJAX, Javascript, C++, C# and SQL are some of the subjects that will appear.
The first letter in the identifier and the first letter of each subsequent concatenated word are capitalized.Example:BackColor, DataSet
The first letter of an identifier is lowercase and the first letter of each subsequent concatenated word is capitalized.Example:numberOfDays, isValid
1). Private Variables: _strFirstName, _dsetEmployeesAll letters in the identifier are capitalized.Example:ID, PI
The first letter in the identifier and the first letter of each subsequent concatenated word are capitalized.Example:BackColor, DataSet
The first letter of an identifier is lowercase and the first letter of each subsequent concatenated word is capitalized.Example:numberOfDays, isValid
1). Private Variables: _strFirstName, _dsetEmployeesAll letters in the identifier are capitalized.Example:ID, PI
<script type="text/javascript">
document.onkeyup = KeyCheck;
function KeyCheck()
{
var KeyID = event.keyCode;
switch(KeyID)
{
case 16:
document.Form1.KeyName.value = "Shift";
break;
case 17:
document.Form1.KeyName.value = "Ctrl";
break;
case 18:
document.Form1.KeyName.value = "Alt";
break;
case 19:
document.Form1.KeyName.value = "Pause";
break;
case 37:
document.Form1.KeyName.value = "Arrow Left";
break;
case 38:
document.Form1.KeyName.value = "Arrow Up";
break;
case 39:
document.Form1.KeyName.value = "Arrow Right";
break;
case 40:
document.Form1.KeyName.value = "Arrow Down";
break;
}
}
INSERT INTO Database2..Table1 SELECT * FROM Database1..Table1
<script type="text/javascript">
document.onkeyup = KeyCheck;
function KeyCheck()
{
var KeyID = event.keyCode;
switch(KeyID)
{
case 16:
document.Form1.KeyName.value = "Shift";
break;
case 17:
document.Form1.KeyName.value = "Ctrl";
break;
case 18:
document.Form1.KeyName.value = "Alt";
break;
case 19:
document.Form1.KeyName.value = "Pause";
break;
case 37:
document.Form1.KeyName.value = "Arrow Left";
break;
case 38:
document.Form1.KeyName.value = "Arrow Up";
break;
case 39:
document.Form1.KeyName.value = "Arrow Right";
break;
case 40:
document.Form1.KeyName.value = "Arrow Down";
break;
}
}</script>
INSERT INTO Database2..Table1 SELECT * FROM Database1..Table1