A trigger to do what? Its hard to give a code example when its not clear what you want. The basic trigger statement looks like this:
CREATE TRIGGER schema.trigger_name BEFORE or AFTER or INSTEAD OF DELETE OR INSERT OR UPDATE ON schema.table_name ...
if you intend you use asp.Net to create the trigger send it to the database using executeNonQuery
Hope that helps,
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.