-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Suresh Kumar R
Message 3 in Discussion

Hi ,   Thanks for your reply and time you spent in answering the query.   
Assume that I have a requirment like this, in a datagrid ouput, I have listed 
EmployeeName as the first column and the next column as the TaskToDo. And there 
is a unique constraint that, the TaskToDo has to be unique, that is, Task1 can 
be allocated to only one Employee at a time. Similarly Task2 can be allocated 
to only one employee.    Initially when the grid is displayed, the first column 
is filled with Employee Name as EmployeeA, EmployeeB, EmplyeeC like that (for 
discussion assume only 3 employee are there), and the second column is left 
blank. The second column (TaskToDo) is a drop down column, so the user can 
choose from the drop down list. Assume the drop down has Task1, Task2, Task3. 
For discussion assume the drop down has only these 3 values, no other values 
are there. Assume initially the user has chosen EmployeeA - Task2, EmployeeB - 
Task1, EmployeeC-Task3 and saved the record, so far everything is fine. Now the 
user realised that, the EmployeeB is given the Task1 by mistake instead of 
Task2, so the user has to alter it, the user has to click the row of EmployeeB 
and choose Task2 (old value Task1) and go to the EmployeeA row and choose Task1 
(old value Task2). But as soon as the user moves out from the EmployeeB row 
choosing Task2, before the user could choose Task1 for EmployeeA, the 
uniqueconstraint will be fired (Because internally the EndEdit of the row is 
fired). I am facing this.   Advice me.   Thanks, Suki

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to