April 2006 Entries

Big hits with Web Services? What's your take?

Alright - so here is an easy question for today...What web services does everyone find useful and logical in a corporate environment? Por ejemplo, I developed a simple ADSI Web Service for my team a few back and my superior seemed to at least think it was a good concept. I'm sure a lot of this is industry specific, but this service allowed all applications on our team to have a single point of failure for our ADSI logic. (I should mention many of our apps use AD for auth against local tables, or...

Where did Designer.CS go?

Alright so…on my latest project I decided to use .NET 2.0. Things were going great, until I ran into the following scenario (if you googled to here, skip my rant and just go to the solution…it’s down there somewhere) …I had a user created control. This control consisted of 4 dependant drop down lists and a submit button, all of which are AJAX based utilizing Jason Diamond’s library generating of a DB2 backend. Neat-0. I wanted to trigger an event on my main page (default.aspx) when the submit button...

Thinking like a genius?

http://www.studygs.net/geni

Oracle UTC to Standard Time format and back

Ever have to work with a DB that stores time in UTC format? Yes, it's a tad annoying at first. The PL/SQL functions below may be handy when you've got a DB side UTC field. CREATE OR REPLACE function convert_utc_date (utc_in in number) return date isbegin return new_time(to_date('1970-01-01 12:00:00 AM','yyyy-mm-dd hh:mi:ss am')+(utc_in/(60*60*24)),'E... -- ex: select to_char(convert_utc_date(11... hh:mi:ss')a from dual;end; CREATE OR REPLACE function convert_date_utc...

Anthem Ajax Library

So I drudged through a bunch of different Ajax libraries freely available on the web. I'm a bit reluctant to build any apps w/atlas naturally since it's not out yet. (On a side note, I couldn't really find any useful Atlas articles on the web - anyone got any?) Initially, I played with Michael Schwarz's (I needed to build some dependant drop down lists) However, this library was a bit lacking in one important area. ViewState. I couldn't access the ElementID.SelectedValue property as you normally...

Adding events to dynamically created controls

Adding events to dynamically created controls sounds like it might be tricky but it's actually pretty straightforward.System.Web.... btn = new System.Web.UI.WebControls.B... btn.Click += new System.EventHandler(button_... protected void button_Click(object sender, EventArgs e) { //Call whatever methods you please }

Twitter