Search results for query: *

  • Users: subaru_sti
  • Content: Threads
  • Order by date
  1. S

    Calendar Control and Text Clipping

    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...
  2. S

    OnClick or IsPostBack

    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...
  3. S

    Question Add Variable/Value to Bound DataGrid

    Hi, I am using the following c
  4. S

    Naming for Namespace, Class, and Variables

    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...
  5. S

    Enum or Array or something else

    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...
  6. S

    New to OOP - Need Validation

    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...
Back
Top