I'm a newb in Asp .net and using visual web developer for making web application.. i have a question.

i've a datagrid at default.aspx and while clicking "ITEM" link from the grid..i would get the details of the corresponding field at default2.aspx....okay; so in this case we would get only one item detail at a single click.. if i need item details of two, what should i do? i know we can use checkbox..But how? please help me, or redirect me to another site, tht provide better help inthis case.

Hi,

Add a Public Shared ClassModule in the ASP Project. Save the ID's in a DataTable, And in Second WebPage instead of giving = query use "IN"
Build a String with all the Selected ID's, or use "OR" in query

"Select * From MyTab Where ID IN ('A','B')'

oR USE THIS QUERY:
"Select * From MyTab Where ID ='A' OR ID='B'"

The condition of Where in query, u have to build From the Shared DataTable.

Regards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.