(1) I need explanation for this SP.
create proc ChkDuplicateMap2
@defualtid varchar(5) output
as
begin
Select PhyName, UserName from Mapping
select @defualtid = PhyUserID from Mapping
end
(2) Actually My task is regarding VALIDATION.
I have two Drop Down lists (COMBO BOXes) - after selecting some values at those , if i clikc at ADD button - the values will be binding to GRID . I have written
code and it works fine but there is problem with validation i.e if i select one value (xyz) from Combo box 1 and another value at Box 2 (MMM) then add- values will be
binded.
Afterwards
i i select same values also the same records are binding.
the values should not be duplicated..i must write sp for that ..plz help
...
Go to the complete details ...