1) Disabling items:
Serach for your item in the list (you can do it or by text or by value) and disable it:
ListItem srtItem = rblTeam.Items.FindByValue("SRT");
if (srtItem != null)
srtItem.Enabled = false;
This code should work.
2) Rewriting some code:
This:
int TodaysDay2 = DateTime.Today.Day;
int TodaysMonth2 = DateTime.Today.Month;
int TodaysYear2 = DateTime.Today.Year;
txtLogDate.Text = TodaysMonth2 + "/" + TodaysDay2 + "/" + TodaysYear2;
can easily be written as (if you are trying to avoid a current culture):
txtLogDate.Text = DateTime.Now.ToString("MM\\/dd\\/yyyy");
More information here:
http://msdn.microsoft.com/en-us/library/az4se3k1.aspx[
^]
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx[
^]
Cheers