Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

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

Follow us on FB

Search

WebFormContrib – Sample Part 2

AddThis Social Bookmark Button



This sample on the WebFormContrib mini-framework is a mixture of a form post and viewing an item. If you’d like a particular sample on how to do something or if I’m missing something, please leave a comment. Down to the code… 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 SampleDataView and make it look like this: public class SampleDataView
{
public SampleDataView()
{
Employees = new List();
SelectedEmployee = new Employee();
}
public IList Employees { get; set; }
...(Read whole news on source site)

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