protected void Page_Load(object sender, EventArgs e) { SessionUtils defSes = new SessionUtils(); CommandUtils com = new CommandUtils(); string Page = Form.Page.ToString(); defSes.session(Page); defSes.getSessions(); }
public DataSet getSessions() { CommandUtils comUtils = new CommandUtils(); string qry = "SELECT "; qry += "SS_SES_ID, SS_SES_STA, SS_SES_END, SS_CLI_ADD, SS_CLI_NAM, SS_BRW_NAM, SS_BRW_VER, SS_INI_PAG "; qry += "FROM "; qry += "ccentre_Sessions "; SqlCommand command = new SqlCommand(qry); return commands.commandData(command, "ccentre_Sessions"); }