Search results for query: *

  1. W

    Connectionstring question - exlusive check

    True. And I believe (I haven't checked) you can modify that within the existing datatable or data adapter either after creation or during creation, or both, to your preference. Also on a windows forms apps they use the app config file for the conn string properties (exclusive or non-exclusive...
  2. W

    Connectionstring question - exlusive check

    To all other readers... when someone states a similar statement like I have; It usually means a database that is controlled by the windows file system (something like SQLCE or equivalent) and not a local server (like SQL Server Express). I in no way intentionally implied that a desktop...
  3. W

    Connectionstring question - exlusive check

    No... I think I am totally wrong in my original quest here and my goal is skewed too. I learned I should install a server and service on a laptop or individuals desktop computer to run a local application. Sigh...
  4. W

    Connectionstring question - exlusive check

    Who said this was on a server? Read the above posts. How can a local desktop (file based) database (using windows file systems for locks etc.) handle 500 concurrent users? Are you suggesting that everyone should use a desktop database and use it to handle 500 concurrent users? Come on now...
  5. W

    Connectionstring question - exlusive check

    When using exclusive mode the database doesn’t have to be so paranoid about other connections; other people updating some of the data that you are updating at the same time. This speeds up the processes considerably.
  6. W

    Connectionstring question - exlusive check

    That depends. There are reasons when you need to use the exclusive read/write mode; and there are times when you want to use a single connection when in shared mode too. This happens to apply to a file based local database and not a server. Currently I have my connection as exclusive...
  7. W

    Connectionstring question - exlusive check

    How do I create a DAL layer connection string that coincides with the default dataset/adapter connection object so that I can check to see if a connection is open by other private sub calls? I have parameter based inserts etc. on a few forms that create a new connection; but I would like to see...
  8. W

    Retrieve COUNT through a command struc

    All very good points. That was in a sense why I wanted to try and eliminate using datasets whenever possible. Querying data wasn't too expensive, but clearing and re-filling datasets got real expensive. Hope you guys are up on the Entity Framework... that's next :D And of course learning...
  9. W

    Retrieve COUNT through a command struc

    The silly thing that I am having a problem with when using the command syntax is assigning that value to a variable for running conditional checks etc. This is where things ground to a halt.
  10. W

    Retrieve COUNT through a command struc

    That was a new one... I didn't know about that one. Hmmm... that just simplified any SQL statement a whole bunch... I wonder which one is faster? I currently have a working SQL COUNT statement for the dataset for what I want to do; so that part works just fine with the previous code. I should...
  11. W

    Retrieve COUNT through a command struc

    I can retrieve a COUNT through a dataset and test it like this: Dim myvalue As Integer myvalue = Me.Dataset1.Tables("MyTableName").Rows(0)("MyColumnName") If myvalue = 0 Then Exit Sub Else DoSomethingElse End If How do I do this using the command structured syntax? Dim command As...
  12. W

    List the nearest items to the record pulled

    Hello, I would like to list items (both above and below) in *sequence* from the original item returned. Lets say I returned a document with the number of 8100; I want to be able to pull / get the nearest items to this document and list them in order... for instance: Item displayed: 8100...
  13. W

    Retrieve data off of websites

    I would like to retrieve data off of websites and do this programmatically using vb.net; how would I go about this? This is for a desktop app.
  14. W

    OpenFileDialog and SaveFileDialog question

    Hello, What I am thinking about doing is to copy the file selected in the OpenFileDialog form and then use that object to save when I open the SaveFileDialog form and rename it (the same file is saved under a different name and directory). In the past I have used the...
  15. W

    Creating a datasource from a query

    Hello cjard... Originally I was 'learning' how to work with or create subqueries in a SQL statement and I really got locked in on the 'visual' part of it and totally forgot about the manual side of it.:o The other thing I realized is that I can assign a dataset (originally just basically...
  16. W

    Creating a datasource from a query

    Oh yes... That was too good... Do you know how long I have been going through that darn designer and trying to get everything to fly... with custom (sub query) statements? Oh my...
  17. W

    Creating a datasource from a query

    ???? this may get moved again, but here we go.........sigh.... I have a custom sql query that I would like to bind my datagrid too. In the past I have just used basically simple table objects (joins etc.) to create datasets to bind to my datagrids etc (going through the dataset designer). Now...
  18. W

    Datagrid databinding with a SQL statement

    I think I made a mistake binding to an object or table when all I wanted was to process the query and return the results. Maybe the question should have been how do I bind a datagrid to a custom query? ---- ***Just a note*** It took me awhile to find this post and *where* someone put this. I...
  19. W

    Datagrid databinding with a SQL statement

    To set the stage, Tables are set up as such for this question: ----------- Table: Answers ID - Integer - Auto Answer - Integer QuestionID - Integer - FK from the QuizMaster table StudentID - Integer - FK from the Students table Table: QuizMaster ID - Integer - Auto Answer - Integer...
  20. W

    Need help with a UNION statement -SUM

    Many thanks cjard... Glad your still hanging around here... Sorry... didn't see a SQL forum here... or a LINQ either... that one will be needed shortly.
Back
Top