Reputation: 33
I've seen the other posts referencing C# syntax do do this, but I can't find how to do it using VB.NET. I swear I'm daft. I keep trying different variations that I think would work but I'm missing it.
C# Syntax is:
Html.TextBox("title", Model.Title, new { @class = "txt" })
How do I do that in VB?
Thanks!
Upvotes: 3
Views: 7022