コード例 #1
0
 protected void btnByDate_Click(object sender, EventArgs e)
 {
     if ((Page.IsValid) && (txtStartDate.Text + txtStartDate.Text != ""))
     {
         string stDate  = txtStartDate.Text;
         string endDate = txtEndDate.Text;
         grid.DataSource = OrderAccess.GetOrdersByDate(stDate, endDate);
     }
     else
     {
         lblStatus.Text = "Lütfen İşleminizi Kontrol Ediniz!";
     } grid.DataBind();
 }