ISPrincess
Programmer
I had a grid control that was assigned it's data source and bound in the Page_load event: this worked fine.
ie:
grdVehicle.DataSource = objcmd.ExecuteReader(CommandBehavior.CloseConnection)
grdVehicle.Databind()
Now i need to use Multipage w/ tab strip. The grid will be on the first page (selectedindex = 0) of 2 pages.
The above formload event no longer recognizes the control named grdVehicle in order to load the data into the grid.
Can anyone tell me where I should put the code? What is the difference between the fact that it is now on a multipage?
PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
ie:
grdVehicle.DataSource = objcmd.ExecuteReader(CommandBehavior.CloseConnection)
grdVehicle.Databind()
Now i need to use Multipage w/ tab strip. The grid will be on the first page (selectedindex = 0) of 2 pages.
The above formload event no longer recognizes the control named grdVehicle in order to load the data into the grid.
Can anyone tell me where I should put the code? What is the difference between the fact that it is now on a multipage?
PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips