Automatically Insert Code into each New Webform

G

Guest

I don't think this is possible, but wanted to check anyways. I have the
following line of code in the Page_Load() event of every webform within as
asp.net project...

Dim GiftPurchase As AccountingLogic.Detroit.GiftPurchase

Is there anyway I can have this automatically appear for each new webform I
create, so I don't have to keep typing it? Thanks.
 
M

Mr Newbie

Only be creating a template for the form you are creating, but if this is
the only change you have to repeadedly make then its probably not worth the
effort. Most people just copy and paste a page then rename the classes and
the inherits statement in the HTML page directive and thats it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top