asp.net and sql question

Discussion in 'C#' started by progfrog, Sep 19, 2008.

  1. #1
    Hi !
    i've noticed that events from ASP.NET ususall contains this: (sender, e)
    what is e?
    one of my friend wrote me a code that i do not understand:

    e.command.parameters[0].value="%"

    The code made it possible to pull out a whole column from an sql table by changing the formel value from which he suposed to pull the info from "110" (id of a category) to '% "by using the code above.

    what is e ?
    what command stand for?
    "paramaters" is obviously used as an array but what does it holds usualy?

    thanx a lot for answering
    progfrog
     
    progfrog, Sep 19, 2008 IP