Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About kirk

  • Rank
  1. kirk

    Button Response

    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
  2. kirk

    Add Value To Query

    Bingo. Thanks man!
  3. kirk

    Add Value To Query

    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.
  4. kirk

    Add Value To Query

    How do I just add a value to a query result. Say my query goes to the table and returns 1,2,3,4 and I want to manually add 5.
  • Create New...