Ankh hai bhari bhari – Tum se acha kaun hai – Translation
(Aankh hai bhari bhari aur tum
My eyes are filled, and you
Muskuraane ki baat karte ho) - 2
Are speaking of smiling
Zindagi khafa khafa aur tum
Life is angry, and you
Dil lagaane ki baat karte ho
Are speaking of falling in love
Aankh hai bhari bhari aur tum
My eyes are filled, and you
Muskuraane ki baat karte ho
Are speaking of smiling
(Mere haalaat aise hai
My condition is such
Ke main kuch kar nahin sakti) - 2
That I cannot do anything
Tadapta hai yeh dil lekin
This heart is suffering, but
Main aahein bhar nahin sakti
I cannot take sighs
Zakhm hai hara hara ...
Meri kahani bhoolne vali – Deedar – Translation
Meri Kahani Bhoolne Wale
Here is the song 'Meri Kahani Bhoolne Wale' from movie 'Deedar'.
Meri Kahani Bhoolne Wale
the one forgot my story
Tera Jahan Aabaad Rahe
let ur world stay in happiness
Meri Kahani...
my story...
Mere Geet Sune Duniyane Magar,
my song's been heard by this world but
Mera Dard Koyi Na Jaan Saka, Na Jaan Saka,
my pain could not be understood by anyone, could not understand
Ek Tera Sahaara Tha Dil Ko, Ek Tera Sahaara Tha,
ur support was always there for my heart, ur suppot
Tu Bhi Na Mujeh Pehechan Saka,
even u could not recognise me
Bachpan Ke Voh ...
Configuring log4net
Tried Enterprise Library Logging Application Block but i'll have to say that log4net is easier and faster to use. So here's how to configure it. With the log4net.dll in your bin, you will need to open your web.config file and add the following line to your configSections node:
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
The after the </configSections> or anywhere else within <configuration>,
<log4net configSource="Config\log4net.config" />
Note: I store my log4net configuration as a separate xml file in a Config folder!
Your log4net.config file should look like this:
<!-- Logging related config options below this point -->
<log4net>
<appender ...
Turning identity off for a column in SQL Server
I'm currently moving my MySql database to SQL Server and for that reason i need to preserve the identity columns which i already have in the tables. Here's how it's done:
SET IDENTITY_INSERT tablename ON
SET IDENTITY_INSERT tablename OFF
So to insert the row ID=12, Name=Alfred, Age=23 in tblUsers, i would use the syntax below:
SET IDENTITY_INSERT tablename ON
INSERT INTO tblUsers (ID, Name, Age) VALUES (12, 'Alfred', 23)
SET IDENTITY_INSERT tablename OFF
You will need to turn the identity insert off so that SQL Server automatically generates the unique id for you afterwards.
Car insurance especially designed for muslim drivers
I was reading the news earlier this week and found that there is a new product in the insurance market, a new kind of car insurance targetting mainly muslim drivers. It is called halal car insurance and is Shariah compliant. What this means is that muslim drivers will now have access to an insurance cover which is inline with their faith. Muslim drivers did not have any choice before and had to go with conventional car insurance which contradicts the Islamic law.
Other similar products have been around a while now ...
Calculating x and y coordinates of an element in JavaScript
I was trying to get the Swazz calendar to work on Firefox but it would get displayed at the top on the webpage instead of showing up just under the textbox element which required the calendar values. So while debugging it i noticed that i had the the Transitional DocType on and it was messing around with it. I googled the problem and found that the solution was to 'px' to the value otherwise Firefox would ignore it.
getObj('fc').style.left=Left(ielem) + 'px';
getObj('fc').style.top=Top(ielem)+ielem.offsetHeight + 'px';
And this is how you get the coordinates with ...
Best iPhone 3G case
I wanted a case to protect my iPhone 3G so I was looking around on the Internet to see what others have recommended. However I was a bit hasty to buy a case so I ended up buying the first one I thought was worth it which is the Silicone case.
iPhone 3G Silicone Case Review
The iPhone 3G silicone case is like a glove and will offer some kind of protection to your iPhone if it falls down but it does not have any protection for the screen. It is ...
Access to bin path denied in ASP.NET Web Application
Just downloaded a solution from Visual Source Safe and I was getting lots of errors due to references not being found. So I went through each project and removed the old references and replaced them with the new references. However when I finally came down to the web app, it would not compile because it was unable to copy dll to the bin because access to it was denied. I checked the properties for the bin folder and noticed that it was readonly. So I unchecked the readonly property and ...
Problem with SCOPE_IDENTITY() in ADO.NET
I'm using .NET 3.5, Visual Studio Team System 2008 and SQL Server 2005 and i'm trying to return the new id that is created after an INSERT statement. When i call ExecuteScalar, it returns zero. I've googled the problem and it seems that you need to cast the scope_identity to int before returning it.
Here are 3 solotions for the problem:
1. SELECT CAST(SCOPE_IDENTITY() AS INT) instead of just SELECT SCOPE_IDENTITY()
2. Declare a variable to hold the scope identity as follows:
DECLARE @NewID INT
SET @NewID = SELECT SCOPE_IDENTITY()
3. Have an output parameter in ...