Wednesday, August 30, 2006

The best cocktails

I've discovered a fantastic site if you like cocktails. What I like is that you can tell it a few ingredients and it will come up with a list of cocktails you can make. You can also tell it to show some that you haven't listed ingredients for.

Over the weekend I wanted to make a cocktail using pineapple juice and tequila. This site came up with the goods and a good time was had by all.

It seems to me that the key to cocktails (and where a lot of people go wrong) is to not make them too strong. You want lots of juice/lemonade/whatever soft drink. A notable exception being a classic martini.

More ASP.NET datagrids

As I've stated elsewhere I am writing a web based application that is making use of datagrids (ASP.NET 1.1). As part of that I wanted to make some data editable and for the options to be limited to a drop down. I had great trouble getting this working and still am not sure why.

Essentially what I did in the end was to create an item template for the rows that need editing and add drop downs (and whatever else I needed).

My problem was referring to the drop downs and populating them. In the end I stumbled across this site which makes it look very simple, which of course it is.

I think part of the confusion is that there are so many ways you can do the same thing. In my case I prefer to create all the connections etc. in code.

While I was looking for the information I needed I came across a number of interesting suggestions on how to improve the datagrid by allowing click anywhere to select, scrolling them and making the whole grid editable. Personally I think these are great if you have the time to implement them.

Friday, August 18, 2006

More on Web 2 Applications

I've been looking at Web 2 applications again. One of the interesting ones is a personalised portal Protopage which lets you move things around on screen, nothing is in a fixed position unless you want it to be and you can play with it without registering. All of the others have a more structured layout. This one suits me better as you can have items overlapping. As well as multiple pages. I think it's just a bit nicer then others like Netvibes and Start

It looks very promising.

Monday, August 07, 2006

ASP.NET.datagrids

As I have said before I am no ASP guru but I have managed to create a datagrid that show database data, can be sorted (ascending or descending) or paged and allows editing and deletion of records. I have used a number of websites to get there but this is one series that I find invaluable ASP.NET.4GuysFromRolla.com: An Extensive Examination of the DataGrid Web Control I'll post full details in due course. I make no claims that this is good code, merely that it works for me

Tuesday, August 01, 2006

Lambs of Sheep Street

If you're ever in Stratford Upon Avon I can thoroughly recommend Lambs restaurant on Sheep Street. We went on a Sunday evening without a booking and I think we were lucky to get a table as a lot of people came soon after us and it appeared to be full.

The food, service, ambience and layout were all great, the best meal I have had in some considerable time. My wife rarely eats dessert but demolished the chocolate pudding with white chocolate ice cream