我有带有连接DetailsView的SqlDataSource,我想取消更新行,当我的条件在OnRowUpdating事件中为真时,我执行了这一步骤,但是当条件为true时,DetailsView仍然处于编辑模式,如果条件为true,则需要返回到正常视图。DetailsViewRow row in DetailsView1.Rows) // Selects the text from the TextBox
查询需要计算每天的方向,所以在过去的几个月里,每天都有很多人在里面/外面,我需要知道每天有多少人在哪里。 目前,我有一个可以工作的查询。select detection_time::date, from detections anddirection='inside'
GROUP BY detection_ti