0 Replies - 468 Views - Last Post: 30 July 2012 - 04:20 PM Rate Topic: -----

#1 rbflowers  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 48
  • Joined: 10-February 12

Globalized Variables

Posted 30 July 2012 - 04:20 PM

I'm very new to asp.net and know there's a way I can have a "database" of variables and then call them in my .cshtml, but don't know how to set that up or implement.

For example, on multiple pages I'll have this text:


<h5>Click individual programs to see their breakdowns:</h5>

And if I ever wanted to make changes, I wouldn't want to have to go through the different pages and change them individually. I'd rather just have something like:


<h5>@stringAbove </h5>

Again, I've seen this done before, but have no idea how to implement.

Thanks

Is This A Good Question/Topic? 0
  • +

Page 1 of 1