PDA

View Full Version : Hi all, I need help............



kenneth.robert
05-30-2008, 11:52 PM
I am making a project in ASP.NET. In this, I have to show all product and description in the data grid. Client wants, when customer clicks on product it can get all information about the product. I have done it by coding but still some facing some problem. Anybody has written code for this. If yes, then provide it.

webburu
08-11-2008, 08:26 PM
are you using asp.net version 1.1 because you use datagrid? there are several ways to do so. you can create a link in a column of the datagrid, say product.aspx?id=<%#DataBinder.Eval("productId")%> and when customer click this link, it reloads the page and you capture the id in the code behind in page_load, check it if it greater than zero, you can show it under the datagrid. Hope it helps.