Displaying posts categorized under

ASP.NET 2.0

ASP.NET Repeater control instead of grid

If you have read some of my articles here at ASPCode.net by now I am sure you know my strive for doing things myself instead of relying on thirdparty controls. For example, I have developed professional ASP.NET solutions almost every day for at least 5 years and still havn’t delivered a single one (well maybe one or two in [...]

Repeater control and separator

This is kind of a twist of the article Insert user control every N records in gridview . I am gonna show you (and give you the C# code) for a ASP.NET 2.0 repeater control giving you some flexibility with regards to repeater items. This technique is totally different, in the previous article we (despite the [...]

Getting MySQL to function in medium trust

There are multiple steps to be done for getting MySQL to run under medium trust.
1. Recompile the ADO.NET data driver. Cause the first error you will get when using any MySQL.Data.Dll function is
Additional information: That assembly does not allow partially trusted callers
This procedure is described in these articles on Medium trust MySQL ADO.NET driver - also running [...]

Testing medium trust for ASP.NET locally

Having your ASP.NET 2.0 application working under Medium trust has gotten more and more important – since many webhosts only run 2.0 under medium trust.
As a developer you can set trust level for your specific site you are testing at the moment by changing web.config

<trust level="Medium"/>
</system.web>

</configuration>