Hi. I have two buttons that will run the update command on a datalist. I'm looking to find out which button was pushed to activate an Update command on a datalist.The code as I would do it would look something like this (probably not the best coding): protected void DataList1_UpdateCommand(object source, DataListCommandEventArgs e) { if (ButtonA Was Clicked) { string CommentsID = DataList1.DataKeys[e.Item.ItemIndex].ToString(); string Author = ((TextBox)e.Item.FindControl("TextBox3")).Text; CommentsDataSource.Upda
Lemme reask that. Here is my current query:SELECT MachineFROM ParsedDataWHERE (Date >= @Date1) OR (Date <= @Date2)GROUP BY MachineI want to add "All" to the top of the returned list.