Feb 24, 2013, 2:50 PM
[CLOSED] SelectCommand from code behind
Hi,
I am using a sqldatasource and I use the sqldatasource.updatecommand="...." and sqldatasource.update() commands from the code behind to update the records in the table in MS SQLServer. It is working perfectly well. But when I want to use the same approach for selectcommand, the sqldatasource.select(), the select() command expects some parameters. Can you guide me how to provide that?
Thanks
I am using a sqldatasource and I use the sqldatasource.updatecommand="...." and sqldatasource.update() commands from the code behind to update the records in the table in MS SQLServer. It is working perfectly well. But when I want to use the same approach for selectcommand, the sqldatasource.select(), the select() command expects some parameters. Can you guide me how to provide that?
Thanks