Monthly Archives: July 2012

File comparison with winmerge

File comparison with winmerge is really easy. You do not even need two files. You can fire up Winmerge Program Files > WinMerge > Winmerge.exe The windows popups up with two editors one on left, one on right. Past some … Continue reading

Posted in Tutorials/Tips | Leave a comment

‘DropDownList1’ has a SelectedValue which is invalid because it does not exist in the list of items

This error is thrown by ASP.NET in a dropdownlist where the selected value (fetched from the database), does not match any of the value in the drop down list and is therefor invalid. To explain this [csharp] 1 2 3 … Continue reading

Posted in Uncategorized | Leave a comment

Divert emails in outlook

If you have two different emails setup in outlook, you will have two different pst files, one for each email account. When an email comes it you can divert them to which PST file the email should go to. Sometime … Continue reading

Posted in Tutorials/Tips | Leave a comment

Must declare the scalar variable “@ID”

Problem In an ASP.NET Application, you are using ListView, you are trying to delete a record. Update, Insert everything works fine but delete does not work. The SQL syntax is correct [csharp] DeleteCommand=”delete from SalesRep where ID = @ID” [/csharp] … Continue reading

Posted in Troubeleshoot | Tagged | 3 Comments

Electric Shock Severity

What causes electric shock, voltage or current Electric shock is caused by the combination of both Voltage and current. In other words, it is caused by power devolved to your body. As we know Power = Energy/time In Electrical terms … Continue reading

Posted in Uncategorized | Leave a comment