Forum: VB.NET Oct 4th, 2005 |
| Replies: 0 Views: 3,095 The following code is me loading a listbox with a table. I have no problem with the retrieving data if data has information, but if the field is empty I get a error. how can I check the field in a... |
Forum: VB.NET Sep 22nd, 2005 |
| Replies: 1 Views: 2,287 I did get it to work with
For x = 0 To Me.tabPAGE1.Controls.Count - 1
sStmt = " document = '" + Me.tabPAGE1.Controls(x).Text + "'"
Next
but I'm looking for a way to identify a textbox... |
Forum: VB.NET Sep 20th, 2005 |
| Replies: 1 Views: 2,287 I have a list of 20 textboxes on a form. each textbox is a record in a table. I want to loop through the textboxes if posible:
for x = 1 to 20
sStmt = "update list_table set"
sStmt += "... |
Forum: VB.NET Jun 29th, 2005 |
| Replies: 1 Views: 22,622 Dim OraStr As String = "Data Source=Oracle8i;Integrated Security=yes"
OR
dim OraStr As String = "Provider=""MSDAORA.1"";User ID=dev;Data Source=testdb;Password=dev"
I am using oracle8i but... |
Forum: VB.NET Jun 9th, 2005 |
| Replies: 0 Views: 4,532 when running program I can see all 9 items of data are loaded into myComboBox, but when it displays on the screen all I get is 9 instances of "Test1.Global+ListCodes". What do I need to use in the... |
Forum: VB.NET May 19th, 2005 |
| Replies: 1 Views: 4,271 Found it, just made form2 a dialogbox |
Forum: VB.NET May 19th, 2005 |
| Replies: 1 Views: 4,271 I have set up a form that I can load a Datatable in, but how do I return the index number so I know what the user selected. If possible I would rather not use a global variable. |
Forum: VB.NET May 18th, 2005 |
| Replies: 8 Views: 22,268 Dim myConnStr As String = "Provider=Microsoft.jet.OLEDB.4.0;Data Source=" + myPath
Dim myConn As New OleDb.OleDbConnection(myConnStr)
Dim myAdapt As New OleDb.OleDbDataAdapter(myQuery, myConn)
... |
Forum: VB.NET May 17th, 2005 |
| Replies: 8 Views: 22,268 I can loop while the datatable is full, but get an error when it is empty. How do I know it's empty. |
Forum: VB.NET May 17th, 2005 |
| Replies: 6 Views: 29,042 Here's what I did
myPath = "c:\Table.mdb"
myQuery = "select * from table"
Public Function Return_Access(ByVal myQuery As String, ByVal myPath As String) As DataSet
Dim myConnStr As String... |
Forum: VB.NET May 13th, 2005 |
| Replies: 2 Views: 4,682 I answered myself, if anyone needs
Dim myReader As New DataSet
myAdapt.Fill(myReader)
Return myReader |
Forum: VB.NET May 12th, 2005 |
| Replies: 2 Views: 4,682 I am trying to pass the OleDbDataReader to table that I can pass out of a function. |