1
vote
2answers
78 views
ASP.NET Conditional Statements
What kind of conditional statements does asp.net have, and how are they coded?
I'd like to see both VB and C#.
Here's a VB one I use:
If condition Then
<statements>
Else I …
0
votes
2answers
64 views
Current Year Copyright Line ASP.Net
I was wondering what ways there are to have the current year in a copyright line. I don't like having to change it manually every year.
3
votes
2answers
197 views
Code to convert from 8-bit integers to 16 bit integers and vice versa?
I'm looking for a simple pair of functions that will convert a pair of 8-bit integers into a single 16-bit integer type and vice versa. Does anyone know of one for .NET?
[someone …
1
vote
3answers
55 views
How do I redirect from one page to another?
What's the best way to redirect a webpage? I'm using asp.net
1
vote
3answers
55 views
Can I use .NET to return an IP?
I'm just curious if there's a snippet for returning your IP address, for the classic "Your IP address is ___" gimmick.
Is there something out there?
Thanks.
1
vote
1answer
41 views
How do I do URL rewriting with MVC?
How do I do URL rewriting with MVC? Where do I put the code? Is it in Global.asax?
Updated question: Can someone give me a snippet for defining routes in MVC?
0
votes
0answers
8 views
A calendar for your website?
I've got some events I woud like to organize in a calendar, and I don't want to spend a lot of time with complicated systems. I found an calendar made in tables.
<TABLE BORDER …

