July 2003 - Posts
31 July 2003
More on Typed DataSets
Just noticed that if you should happen to use: codegen : nullValue ="_empty" on something else than a string the MSDataSetGenerator will fail to generate any code file at all. Usually when errors are detected in the XSD both the xsx and cs file is generated with only an error message, but now this did...
Read More...
31 July 2003
Databound TextBoxes and CheckBoxes in ASP.NET
I recently made a fairly simple crud app in asp.net. User management was the theme, and a whoole lotta columns was supposed to be edited in a nice and tidy fashion. Of course the standard TextBox is not databindable and I ended up with approximately 200 lines looking like this: txtName.Text = dataSource...
Read More...
30 July 2003
MS Visio Coolness
Yesterday I decided to fiddle around with MS Visio for Enterprise Architects database modelling tools. After drawing up and validating a pretty straight-forward use case i created a new Database Model Diagram Template from visio. After telling Visio to use the Sql Server ODBC driver I got all the Sql...
Read More...
17 July 2003
Using PricipalPermission for Declarative role based Authorization
I have developed a custom authentication and authorization solution built on IPrincipal and ASP.NET Forms authentication. I wanted to make sure that some data only were accessed by certain roles. I chose to use attribute based declarative access on the Facade class that wraps my Dataset. The PrincipalPermission...
Read More...
17 July 2003
StackOverflowException in Typed Dataset
I just killed a System.StackOverflowException that occured when calling the GetChanges() method on my typed Dataset. I have a couple of tables in the typed dataset that are defined with self relations to represent hierarchies in the data. This relation is also defined in the XSD schema of the typed dataset...
Read More...
16 July 2003
Win2003 Server gains on linux : More work for us
Windows 2003 server seems to be doing well and the server base to run .NET applications gets bigger -> Good news! 300% increase in active sites running 2003 in three months. And 8000 Windows 2003 servers have replaced Linux. More at Netcraft . Combined with Microsofts $90M deal with US homeland security...
Read More...
11 July 2003
Dynamically loaded controls in ASP.NET
Every time I've embarked on ASP.NET projects the dynamically loaded controls have been the big bad wolf. I always seem to loose track of load and reload and state somewhere along the way. A few weeks ago I searched for a containercontrol that handeled this issue and only found a dead link to a component...
Read More...
09 July 2003
ListBox Selection is null / -1 on PostBack
Sometimes stupid errors take up the most time because you get used to handle complex problems. This little problem has struck me several times, and I always forget what I do wrong so this time it became a blogentry. When using the System.Web.UI.WebControls.DropDownList or System.Web.UI.WebControls.ListBox...
Read More...
08 July 2003
eDocument gets publicity!
The first release of our product eDocument has made headlines today in Norways two biggest e-zines: ComputerWorld.no and digi.no (unfortunately all in norwegian). Since january, myself and two fellow (now ex-)students has designed and developed the product eDocument from scratch with very little guidance...
Read More...
07 July 2003
Set codegen:nullValue in your XSD and get... null?!
Yup. That's right. You've been a good boy (or girl) and annotated your typed dataset XSD with codegen:nullValue attributes to instruct the codegenerator in how to handle DBNull values. And you actually thought the MSDataSetGenerator would care? Well it does, if you add the minOccurs="0" aswell. Otherwise...
Read More...
More Posts
Next page »
Home
Contact
Mads Nissen
backlog on sharepoint, crm, office, .net development, architecture and more..
RSS
Atom
Comments RSS
Recent Posts
Can Subversion do shelving? And should you really?
Upgrading Forefront TMG to Beta 3 - Modify the backup/export xml to enable import
Setting up the Lenovo Telenor Broadband Connection on Windows 7
401 errors when accessing Sharepoint or IIS locally from Windows 2008 Server
"Operation could destabilize the runtime" error with ASP.NET Medium Trust level in Cassini on Vista
Tags
.NET
.NET General
Architecture, Patterns & Practices
ASP.NET
cisco
CodeSnippets
Continous Integration
CRM
Development Tools
Document Management
firewall
Forefront
fun
gadgets
gallio
General Opinions/Comments
General Software Development
iis
infrastructure
Java/J2EE related
Microsoft CRM
Object persistence
Office System
offtopic
ReportingServices
Reports
Resumes and Personal Information
Security
Sharepoint
Subversion
TechEd2005
TFS
TMG
Trust
typemock
Visual Studio
windows2008
XNA
Archives
September 2009 (2)
June 2009 (2)
May 2009 (1)
March 2009 (1)
January 2009 (1)
December 2008 (5)
November 2008 (3)
October 2008 (1)
September 2008 (3)
June 2006 (1)
May 2006 (1)
December 2005 (1)
November 2005 (2)
October 2005 (4)
September 2005 (2)
August 2005 (1)
July 2005 (7)
June 2005 (7)
May 2005 (6)
April 2005 (3)
March 2005 (1)
February 2005 (11)
January 2005 (4)
December 2004 (4)
November 2004 (6)
October 2004 (14)
September 2004 (4)
August 2004 (7)
July 2004 (5)
June 2004 (13)
May 2004 (11)
April 2004 (1)
March 2004 (3)
February 2004 (7)
January 2004 (3)
November 2003 (2)
October 2003 (4)
September 2003 (1)
August 2003 (9)
July 2003 (11)
June 2003 (8)
May 2003 (9)
April 2003 (9)
March 2003 (22)
February 2003 (5)
Search
Go
Navigation
Home
Blogs
News
My twitter updates
follow me on Twitter