Repeater in ASP.NET/C#

  • Thread starter Thread starter Viktor Popov
  • Start date Start date
V

Viktor Popov

Hi everyone!

I am using a Repeater control in ASP.NET/C# Application to show data from a
DataBase. In the first column I have a CheckBox, In the second column I have
names.
I would like to ask you if someone knows how could be checked if anu
CheckBox is ched and if Yes, how could bedeleted the name?
Please, help me!

Viktor
 
Hi,

Make the checkbox a client checkbox, this will give all the checkboxes the
same name and you can access them in the postback as Page.Request , if you
put in the checkbox value one unique value you then can know which were
selected.

then you can perform the required Db commands.

cheers,
 
Thank s for the reply!
In one of my columns from the repeater I have CHAR(1) value. Could you tell
me how could I check when the Repeater loads in the Page_Load method if in
this column 'Y' is and if it is 'Y' I would change the backgroung of this
row in different color. Do you know how to do that?

Thanks!

Viktor
 
Back
Top