Re: Show records in ASP.NET

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: SStory (TheStorys_at_TAKEOUTTHISSPAMBUSTERsofthome.net)
Date: 03/15/04


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
>
>



Relevant Pages

  • Re: Show records in ASP.NET
    ... a aspgrid or other control like datalist. ... list or use a repeater with a checkbox. ... You have better chances asking the aspnet group. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Show records in ASP.NET
    ... a aspgrid or other control like datalist. ... list or use a repeater with a checkbox. ... You have better chances asking the aspnet group. ...
    (microsoft.public.dotnet.general)
  • Re: Show records in ASP.NET
    ... a aspgrid or other control like datalist. ... list or use a repeater with a checkbox. ... You have better chances asking the aspnet group. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Row Selector Column
    ... create clientside code on one of my custom columns. ... jumps into this function each time the control is rendered. ... I am trying to do the same thing for the CheckBox column using the following ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: Row Selector Column
    ... I've just modified my former CheckBox Column example and added a Header ... CheckBox in it which will control All Check and All UnCheck through ... | create clientside code on one of my custom columns. ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)