Category: General Articles

Convert Date Formats :

  //For ex., Convert MM/dd/YYYY to dd/MM/yyyy string date = “03/27/2008”; //format is MM/dd/yyyy DateTimeFormatInfo dateTimeFormatterProvider = DateTimeFormatInfo.CurrentInfo.Clone() as DateTimeFormatInfo; dateTimeFormatterProvider.ShortDatePattern = “MM/dd/yyyy”; //source date format DateTime dateTime = DateTime.Parse(date, dateTimeFormatterProvider); string formatted = dateTime.ToString(“dd/MM/yyyy”); //write the format in which you want the date tobe converted Response.Write(“<br />” + formatted);

Convert Date Formats :

  //For ex., Convert MM/dd/YYYY to dd/MM/yyyy string date = “03/27/2008”; //format is MM/dd/yyyy DateTimeFormatInfo dateTimeFormatterProvider = DateTimeFormatInfo.CurrentInfo.Clone() as DateTimeFormatInfo; dateTimeFormatterProvider.ShortDatePattern = “MM/dd/yyyy”; //source date format DateTime dateTime = DateTime.Parse(date, dateTimeFormatterProvider); string formatted = dateTime.ToString(“dd/MM/yyyy”); //write the format in which you want the date tobe converted Response.Write(“<br />” + formatted);

Customizing the Map using Google Maps API

Get ready to code! In this section, we’ll be making changes and additions to the map HTML file to customize the map based on your preferences.   1.    Open your myapp.html file. 2.    Add the code to center the map at particular the latitude/longitude .The line that centers the map in the current code is: […]

OOPS Concepts and .NET Part 2 Inheritance, Abstraction, Polymorphism

Summary The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will […]

OOPS Concepts and .NET Part 2 Inheritance, Abstraction, Polymorphism

Summary The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will […]

Web Application Performance

Click Here to visit Zonix’s Website Web Application performance can be enhanced by considering the following points: 1. Database ResultSets 2. Paging 3. Connection Pooling 4. Server Control View State 5. Caching Below are details of the points: Database Resultsets Review your database code to see if you have request paths that go to the […]

Advice to young programmers

Click Here to visit Zonix’s Website (This is the summary of speech Given by Alex Stepenov (Principal Scientist, Adobe Systems) at Adobe India on 30 Nov 2004. ) 1. Study , Study and Study – Never ever think that you have acquired all or most of the knowledge which exists in the world. Almost everybody […]

Advice to young programmers

Click Here to visit Zonix’s Website (This is the summary of speech Given by Alex Stepenov (Principal Scientist, Adobe Systems) at Adobe India on 30 Nov 2004. ) 1. Study , Study and Study – Never ever think that you have acquired all or most of the knowledge which exists in the world. Almost everybody […]