Search results for query: *

  1. F

    Alter connection

    Hi, My question is, in the connection string I created in crystal (database expert), there is both a place for the server name,userID, password, and database. This is fine for in house development, but this will not fly when deployment comes. Each sub report has an ADO connection string that I...
  2. F

    Stretched background image

    hello. Does anybody know how to set an stretched background image in MDI parent form?
  3. F

    loading picture from database to a pictureBox

    Error: loading picture from database to a pictureBox Hi, I have a problem when load a picture from database to a pictureBox, it gives the following error: "Invalide parameter used" Code: Dim arrayImage() As Byte= _ CType(Me.DataSet11.Tables(0).Rows(Me.ListBox1.SelectedIndex) _...
  4. F

    loading picture from database to a pictureBox

    Database images Hi. I've a problem. I need to convert images, from the databases (oledb objects) to disk. I need code will load images from database, save them in hard disk (.jpg or other format) If Anybody can help me I very gratefull
  5. F

    Transactions

    TechGnome, also already I tried to use updatecommand but it gives the following error : "Object reference not set to an instance of an object". Still I am new in this therefore I still have some difficulties :o :o :o
  6. F

    Transactions

    Hi I want to update two datasets with in the same transaction. conn.Open() Dim cbcomando As New SqlCommandBuilder(adDoc) Dim cbLinhas As New SqlCommandBuilder(adLinhasDoc2) myTrans = conn.BeginTransaction() adDoc.SelectCommand.Transaction = myTrans adLinhasDoc2.SelectCommand.Transaction =...
  7. F

    Please help me ...

    nakracreative, thanks for the suggestion but the error give me at line: " ad1.UpdateCommand.Transaction = myTrans " :(
  8. F

    Please help me ...

    jmcilhinney, Very Grateful for the post! Thanks
  9. F

    Please help me ...

    Update two datasets in same transaction Hi I want to update two datasets within the same transaction. That is rollback both if either fails. I have an example. It uses ExecuteNonQuery. I attempted to do similar code but instead of calls to ExecuteNonQuery I called sqlDataAdapter.Update...
  10. F

    Transaction with DataAdapter Update Method

    Sorry Nakracreative I deceived myself already I rectified post at line wrong
  11. F

    Transaction with DataAdapter Update Method

    Hi I want to update two datasets within the same transaction. That is rollback both if either fails. I have an example. It uses ExecuteNonQuery. I attempted to do similar code but instead of calls to ExecuteNonQuery I called sqlDataAdapter.Update: conn.Open() Dim cbcommand1 As New...
  12. F

    Problems whith decimal values in a datagrid and database

    Problems with decimal values in a datagrid and database Hi! I'm showing decimal values in a datagrid, but the decimal point shown is the "," and the correct is the ".". The datagrid is filled with a dataset, the dataset is filled with a SQL Server 2000 table. Datagrid does not allow to insert...
  13. F

    how to calculate subtotals per line, in a datagrid?

    Ok, let's explain better what i really want. I'm pulling the data from a database. And i really need to have a column to display the total of each column. The problem is a invoice lines tipically problem.
  14. F

    how to calculate subtotals per line, in a datagrid?

    Schenz, thank´s for the links that you advised but unfortunately i'm working with windows data grids not with asp grids i forgotten to mention in the post. if you have any suggestion to windows forms i'd be very thankful.
  15. F

    how to calculate subtotals per line, in a datagrid?

    Hi everybody, i'm new in VB.net. I'm working on a project with datagrids. I've 4 columns into the datagrid, they are product name, price, quantity and totalcost. My problem is how can i update automatically for example column totalcost after inserting values in price and quantity text boxes...
Back
Top