Hi,
I hopw you are using datalist for displaying items
that means linkbutton must in datalist control so just like below
<asp:linkbutton id="fgdfg" runat="server" commandname="viewdet" commandargument="<%#Eval("itemid")" xmlns:asp="#unknown">View Details</asp:linkbutton>
After that you've to handle that linkbutton event by using itemcommand of datalist
if(e.commandname=="viewdet")
{
response.redirect("viewdetails.aspx?itemid="+e.commandargument.tostring());
}
By using above code you can send that item id to viewdetails aspx page
in that page you can retrieve data regarding that querystring in pageload
and display it in detailed view
I hopw you understood What I said
All the Best