Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. richself

    SQL Insert Update

    The problem with using the Wizard is I'm using VB.Net 2003 Standard Edition which does not allow you to use a SQL connection through the wizard. I had to make my connection string manually and am having to everything else manually.
  2. richself

    SQL Insert Update

    I'm looking for good code examples on updating and/or inserting new records into a SQL database. I've written an App for writing to an Acess Database but now am trying the same with SQL and am getting nowhere. I'm working with a Dataset, which I can insert new rows into fine and the changes...
  3. richself

    Call SQL Stored Procedure

    I'm connecting to a SQL Database and would like to know how to call a stored procedure from my program. Or would it be easier to create the procedure in VB? My SP are simply, Update_Report, Insert_Report and where created in SQL's Enterprise Manager. Thanks
  4. richself

    Desktop Engine

    Tried the osql. Works great! Thanks
  5. richself

    Desktop Engine

    I hope I'm in the right place! I have installed SQL Desktop engine to develop with VB.Net. With the engine, there was no Enterprise Manager, so how does one create new databases or tables within exsisting databases? As far as I can tell, the only thing it lets me do is point to whats there...
  6. richself

    Upgrading 2003 Standard

    Can the Standard version of Visual Studio 2003 be upgraded to the professional version? My goal is the ability to work with SQL and the Standard version is limited to connectin to the desktop engine.
  7. richself

    Query

    I have the following code for filling a DataGrid. Dim myString As String = "SELECT * FROM Report WHERE ShiftID = 'Yellow'" Dim myDA As OleDbDataAdapter Dim myDS As New DataSet myDA = New OleDbDataAdapter(myString, OleDbConnection1) myDA.Fill(myDS)...
  8. richself

    Printing through Web Service

    I'm a bit new at all this so please bare with me. I have a webservice and from that have 3 web forms. The webservice holds all the functions for calling and updating my tables. I would like to print one of the filled datagrids. On the .asmx design page is the only place I see to drag a...
  9. richself

    how to move amongst differnet forms..

    Below is how I moved to another form. Spoilage is the name of the other form. I did not have to use the NEW. If excessiveCheckBox.Checked Then reportDialogResult = MessageBox.Show("Would you like to fill out an Excessive DT/MR Report", "DT/MR Request", _...
  10. richself

    Query

    Erics - I build the SQL statement when I configure the DataAdapter. Just by right clicking on it and going through the wizard.
  11. richself

    Query

    The problem seems to be when I don't put in one or the other. Say I just put in Shift, it won't return anything. Is there an inputed wildcard? I understood that the % was it but I'm guessing that doesn't work when it's inputed instead of lets say 'yellow'.
  12. richself

    Query

    I have the following query: Shift consist of Blue, Green, Red and Yellow Equipment consist of 7301, 7302 and 7303 SELECT Downtime, Shift, Equipment FROM Report WHERE (Shift = ?) OR (Equipment = ?) Lets say I ask for Yellow and don't put in anything for...
  13. richself

    Determining the end of a datagrid

    Works great. Thanks!
  14. richself

    Determining the end of a datagrid

    I am displaying the contents of a DataGrid into a label. Below is what I have so far and it works if the number of rows don't go over 4. Do Until count > 4 shiftString = CType(DsReport1.Tables("Report").Rows(count).Item("Shift"), String) equipmentString =...
  15. richself

    Query through VB.Net

    I'm searching a Access DB through a windows form. It's pretty simple but it's not returning anything if I don't fill in both fields. Here's my code. OleDbDataAdapter1.SelectCommand.Parameters("Shift").Value = shiftTextBox.Text...
  16. richself

    Filling DropDownList from Dataset

    That's where I get a bit confused. When to seperate the ASP / VB / SQL questions. I'm doing it all in Studio 2003 so I assumed it would be a VB.Net question. I'm starting to understand where to seperate the questions though. Thanks for the feedback. Richard
  17. richself

    Filling DropDownList from Dataset

    Just for the curious. I have finally figured this one out. When I hit the submit button on my form, the page was reloading, thus the listbox was reloading and sending the default index to my database, which was -1. I added If Not IsPostBack to the dataset load and it took care of the problem.
  18. richself

    Is there a Data Adapter Wizard that works from a Dataset?

    I use the server explorer and what I've found is that if I don't include the primary key as one of the items I drag over, then the Insert, Update and Delete SQL commands are not generated for you, only the Select is.
  19. richself

    Filling DropDownList from Dataset

    I tried using SelectedValue but now what's happening is that the value never changes from 0. During run time the list box populates and I can select an item in the list but adding a watch, the value stays at 0. Not sure what's going on.
  20. richself

    Filling DropDownList from Dataset

    My List box fill find but now I can't get the selected item into the dataset. This is the code I'm using. It works for the listboxes I have a "Collection" filled out for. cRow("Downtime") = downtimeList.items(downtimeList.SelectedIndex).ToString() Ideas?

Part and Inventory Search

Back
Top