" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

INSERT, UPADTE or DELETE a row and return column/columns value with single query

Posted on November 24th, 2015 by Santosh Bisoyi

At times you may need to UPDATE a row from a Table and at the same time you would also want to get the column value from the same SQL UPDATE query. Following is a solution using SQL OUTPUT clause . SQL OUTPUT clause :     The OUTPUT Clause from SQL server provides a very […]

Delete all “.svn” folders from project directory and its subdirectories in windows

Posted on November 23rd, 2015 by Runish Kumar

I am sure that at some point of time(may be before delivering the project to client) you must have encountered a situation where you need to delete all “.svn” folders from your project directory. And it is really frustrating to go to each and every folder and delete the “.svn” folder manually. I found a […]

Search/Delete files using wildcards in a directory and its sub-directories

Posted on November 23rd, 2015 by Smruti Sahoo

To demonstrate how to search and delete files of a specific extension in a particular directory and its sub-directories, let us carry out the following exercise: Take two TextBoxes and Two Button Controls. 1. txtFolderPath :-  this textbox allows user to specify which directory  (and its subdirectories) shouls be seached. 2. txtFileExtension :- this textbox […]

Display Delete Button On A Row While Swiping That Row In A Tableview Using Titanium

Posted on November 23rd, 2015 by Raju Mahato

Most of the times, we show item list in a tableview and it is also a common scenario for a developer to  need to edit/delete/update a row on click of that row. Here is a trick describing how to display a delete button when we swipe that row. . //Define current window var currentWin = Ti.UI.currentWindow; //Define rows for a tableview […]