All Visual Studio blogs in one place

AddThis Social Bookmark Button

This sample on the WebFormContrib mini-framework is on how to do a form post. If you’d like a particular sample on how to do something or if I’m missing something, please leave a comment. Here’s how… Create a New Web Site of Use an Existing Download and reference the WebFormContrib.DLL Delete the CodeFile=”Default.aspx.cs” Inherits=”_Default” in the <%@ Page area Delete the actual Default.aspx.cs file attached to the Default.aspx page Create a new Class in
the App_Code folder ( I’m calling mine DefaultPage ) Inherit the DefaultPage from BasePage Create a new Class file called SampleEmployeeView and make it look like this: public class SampleEmployeeView
[Required("Id is Required.")]
public int Id { get; set; }
[Required("First Name is Required.")]
public string FirstName { get; set; }
public string LastName { get; set; }
public string EmailAddress { get; set; }



Enter your email address:

Delivered by FeedBurner

Increase your website traffic with


Anti-spam: How many eyes has a typical person?

Follow us on FB

Home : Blog List : Deran Schilling, Learner : WebFormContrib – Sample Part 3