Add & Remoce List Items

Jayakumars
Posted by Jayakumars under ASP.NET AJAX category on | Points: 40 | Views : 863
Add & Remoce List Items
=======================
protected void bt_Submit_Click(object sender, EventArgs e)
{
lst.Add("DotNet");
lst.Add("AspDotnet");
lst.Add("C#");
lst.Add("Vb.net");
}
protected void bt_Submit0_Click(object sender, EventArgs e)
{
lst.Remove ("C#");
lst.RemoveAt(1);
}

Comments or Responses

Login to post response