Hi
I get the id of a page in the query string, like page.aspx?porID=3, I have a webdatagrid on this page. I am using Object datasource to define select,update,delete,insert methods.
I need the porID inside the Data Access Layer insert,update,delete,select functions
Can you please suggest me how to get the porID inside these functions.
Thanks,
Hi kalyanigoli,
Thank you for posting in the community.
A query string parameter may be passed and used by the ObjectDataSource methods. I suggest that you take a look at the following articles for more information on achieving that:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.querystringparameter.aspx
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.objectdatasource.selectparameters.aspx
Please feel free to contact me if you need more information.