Search results for query: *

  1. V

    2 way databinding

    I have a custom class that implements the idataerrorinfo and ieditableobject interface that I am binding to a form. Each Property raises an event to the UI when it changes and I am binding a Dirty property to the OK buttons enabled property. Everything works great, except. The user must...
  2. V

    Collection Class IBindingList Members

    Show in Order would u by chance know how to set the order of the columns that ibinding list displays? This is the 10 pt bonus question
  3. V

    Collection Class IBindingList Members

    Many Thanks and bless u, I would have never guessed that.
  4. V

    Collection Class IBindingList Members

    I have a custom collection class that is implementing IBindingList so that I can bind the collection to a grid. Everything is working fine with this. However my singleton class inherits a state management utility class that maintains whether the object is new, dirty ect. When I bind my...
  5. V

    Cannot initialize SSPI package

    I have built a data access service layer and when I do a connect to the database I get an exception thrown that has the message Cannot initialize SSPI package I went to MSDN and found a knowledge base article that suggest that the usual reason for this is that you have created a Security.dll...
  6. V

    break statement

    use the exit statement for example For x = 0 To 100 If x = 1 Then Exit For Next
  7. V

    DataReader To DataSet

    Replace Dim myTable As System.Data.DataTable 'Object reference not set to an instance of an object. Dim myTable As New System.Data.DataTable 'Object reference not set to an instance of an object.
  8. V

    incorrect date entered from vb.net to sql server 2000

    Dates are weird try this Dim str AsString = "insert demographic(accnum, clinic, qdate) values (" & _ acc & "," & _ preparestr(textclinic.Text) & ",#" & _ textdate.Text & "#)"
  9. V

    regular expression help needed

    try this site http://regxlib.com/
  10. V

    Error - "Object reference not set to an instance of an object"

    If u are getting a dispose error, did u remember to put implements idisposable at the top of your class?
  11. V

    Validate USERID convention

    look at the like function try this Public Function ValidPassword(ByVal Password As String) As Boolean Return Password Like "[A-Z][A-Z][A-Z]######" End Function
Back
Top