A Real Challange

time to read 1 min | 166 words

I'm working on a side project that involves web services & databases. It's not complicated or hard by any means, but it does touch on stuff that I haven't done much with in the past. I didn't have any problem so far, and in fact, I managed to learn / create several new things along the way, until I reach the point where I needed to get a dataset.

If you have read my blog for a while you probably knows what I think about datasets vs. business objects. For me, business objects with Active Record / NHibernate won the battle so long ago it's ancient history. Nevertheless, I needed to create a dataset and pass it to another part of the application. I had the SQL query, but I just didn't know how to fill the dataset with data. It took three minutes with google to come up with the answer, but I was highly amused by this.