i want to ask, how do i set condition or expression where the column table is type of timespan
.
when i use this code
private void button1_Click(object sender, EventArgs e)
{
string expression2;
expression2 = "timeOnlyStart < '" + TimeSpan.Parse("10:00:00") + "'";
DataTable yyy = dt_Main.Select(expression2).CopyToDataTable();
gridControl3.DataSource = yyy;
}
EDITED : timeOnlyStart is a column start
timeOnlyStart
?time span
. i dont have any access of the sql server. the thing is the person in charge take a break for 1 day.