I got a DataGrid on my webpage and I populate it by a query on the database
and after I make a DataBind method.
The Porblem is that I want some field to be clickable and of course I would
like it to send me an ID that I take from the Database.
That's my code:
-In .aspx page:
<asp:DataGrid id="dglista" runat="server"></asp:DataGrid>
-in .aspx.cs page (the codebehind page):
DataGrid dglista;
// after the query...
dglista.DatSource = ..dataset.Tables["tblista"];
dglista.DataBind();
How can I have a field where I can Click?
The page is a list where I should be able to select an item(row).
Thanks