473,770 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5311

"CAM" <al***********@ ca.rr.comwrote in message
news:A4******** *************** ***********@mic rosoft.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******** ******@TK2MSFTN GP02.phx.gbl...
>
"CAM" <al***********@ ca.rr.comwrote in message
news:A4******** *************** ***********@mic rosoft.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********@com cast.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
1971
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, especially as a Web server or a database server. The second is as a local client data store where the application data access does not depend on the network. Ease of use and simplicity are key design goals.
0
1265
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 the server...probably sql server does not allow remote connections check default settings...(provider sql interfaces Error 26 error of locating server or instance specified.
2
4965
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 Edition" via the link on: http://msdn2.microsoft.com/en-us/express/bb410792.aspx
1
1558
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
3118
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 can't find it. i'm used to Visual Basic 2005, so some help would be appriciated. i need to find the build events tag because i'm creating a screen saver. perhaps there was an error with my installation. PLEASE HELP!!!
1
2590
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 2005 sdk and also visual web developer 2008. Today when I try to run or debug a very basic page I am getting the error" Unable to connect to Visual Studio's Locahost Web server" I get a similar error when trying to run/debug the same project in...
8
1608
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 windows application (lets call it TWinApp1) with just a couple of buttons and a text box. It is very simple and runs fine in the debugger. Using TWinApp1 I'm trying to learn how to create a setup program to install an application on a system....
1
3661
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 SQL Server 2008 (SQL2008.AdventureWorks_All_Databases.x86.msi). This attempt failed because SQL Server 2008 Express, basic edition doesn’t support Full-text Search, which AdventureWorks requires. So I uninstalled SQL Server 2008 Express, basic...
2
5061
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, creating tables, etc., but it does allow you to create database files in SDF format within the IDE. My question is: How do you then connect to these database files in Perl? I tried creating an ODBC connection, but there seems to be no way to tie an...
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10259
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.