Groups | Blog | Home


Archived Months
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > vb.net data > june 2006

Can't load dataset from Excel
Posted by Phil Lamey at 6/28/2006 9:06:01 AM
Hi All, I am having trouble trying to import an Excel spreadsheet into a dataset. Code is below: Dim strConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dataPath & "\" & LoadFile & ";Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1""" Dim...more >>


VB.NET Database Class
Posted by Kirk at 6/22/2006 12:53:02 PM
I am new to VB.NET and I need some direction. I am creating classes based upon SQL tables (1 class per table). I know that there are alot of new features in VB.NET (2005) but what is the best way to go about this? In VB6 I would create the properties based upon the table structure, create a ...more >>

DataSet Refresh
Posted by Jim at 6/21/2006 4:20:08 PM
Definetly a newbie: I created a dataset with the wizard (based on SQL Server tables) and have dragged some fields onto a form to bind them, but now I have changed some fields on the SQL Server side. How do I get the dataset to recognize the new fields??? Thanks a bunch...more >>

Newgroup
Posted by Miro at 6/21/2006 12:19:07 AM
Sorry for this post here, But did anyone else have the newsgroup microsoft.public.dotnet.languages.vb suddenly disappear ? Miro ...more >>

Concurrency violation and DateTime
Posted by Jim Brown at 6/20/2006 12:02:02 PM
I’m trying to design a front end program in VB.NET for a MS Access database. I’m getting Concurrency Violation errors when updating if there is a DateTime field in my table that has been edited in Access. Seems to be when there is a Time value in the column. This is even happening from ...more >>

Passing a Collection of Parameters
Posted by John Wright at 6/20/2006 11:15:39 AM
I want to create a generic data layer that uses Oracle as the back end. By generic, I just want a couple of procedures. All access will be done with stored procs, and I want one that returns a dataset and one that returns a datareader. I want to pass in the commandName, and a ParameterArray ...more >>

"Object reference not set to an instance of an object"
Posted by TofuTheGreat NO[at]SPAM gmail.com at 6/14/2006 6:37:08 AM
I've got the following code snippet in a button's click event. When it gets to the point of setting the InsertCommand.CommandType an exception is raised. The exception is "Object reference not set to an instance of an object". Help? 'Save the record Try Dim sd...more >>

For Us Newbies with databases
Posted by Miro at 6/13/2006 1:16:12 PM
For those of us learning and fiddling with ADO X databases ( not SQL Express / Other ) I have found a pretty good reference website. It would have saved me a lot of time earlier in my learning process on how to manipulate db's thru code. I was running around knowing what I wanted to do, but n...more >>



How to connect to SQL?
Posted by bob NO[at]SPAM datasync.com at 6/12/2006 8:25:52 PM
Can anyone help me connect to SQL??? I am new to all this... it is been a titanic struggle consuming hours & days & .... I am trying to create an SQL database programatically. But my code stalls before it gets started, and can't establish a connection to SQL. Here is my code: ===========...more >>

SQL Express or MDB - opinions please
Posted by Miro at 6/8/2006 12:36:41 PM
Ok I have been slowely - and ever so slowely teaching myself VB.net Currently I have created an MDB file by code, and added fields to the MDB file by code. I like this solution because, ( im assuming ) if I create an EXE and I load an MDB file, I can see if certain fields are there, and if ...more >>

How to Automatically Update UI When Data Changes
Posted by Charles Law at 6/7/2006 12:00:00 AM
Here's one that should probably have the sub-heading "I'm sure I asked this once before, but ...". Two users are both looking at the same data, from a database. One user changes the data and commits it. How does the other user get the updated view without polling for changes? Is there some ...more >>

Filling ComboBox With Data and Using It...
Posted by Leila at 6/5/2006 4:06:51 PM
Hi, I query the Customers table from Northwind database and I want to fill my combobox with CompanyNames. When the user chooses one item from combobox, I must get its CustomerID to query Orders table and display the orders of this customer in the grid. What's the easiest way to get the CustomerI...more >>

"Key not found" Exception Assigning to DataSource Property of Grid
Posted by Charles Law at 6/4/2006 11:53:46 AM
This is driving me mad. Can someone please put me out of my misery? I have a DataSet which I wish to use as the data source for a grid control (it is actually an Infragistics grid). When I assign to the DataSource property like this UltraGrid1.DataSource = MyDataSet I get the following ...more >>

Hidden instance of Excel. (Application object)
Posted by Doogie at 6/1/2006 2:08:59 AM
Dear Group, I have a strange problem, I have created a little application that opens an instance of Excel from a webpage in a "test project". This worked without any problems, the instance of Excel appeared. I then move the .aspx and .vb pages for the webform to another project (added the appropr...more >>


DevelopmentNow Blog