hi,
  if u want tht first timeur's checkbok will be chaecked thn simply set
default value of checkbox checked.


On 2/26/09, Jeena Ajiesh <[email protected]> wrote:
>
>  Ya,Once i clicked the buton,all the student details along with their
> class should be diplayed in datagrid.Atthe same time the check box should be
> checked at the first time.Then i an make changes to the check box, based
> upon the students present in the class. If he is present, then the check box
> should be checked else unchecked.
> Hope u got my point..
>
>
>  On Wed, Feb 25, 2009 at 6:51 PM, The_Fruitman <[email protected]
> > wrote:
>
>>
>> What would happen if in your initial retrieval of the data you set all
>> the attendance values to true in your dataset, just before you
>> databind it to the grid?  Would that accomplish what you need to do?
>>
>> On Feb 25, 6:06 am, Jeena Ajiesh <[email protected]> wrote:
>> > Hi all,
>> > I have a grid that displays the student name, class and a checkbox for
>> the
>> > attendance.
>> > Wen i click add new button, it should retrieve all student name and
>> class
>> > and all the check box in the grid should be checked.
>> > This checkbox should be uncheck if needed. and based on the checkbox
>> value
>> > the attendance is marked.
>> >
>> > Can anyone give some idea for this problem.
>> > I'm doing my project in asp.net, vs 2005.
>> >
>> > Eg: Studentname     Class      Attendance
>> >         aaaa                I A              * (checkbox)
>> >          bbb                 IA               * (checkbox)
>> >
>> > At button click it all details should be bind in grid and along with
>> > attendance should be " * "
>> > Later as my need i can uncheck too..
>> >
>> > Any Idea???
>> >
>> > --
>> > ****************
>> > Regards,
>> > ♪♥♫♥Ĵєєήǎ ♫♥♪♥
>>
>> > Email: [email protected]
>> >          [email protected]
>> >          [email protected]
>
>
>
>
> --
> ****************
> Regards,
> ♪♥♫♥Ĵєєήǎ ♫♥♪♥
> Email: [email protected]
>          [email protected]
>          [email protected]
>
>

Reply via email to