ASP.NET 1.0 and 1.1 BasicsASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
I have some trouble with accessing the properties of the items places in the template column of a DataGrid. The DataGrid is Databound. I want to reach the database key of the displayed data.
If I Databind the CommandArgument of a LinkButton property with the desired ID from the database, how can I get and use it after that?
Any idea?
10x to those who are going to help me!
Best Regards
Or you can set the datagrid's DataKeyField property to the primary key column in the database table. Then in the grid's event handler, you can access it thru the event's item: