protected void RadGrid_Operators_SelectedIndexChanged(object sender, EventArgs e) { GridDataItem selectedvalue = (GridDataItem)RadGrid1.SelectedItems[0]; DateTime value = DateTime.Parse(Selectedvalue["date"].Text.ToString().Trim()); RadDatePicker_Date.SelectedDate = value; }
DateTime.TryParse
CultureInfo culture = new CultureInfo("en-US"); DateTime myDate = Convert.ToDateTime(Selectedvalue["date"].Text.ToString(),culture ); RadDatePicker_Date.SelectedDate = myDate;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)