Geeks With Blogs
.net alternatives by Michel Grootjans December 2008 Entries
My geeky Christmas present
My wife gave me a green wristband for Christmas. It arrived by mail a few days ago. Now I have a physical reminder of the holy grail I'm pursuing ......

Posted On Sunday, December 28, 2008 11:10 AM

State in asp.net
This is the point where I will be loosing major geek credits, but please bear with me. My expectation here is that I set a list of objects as the DataSource of some data control on the first GET operation. When a POST operation occurs, I don't want to overwrite the user's modifictaion on my dataControl, so I expect it to load from the ViewState. protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { dataControl.DataSource = GetCustomers(); dataControl.DataBind(); } Response.Write("dataControl... ......

Posted On Friday, December 19, 2008 9:02 AM

Copyright © Michel Grootjans | Powered by: GeeksWithBlogs.net