Wednesday, September 13, 2006

Web Site Projects V Web Application Projects

Nowadays, I am working on upgrading the ASP.NET 2003 project to ASP.NET 2005 project. The article is very useful in resolving the upgrading issues. The Web Application Project is an add-in for .NET 2005. It provides the same .NET 2003 Web project model in .NET 2005. The complete article can be found at the following link of MSDN, Introduction to Web Application Projects.

Friday, May 05, 2006

Its Life Or Death @ 240

A couple of days back, I was watching a program on TV. The program was about a person who died in a road accident. Once, in this same program, that person and his friends were interviewed. His name was Fareed Ahmed. He and his friends had very expensive bikes and they used to drive the bikes at extremely high speed. Fareed was driving his bike at about 240 KPH when suddenly an old man with his own normal bike came on main road from a blind turn. Fareed struck in to him and Fareed's bike was in the air 15 feet high and he fell in to a pick up about 100 feet far from the spot of accident. His head collided with the CNG cylinder in the pick up and he died at the spot. In his last interview, he himself told that he was very crazy for driving the bike at high speed. In last program, one clip of his interview was shown at regular intervals and that was his own words "Life starts after 240 KPH". Its not the life that will start at 240 but its the death. You have the life and it is for only one time. So, don't be so crazy to start your other life.

Thursday, April 13, 2006

Bangladesh Played Well But…

Once again, Australian captain has steered his team to victory and this time against Bangladesh at Fatullah but Bangladesh played really well. Before the start of the match, every one thought that it would be a one-sided game as Australia is playing with full strength and even their strength has been increased by the inclusion of Jason Gillespie but the real story was quite different. Bangladesh made more than 350 runs on first day with a run rate of more than 4 runs per over. Their performance in the bowling and fielding was also impressive as aussies were 6/93 in first innings. In the end of the day, he was Ponting who stand between and Bangladesh and their first historic victory. Just before the lunch on day 5, Australia required 24 to win with 3 wickets in hand when ponting was dropped and home fans knew that not only the Ponting been dropped but the match has been dropped. Finally, it was game with full thrill and seeing the home side performance, a good contest was expecting at Chittagong in second test.

Monday, March 20, 2006

Quotes

Today, I come across a couple of worth mentioning quotes.

He who praises you for what you lack wishes to take from you what you have.
- Don Juan Manuel

Happiness keeps you Sweet,
Trials keep you Strong,
Sorrow keeps you Human,
Failure keeps you Humble,
Success keeps you glowing,
But only God keeps you going.

Wednesday, March 15, 2006

DropDownList V ComboBox

In ASP.NET, the DropDownList can be bound as:

this.dropDownList.DataSource = dataSet;
if (dataSet.Tables[0].Rows.Count > 0)
{
this.dropDownList.DataTextField = "Text";
this.dropDownList.DataValueField = "Value";
}
this.dropDownList.DataBind();

Where as in Windows Application, the DropDownList can be bound as:

this.comboBox1.DataSource = dataSet.Tables[0];
this.comboBox1.DisplayMember = "Text";
this.comboBox1.ValueMember = "Value";

The difference between the two is that in ASP.NET, DropDownList can be bound with a DataSet provided that DataSet contains only one DataTable where as in Windows Application, ComboBox can only be bound with a DataTable. The "Text" and "Value" are the columns in the DataTable.

Monday, March 13, 2006

A Remarkable Day In Cricket History

Yesterday was a rememberable day in the history of cricket. A a lot of new world records have been made. Australia was playing the last game of 5 match away series against South Africa. Before this match, series was level at 2-2. Australia's captain won the toss and rightly so decided to bat first. A huge pile of runs and australia finished with 4/434 and became the first ever team that scored more than 400 runs in 50 over game. Ricky Ponting played a true captain's knock and lead from the front. During the innings break at Johannesburg, it looked like that Australia would won the series decider in a one sided game but what a reply from South Africa. They fought brilliantly and, in the end of the day, took the match away from Aussies. A nail bitting match was over. A new history has been set where both the teams made more than 400 runs with a run rate of 8.7. 87 fours and 26 sixers have been hit from both sides and its a truely entertaining encounter but, off course, not for the bowlers of each side. Saeed Anwar hold the record of highest individual innings by any player in ODI. He scored 194 against India back in 1997. Yesterday, both, Ponting and Gibbs, reached very near to the world record by making 164 and 175 respectively but still so far. 9/438 is the new world record for successful chase in 50 over game. It looks impossible for any team to break this record but don't forget that "records are made to be broken". In short, yesterday's game was a truly entertaining game of cricket and played between the two top ranked teams in ICC ODI Championship table.

Tuesday, March 07, 2006

Professional Attitude

Nowadays, my official working hours are from 1500 hrs to 2300 hrs. Working in these hours is not so easy when whole of the office evacuates about 1900 hrs. Some guys are also there beyond the office hours. One can think that its real pleasure to work in the office when there is no much noise. A work can be done and completed in much lesser time which requires a lot of concentration but the situation is really worst than the normal office hours. The people who remain in office with their own will are just there for fun. They enjoy themselves by listening to loud music and some of them are also whistling with loud noise. In such situations, I wish to run away from the office if I can but the problem is I can't leave the office before my schedule time. Such a situation is so embarrassing for me. There should be a professional attitude in professional life. Things that a lot of people used to do in their student life should be away from the office premises.

Every Failure Leads To Great Success

Quran says:
Never disappoint from the Blessings of Allah.

If one works hard but doesn't get the desired results, a wave of disappointment stops him to move further in that direction. This is natural to all human beings but one forgets that only Allah Almighty knows all about future. This failure may prevent him from hidden difficulties or this failure may lead him to another direction that will be much better for him. We, human beings, can only see what is apparent but we can't see beyond a limit. Only time can prove that whatever happened was right at that time. So, never disappoint from a single or even a series of failures but keeps on hard work. Night may be long but a day always come after a night. So, always keeps in mind that "Every failure leads to a great success but determination is required".

Friday, February 03, 2006

Pakistan V India - 2006 Test Series

Test series between Pakistan and India is over. All eyes are now on one day clash. Pakistan's performance was outstanding as compared to India. Just consider Karachi test, Pakistan came back really well after losing 6 top order batsmen for just 39. In the end, they managed to make a respectable total of 245. In reply to that, India bowled out for 238 and Pakistan lead by 7 runs. Pakistan bowling performance was very good but due to 4-5 drop catches in the field, they only managed 7 runs lead after first innings. In the second innings, they started well and put a new world record of 7 individual scores greater than 50 in one innings. India had to chase 607 to win the match in the 4th innings of game which could be the world record chase but they collapsed for merely 265 with whole one day left and match ended on the 4th day with Pakistan as winner. When Pakistan was batting in 2nd innings, the pitch looked very favorable to batting conditions and every one expect that India would give a strong reply as Indian batting is much stronger than Pakistan's but that wasn't true. Even after losing quick wickets, no one from Indian side bothered to stay at the wicket to save the match. In the end of the day, Pakistan has won the test series by 1-0 and now they move up to 4th spot in ICC Test Championship. I wish to see Pakistan as winner of ODI series as well, Insha-Allah.