Re: Show records in ASP.NET
From: SStory (TheStorys_at_TAKEOUTTHISSPAMBUSTERsofthome.net)
Date: 03/15/04
- Next message: Geoff Murley: "Adding Records to a Record set"
- Previous message: James: "Access/VB.net Cascade update issue"
- In reply to: Pepehammer: "Show records in ASP.NET"
- Next in thread: Cor: "Re: Show records in ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 15 Mar 2004 09:42:29 -0600
Should ask this in aspnet group.
You can show records by creating command objects and using a datareader, and
a aspgrid or other control like datalist.
Check out DataKeyField---whatever field you set that to in the HTML part of
the ASPX page can be used in the appropriate event to find out which one was
clicked--this is usually a primary key of course.
(oh... checkboxes, well that is another issue. Guess you'd use a checkbox
list or use a repeater with a checkbox. I'm not sure. Haven't done that
yet.)
You have better chances asking the aspnet group.
Shane
"Pepehammer" <pepehammer@hotmail.com> wrote in message
news:uS%23SwDqCEHA.3280@TK2MSFTNGP09.phx.gbl...
> Hi there ;
>
> I got the following problem, I hope you can help me out guys!
>
> I need to display some records from a table, and I need to insert in every
> row a checkbox, to select some of those records.
> Once a selected some of those, I need to be able to identify'em and make
> updates in the table based on those records selected.
>
> Thanks !
>
> MP
>
>
- Next message: Geoff Murley: "Adding Records to a Record set"
- Previous message: James: "Access/VB.net Cascade update issue"
- In reply to: Pepehammer: "Show records in ASP.NET"
- Next in thread: Cor: "Re: Show records in ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|