Adding minutes to a datetime variables

Submitted by planetsourcecode on
Sometime we stuck in a problem in which we have to get a time which is after 20 or 60 minutes then there is simple function which can add minutes to a particular datetime variable take an example we want to add 60 minutes to present time, for this we simply do is make an 2 objects of current datetime class i.e. date1 and date2

Using CDOSYS to Send Email especially for Godaddy

Submitted by planetsourcecode on
Here is the code to send Email from your website.I had tested this code on My Godaddy Web hosting and it was perfectly working. The things need to be change is in Red colour // language -- C# // import namespace using System.Web.Mail; private void SendEmail() { // Don't change this if you are using godaddy otherwise mention your smtp server name.

Writing Maintainable Codes

Submitted by arjay_nacion on
When working on a project where in you have to add features to an existing code written by other members of your team, you may have encountered problems understanding parts of the code. Sometimes the problems are caused by codes not well commented or sometimes the codes are simply unreadable. Take this code for example:
  1. int x = Integer.parse(request.getParameter("x").toString());

Speed-Up Software Development : Framework-Driven Development

Submitted by arjay_nacion on
Many software developers today are still using the old way of "write your own code" strategy. Although it may seem right for a developer's perspective in terms of skill enhancement and originality, when it comes to developing large-scale applications on a tight deadline, this may not seem to be the best approach.