I have a calendar control on my page and inside one of the day squares, I have some text. I want to be able to keep the text on one line and clip it by adding an ellipsis (...) if the text is too long for the calendar square. Because the columns in the calendar change based on how big the...
Hello,
I'm building a web form and need some guidance - I haven't done this since VBscript. I'm not sure if I should be using OnClick or checking in IsPostBack. Here is my code:
default.aspx:
<asp:Button ID="btnYes" runat="server" Text="Yes" onclick="btnYes_Click" />
Code Behind...
Hello.
I'm new to OOP and am racking my brain over what to name stuff... I have read a lot of different articles on standards and when to use nouns and different case, etc... I'm stumped when it comes to a real world example. In the code below, the namespace is called "Navigation" which I...
Hello.
I have the following code which obtains the compass direction from a degree value. I'm new to VB.Net and was wondering what is the best way to store the values, in an Enum or an Array?
Public Enum CardinalPoints
N = 1 Or 9
NE = 2
E = 3
SE = 4...
Hello.
I'm new to OOP and .Net and just need to make sure I am doing things correctly. Am I missing anything or are there better ways of doing this? Here is the first class I have written, for GSP coordinates.
Namespace GPS
Public Class Coordinate
Private _latitude As String...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.