grideview-session RRS feed

  • Question

  • User-7838209 posted


    i have more hasmore than 1 problem,

    1) i have a grideview in page 1 . i can not bind a dropdownlist in it with database value, i have data retrieved in datareader but could not insert the reader in dataset

    2) i have column added dynamically to datatable, but on sending the datatable in session to page 2 the dynamically added rows is displayed and i need to hide them

    3) i need to add an edite to datatable displayed in page 2 through session , so ass to apply some editing in page 2 before submite to database

    4) after insert a datatable to database sucessufuly (that is accomplished) i need to print the output with special format like adding image and header, (i was sble to print the page but it only prints the grideview )

    thanks for your help in advance

    Tuesday, May 7, 2013 9:17 PM

All replies

  • User-7838209 posted

    i can do the print but with no header or images added

    Wednesday, May 8, 2013 2:26 AM
  • User1182241144 posted

    We go for 1 by One

    1.) Keep your data in DataSet rather than in DataReader. and in RowDataBound of gridview bind your drop doun list.

    Wednesday, May 8, 2013 3:05 AM
  • User-7838209 posted

    for the data adapter::

    public OracleDataAdapter MyDataAdapterclnc(String q)

    OracleDataAdapter da = new OracleDataAdapter(q, GetConnectionclnc());
    return da;

    it always return null

    so i could not fill the dataset

    please help

    Wednesday, May 8, 2013 7:36 AM