Question
Datagrid OnSelectedIndexChanged Event
This is dead easy to do in Visual Studio but in Dreamweaver I
haven't yet discovered how to do it...
I have a page that contains a datagrid. I can populate it easily enough but I want to be able to click on a line and use the values in that line to perform an SQL select statement (probably via a datareader) that will then populate text fields on the page with the values returned.
My problem is that I can't find out what sort of column type in the datagrid that will generate the OnSelectedIndexChanged event. I've used the Events section of the Tag Editor to enter a command name and then I have tried using buttons and hyperlinks in the Column properties but haven't been able to generate the event. I've also tried using Free Form columns but with no luck!
Could someone please point me in the right direction? Am I using the wrong approach?
Thanks in advance for your help.
I have a page that contains a datagrid. I can populate it easily enough but I want to be able to click on a line and use the values in that line to perform an SQL select statement (probably via a datareader) that will then populate text fields on the page with the values returned.
My problem is that I can't find out what sort of column type in the datagrid that will generate the OnSelectedIndexChanged event. I've used the Events section of the Tag Editor to enter a command name and then I have tried using buttons and hyperlinks in the Column properties but haven't been able to generate the event. I've also tried using Free Form columns but with no luck!
Could someone please point me in the right direction? Am I using the wrong approach?
Thanks in advance for your help.
