Use Datasource from DataGrid

Results 1 to 2 of 2

Thread: Use Datasource from DataGrid

  1. #1
    Join Date
    Dec 1969

    Default Use Datasource from DataGrid

    Hi,<BR>I need to use the datasource assigned to a datagrid before the databind is fired.<BR>THe steps i do are<BR>1. Assign a Datasource, Datamember to a Datagrid<BR>2. Fill the dataset.<BR>3. Need to access the datasource of the datagrid( Should return me the dataset)<BR>4. call Databind()<BR>Now in the step 3 i dont get the datasource, i get a null object, i get the datamember string though..<BR>any idea how can i get the datasource object before firing the Databind()<BR>TIA

  2. #2
    Join Date
    Dec 1969

    Default RE: Use Datasource from DataGrid

    In step 2 you filled the dataset. Don&#039;t you have it right there? I do not understand.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts