Google roman Urdu to Urdu converter

Filed in Uncategorized Leave a comment

A fantastic tool by Google which convert your Roman Urdu to Urdu, which looks very cultural. You can download it and then can be run on any text editor.

F4V format videos not running

Filed in Uncategorized Leave a comment

On the Windows 2003 server, open the Internet Information Services Manager.

  1. Expand the Local Computer Server.
  2. Right-click the local computer server and select Properties.
  3. Select the MIME Types tab.
  4. Click New and enter the following information:
  5. Associated Extension box: .F4V
  6. MIME Type box: video/mp4
  7. Click OK.
  8. Restart the World Wide Web Publishing service

The password-answer supplied is invalid. Create User using CreateUserWizard without entering Security Question and Answer fields

Filed in Uncategorized Leave a comment

I need to create user using CreateUserWizard of ASP.Net Membership. By default Security Question and Answer fields are mandatory when you drag and drop the wizard. I need to create user without these fields. For this you need to set “requiresQuestionAndAnswer” flag to false in web.config membership provider setting area. After that you can remove Security Question and Answer fields from aspx  page. Below is the sample code of my web.config.

<membership defaultProvider=”CustomizedProvider”>


<add name=”CustomizedProvider” type=”System.Web.Security.SqlMembershipProvider”






maxInvalidPasswordAttempts=”5″ />



Data Handling in ASP.Net DetailsView

Filed in Uncategorized Leave a comment

I have a date field in my DetailsView and the date which is coming from DB is the default date which is “1/1/1754 5:00:00 AM”. I need to set the value of this template field to “N/A” if it is default date.

I created below method in my code behind.

protected string ReplaceDefaultDateAsNA(DateTime discontinued)


if (discontinued.ToString() == “1/1/1754 5:00:00 AM”)

{return “N/A”;}


{return discontinued.ToString();}


Template field in DetailsView looks like.


<asp:Label ID=”Label6″ runat=”server” Text=’<%# ReplaceDefaultDateAsNA((DateTime) Eval(“LastPasswordChangedDate”)) %>’></asp:Label>


Reference (very good article):