happy new year all of u...
sir,
iam using dataservice function of type int[] named getunbookedslot s(DateTime dt) and the same is used for adding the returned datetime value to RadioButtonList of other .aspx page dynamically...
here is the Code in Page_Load() of page aspx.cs....
sir,
iam using dataservice function of type int[] named getunbookedslot s(DateTime dt) and the same is used for adding the returned datetime value to RadioButtonList of other .aspx page dynamically...
here is the Code in Page_Load() of page aspx.cs....
Code:
DataService myservices = new DataService();
protected void Page_Load(object sender, EventArgs e)
{
string s = "";
DateTime dt = DateTime.Now ;
s = Request.QueryString["monthday"].ToString();
s = s + " " + Request.QueryString["monthdate"].ToString();
RadioButtonList lt = new RadioButtonList();
//lt.Items.Add("9.00 to 9.30 AM");
//lt.Items.Add("10.00 to 10.30 AM");
int[] value = myservices.getunbookedslots(dt);
lt.Items.Add(value.ToString()); //i want to know the code to be replaced here//
cont.Controls.Add(lt);
Response.Write(s);
}
Comment