473,320 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Connecting to SQL Server Express 2008 from Visual Basic.Net

CAM
Hello,

I am using SQL Server Express 2008 for my database and Visual Studios 2008 -
Visual Basic.Net for my forms. I Gone into VS 2008 and specify the source
of data using the Data Sources Windows following the wizard. I have input
the Server name using Windows Authentication, select the database name and
tested the connection it works fine. I created a form in VS 2008 added
text boxes and the data navigator, table adapter. It all seems to work fine
I can add data, delete data from the DataSet, but it's not permanent. When
I look into the table in SQL nothing is updated. I just cannot update my
SQL table at all. I don't know what is missing. Can anyone help? Any tips
or website to visit I would appreciate. Thank you in advance.

Cheers

Oct 11 '08 #1
5 5289

"CAM" <al***********@ca.rr.comwrote in message
news:A4**********************************@microsof t.com...
Hello,

I am using SQL Server Express 2008 for my database and Visual Studios
2008 -
Visual Basic.Net for my forms. I Gone into VS 2008 and specify the source
of data using the Data Sources Windows following the wizard. I have input
the Server name using Windows Authentication, select the database name and
tested the connection it works fine. I created a form in VS 2008 added
text boxes and the data navigator, table adapter. It all seems to work
fine
I can add data, delete data from the DataSet, but it's not permanent.
When
I look into the table in SQL nothing is updated. I just cannot update my
SQL table at all. I don't know what is missing. Can anyone help? Any
tips
or website to visit I would appreciate. Thank you in advance.

Cheers
Have you installed SP1 for your Visual Studio 2008?
It's my understanding that SP1 is required for SQL Server 2008 support.
Oct 11 '08 #2
CAM
Thanks PvdG42,
I Installed the latest service pack, but that doesn't seem to do the trick.
I appreicate your tip. Hopefully someone may have another tip. Thanks
again.

Cheers
"PvdG42" <pv**@toadstool.eduwrote in message
news:un**************@TK2MSFTNGP02.phx.gbl...
>
"CAM" <al***********@ca.rr.comwrote in message
news:A4**********************************@microsof t.com...
>Hello,

I am using SQL Server Express 2008 for my database and Visual Studios
2008 -
Visual Basic.Net for my forms. I Gone into VS 2008 and specify the
source
of data using the Data Sources Windows following the wizard. I have input
the Server name using Windows Authentication, select the database name
and
tested the connection it works fine. I created a form in VS 2008 added
text boxes and the data navigator, table adapter. It all seems to work
fine
I can add data, delete data from the DataSet, but it's not permanent.
When
I look into the table in SQL nothing is updated. I just cannot update my
SQL table at all. I don't know what is missing. Can anyone help? Any
tips
or website to visit I would appreciate. Thank you in advance.

Cheers
Have you installed SP1 for your Visual Studio 2008?
It's my understanding that SP1 is required for SQL Server 2008 support.

Oct 12 '08 #3
CAM wrote:
>>I can add data, delete data from the DataSet, but it's not
permanent.
Are you callling an Update or Save method of some sort? Changes to a dataset are
local, until you explicitly say you want them saved back to the database.
Oct 12 '08 #4
CAM
Steve,

I beleive that is my problem I need to explicity saved back to the database,
I am not sure how to do that? Thanks for the insight.

Cheers
"Steve Gerrard" <my********@comcast.netwrote in message
news:m7******************************@comcast.com. ..
CAM wrote:
>>>I can add data, delete data from the DataSet, but it's not
permanent.

Are you callling an Update or Save method of some sort? Changes to a
dataset are local, until you explicitly say you want them saved back to
the database.

Oct 12 '08 #5
CAM wrote:
Steve,

I beleive that is my problem I need to explicity saved back to the
database, I am not sure how to do that? Thanks for the insight.
If you have made a standard TableAdapter using the wizards, you should be able
to call the Update method of the TableAdapter. It will need to have the insert,
delete, and update SQL commands defined, which I think is optional in the course
of running the wizard, but they may be there by default.

Oct 12 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Darryl Kerkeslager | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsse/html/sseoverview.asp SQL Server Express was developed with two distinct uses in mind. The first is as a server product,...
0
by: athindrans | last post by:
hi everyone first time using sql server. I have problem connecting from a small c++ program in visual c++ express editon to sqlserver 2005 developer editon. It says error connecting to...
2
by: samadams_2006 | last post by:
Hello, I have a problem that I'm hoping someone will be able to help me resolve. 1) I have a C# Web Site in which I connect to the database: "Install Microsoft SQL Server 2005 Express...
1
by: Jeff | last post by:
Hey I'm wonder if installing Visual Web Developer 2008 Express version an Express version of Sql Server 2005/2008 will be installed too or must Sql Server Express be installed separately??
3
by: =?Utf-8?B?Rmxhc2hwcm8=?= | last post by:
i have googled this question but cannot find an answer. i'm running windows vista and i'm using Visual Basic Express 2008. i know the build event button SHOULD be in under the compile tag but i...
1
by: =?Utf-8?B?Rmxhbm1hbg==?= | last post by:
I have a tutorial I was working on with Visual Web Developer 2005 express. Very basic stuff intro to asp.net. All was working fine a few days ago. I took my pc home and installed the visual studion...
8
by: jch | last post by:
Sorry for the newbie question but I'm trying to learn Visual Studio. I've got VS Express 2008 and I'm using visual basic. I'm trying to learn how to deploy a program so I've written a very basic...
1
by: BobLewiston | last post by:
I installed SQL Server 2008 Express, basic edition (SQLEXPR32_x86_ENU_Bootstrapper.exe, version 9.0.30729.1) without any problem. Then I attempted to install AdventureWorks Sample Databases for...
2
by: bobt1991 | last post by:
I just installed Microsoft Visual Studio 2008 Express edition, and it installs some sort of stripped down version of SQL Server. It comes with no tools for connecting to your "local" database,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.