Saturday, October 30, 2004

Family picnic in MSFT

Today we had our annual (is it??) family picnic. We had fun :) though, the crowd was not in expected lines (gee!!) i went to the picnic around 1.30 after finishing personal chores. It was a overall nice event.

It was held in a place called Ramoji City, 40 -5o kms outside city. The driver kept on driving as if his job was to drive and nothing else. After quite some time we (amit and myself) thought that we have lost the way to the place. We started around 1pm and reached there by 2.30. By the time, we went almost all of them had finished their lunch and there were very few (including us) for the lunch. We finished our lunch and we have been enjoying the shows.

there were lots of games for kids and the family mainly. It was rotten fun. Last came in dhandiya (a classical indian dance) and we thought we dont fit in so started back . Had a nice lunch , roamed around ramoji film city, saw the 4 facade of church,airport,library and dont remember the fourth one.

came back in the midst of the traffic thot of going for a movie in the imax theatre, as usual on a sat night sir!! no tickets. So booked it for tomorrow.

the moment i went to imax. had lots of nostalgic feelings of my dear gugal. whom i am missing a lot. came back to office and started to blog ;)

Wednesday, October 27, 2004

Datagrid in Winforms

uff!! i was looking out for customizing datagrid to contain various columns with different column styles.
  1. i want the first column to have option buttons
  2. i want the next 3 columns as text
  3. i want the next column containg a reference field (reference field are those which acts as foreign keys to the particular data ) . These data are brought from different table so it would act as a combo column
  4. I want the next one to contain a button saying Add .. when i say add i want a new line to be created in the middle of the column.
  5. These columns should be bound to a datatable :(

If it had been web grid then the easier method is to add a template column but since this i require in winforms i need to inherit and make a custom control and make the grid look like this.

Still trying to figure out if there is any shorter method to this..