A trigger is simply a stored procedure. VS.NET does not know how to tie
these SPs to a table (yet)--not until Whidbey (2005). You'll have to do this
yourself using TSQL or SQL EM. If you're asking how to write a Trigger using
CLR code, that's not ready yet either. That will appear for the first time
in SQL Server 2005 (Yukon).
hth
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________