datagridview - vb.net The method or operation is not implemented -


i have data grid view when click on viewdtails button in grid, populates exception details grid right below it. works fine, have second query populating history grid user see when uncomment out , run error "the method or operation not implemented." , first query doesnt return results @ all. how can rewrite run both queries , populate both grids?

   protected sub countalerts_rowcommand(byval sender object, byval e system.web.ui.webcontrols.gridviewcommandeventargs) handles countalerts.rowcommand     if (e.commandname = "viewdtails")         dim index integer = convert.toint32(e.commandargument)          dim abc, unit, cell, dttm, prod, query string         'dim qry2 string         dim ds dataset         'dim ds2 dataset          abc = countalerts.datakeys(index).values("abc")         cell = countalerts.datakeys(index).values("cell")         unit = countalerts.datakeys(index).values("unit")         dttm = countalerts.datakeys(index).values("cyctimedate")         prod = countalerts.datakeys(index).values("productdesc")          each irow gridviewrow in countalerts.rows             if irow.attributes("class") = "highlight"                 irow.attributes.remove("class")             end if         next          countalerts.rows(index).attributes("class") = "highlight"         query = "exec [audits].[dbo].[detailscombined] '" & abc & "', '" & cell & "', '" & unit & "', '" & dttm & "', '" & user.viewing & "' "         ds = selectquery(query)         exceptiondetails.datasource = ds         exceptiondetails.databind()          'qry2 = "exec [audits].[dbo].[trackercombined] '" & abc & "', '" & cell & "', '" & unit & "', '" & startdate.text & "', '" & enddate.text & "', '" & user.viewing & "' "         'ds2 = selectquery(qry2)         'exceptionhist.datasource = ds2         'exceptionhist.databind()      end if end sub 


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -