Author: survient | Posted on: 5/7/2009 9:17:17 PM | Views : 258

.NET Version 3.5
Dev Platform = Visual Studio 2008

Alright, I'm working on an event calendar of sorts and am trying to create a page that displays information about events for a particular date. Part of the information is the RSVP status for a particular event. What I'm trying to do is create buttons, links, or some other form of control that will edit a table in an SQL database that contains the RSVP information. Displaying the information isn't a problem, however dynamically adding controls that can trigger an event such as a button or a link is presenting a problem. My codefile is as follows:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class EventDetails : System.Web.UI.Page
{
protected void runclick()
{
int fdasfdsa = 1;
}
protected void Page_Load(object sender, EventArgs e)
...

Go to the complete details ...