Search results for query: *

  • Users: macca
  • Content: Threads
  • Order by date
  1. M

    Error Message Being Thrown

    I keep getting the following error message in my vb.net code: "Format of the initialization string does not conform to specification starting at index 0." I get the message when I refer to a class from a web form, when this code runs: oPolicy = New Policy oDR = oPolicy.GetPolicy() I am...
  2. M

    Arrays?

    I have a variable "nextnum", nextnum could have a value of 1,2,3,4,5,6, or 7 all the way to 50. Depending on the value of nextnum I want to give a certain outout, i have it partially done using IF..Else If NextNum =1 Then DeptName = "Bloggs" ElseIF NextNum = 2 Then DeptName = "joe" Else...
  3. M

    DropDownList/ Button Problem

    I have a Drop down List and button on an asp page as such: asp:DropDownList id="DropAuthors" runat="server" asp:Button id="Button1" runat="server" Text="Pick Author" The dropdown list is populated from a Database Table using the following code: Dim myConnection As SqlConnection Dim...
  4. M

    Databinding

    I have a sqlserver table with values stored in it. I am trying to write the values to a dropdownlist. Someone told me that to do this properly in VB.net that I should consider using complex Databinding. Has anyone any useful resources on databinding or any code snippets demonstrating code...
Back
Top