Quantcast
Channel: Marten's blog » C#
Browsing all 3 articles
Browse latest View live

Stripping span tag from WebControl

When I started developing web controls which are created by CreateChildControls method i run into problem that this control is surrounded by span tag. This example will product not so nice HTML code:...

View Article



Storing Database Connection String in Web.Config

Today I found, that storing connection strings were little bit changed between .NET 2.0 and .NET 3.5. Here is an example of how to store a database connection string in the application’s Web.Config...

View Article

Simple custom C# event handler

The event model in C# is based on idea of publisher and subscribers. Each publisher can have more subscribers subscribed to each event. Publisher will do some logic and publish an event to all...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images