Signup/Sign In

Answers

All questions must be answered. Here are the Answers given by this user in the Forum.

You can uninstall your windows service by command prompt also just write this piece of command

***cd\

cd C:\Windows\Microsoft.NET\Framework\v4.0.30319(or version in which you developed your service)

installutil c:\\xxx.exe(physical path of your service) -d***
4 years ago
Handy if you are already in the directory you want to add to PATH:

***set PATH=%PATH%;%CD%***
It works with the standard Windows cmd, but not in PowerShell.

For PowerShell, the **%CD%** equivalent is **[System.Environment]::CurrentDirectory**.
4 years ago
Use
***iframe.contentWindow.document***
instead of
***iframe.contentDocument***
4 years ago
You can do this:
***$("#elem").css("cssText", "width: 100px !important;");***
Using "cssText" as the property name and whatever you want added to the CSS as its value.
4 years ago
I found this to be more cross-browser compatible:
***$(document).keypress(function(event) {
var keycode = event.keyCode || event.which;
if(keycode == '13') {
alert('You pressed a "enter" key in somewhere');
}
});***
4 years ago
How about just **$(this).is("[name]")**?

The **[attr]** syntax is the CSS selector for an element with an attribute **attr**, and **.is()** checks if the element it is called on matches the given CSS selector.
4 years ago
Try this
***$('#searchbox input').bind('keypress', function(e) {
if(e.keyCode==13){
// Enter pressed... do anything here...
}
});***
4 years ago
***$(document).ready(function () {
$(document).on('change', 'input[Id="chkproperty"]', function (e) {
alert($(this).val());
});
});***
4 years ago
Try to remove % chars as below
***UPDATE dbo.xxx
SET Value = REPLACE(Value, '123', '')
WHERE ID <=4***
4 years ago
Go to mysql or phpmyadmin and select database then simply execute this query and it will work. Its working fine for me.
***SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));***
4 years ago
**INDEXES** - to find data easily
**UNIQUE INDEX** - duplicate values are not allowed
Syntax for **INDEX**
***CREATE INDEX INDEX_NAME ON TABLE_NAME(COLUMN);***
Syntax for **UNIQUE INDEX**
***CREATE UNIQUE INDEX INDEX_NAME ON TABLE_NAME(COLUMN);***
4 years ago
Right click on table name in Object Explorer. You will get some options. Click on 'Design'. A new tab will be opened for this table. You can add Identity constraint here in 'Column Properties'.
4 years ago