SQL Compact Edition and MDI Parent & Child Problem Programming Software Development by bigstar …currently working on a windows application. I used sql compact edition for the database. But the first problem… But each time I added things to the DB, closing and re-opening the app, or …probably editing the DB schema always result to lost of all records… be able to percieve it in the DB through the select query I had written in… Re: SQL Compact Edition and MDI Parent & Child Problem Programming Software Development by bigstar …. I always lose all records in the DB after making any changes to the DB. I set the "copy to output… Directory" property of the DB to "Copy if newer", I guess that's… causes the lost of records each time i edited the DB. I need a solution to that please. As for the… Re: SQL Compact Edition and MDI Parent & Child Problem Programming Software Development by nmaillet …;mydb.sdf"; #endif What this does, is uses the db file from a different location, only during the Debug run… Re: SQL Compact Edition and MDI Parent & Child Problem Programming Software Development by bigstar … reflect new changes. Note: I connected the Datagrid to the DB with the Databinding wizard while I write code to update… Re: SQL Compact Edition and MDI Parent & Child Problem Programming Software Development by nmaillet What tool are you using to interact with the database file? If you are using something like the entity framework, data gets cached in memory, but doesn't get written out to disk until you explicetly tell it to. Your app could still see it since it's in the cache. As far as MDI goes, I believe support is disappearing for it. If you are dead set … SQL Server syncronization of ocasionally connected app? Programming Software Development by Brick … or internet connection. There is a requirement to sync DB changes via shipment of USB flash drives. The remote …or synchronization functions can be utilized. Should I Create SQL Server Compact DB's on the remote system when it is deployed…a table by table compare (in code) to another compact DB created on the flash drive when a sync is needed… SQL Compact Connection Problems Programming Software Development by jackiejoe … me. But am having problems connecting to the actual DB. Error quoted below. Am I missing out on something…Dim strConnect As String = "Data Source=|DataDirectory|\DB\BetJack\MyDatabase#1.sdf;Password=hello12?;Persist Security Info=…instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not… VB.NET connection to SQL SERVER Programming Software Development by gispe …. CREATE DATABASE discarded. Error while trying to attach a DB automatically named for archive -path to northwnd.mdf. There …" And when i try to connect with the SQL compact edition that came installed with the visual studio, im …error: "Can not allow access to the file in DB [File name = path to northwind.sdf]" And … Re: C# SQL issue Programming Software Development by james6754 … System.Data.SqlClient.SqlCommandBuilder(da1); An sql compact db is not the same as another type of db. You are trying to instansiate a… I need a quick bit of help understanding DB connection syntax... Programming Software Development by MaryAnne19 …m using VisualStudio 2010 .Net4 and a MS SQL Server Compact DB (no password). The database is called Persons….sdf, the only table in the DB is … = |DataDirectory|\Persons.sdf"); // Setting a new SQL Connection } private void Form1_Load(object sender, EventArgs e)… DataTable in SQL Server Compact Exception on first Fill ONLY Programming Software Development by winkler … client application, which now has a SQL Server Compact DB with the same schema as the server DB. I have a dataset with some… with this datatable, all the other 4 tables in the DB work as expected. Does anyone have an idea what could… Microsoft SQL Compact Database Problems Programming Software Development by jackiejoe … it to connect. Just get the error to say the DB cannot be found. No username or password on the… DB Any ideas or am I missing something? Thanks, [CODE] Private … Re: SQL Server syncronization of ocasionally connected app? Programming Software Development by Brick [QUOTE=adatapost;1120817]If you haven't read please read this - [url]http://msdn.microsoft.com/en-us/library/bb384572.aspx[/url][/QUOTE] Yes, but I think syncronization services requires a connection to the host DB, which I wont have. Re: SQL CE 3.1 for WinCE and C# Programming Databases by gibookrishnan Thanks tesuji.But I would like to know is SQL CE 3.1 is free.And where can i find the "Getting Started" info. about other two DB's you mentioned.Help. Thanks in advance. Re: SQL Compact Connection Problems Programming Software Development by askbapi _conn = New SqlCeConnection("Data Source = |DataDirectory|\<yourDatabaseName>;password=<your Password>") Re: VB.NET connection to SQL SERVER Programming Software Development by gispe [QUOTE=;][/QUOTE] i just reinstalled vb.net, and could conect to a sql server compact (came with vb.net) .. and when trying to make a query into the northwind db, im getting : "error while trying to create de consult, there is no assigment of DbType Ofject to any known SQL Server Compact data type" Re: VB.NET connection to SQL SERVER Programming Software Development by finito Looks good, can you post your code. [QUOTE]there is no assigment of DbType Ofject to any known SQL Server Compact data type" [/QUOTE] This basically means you either didn't make the connection string correctly or You didn't initialize something. Re: VB.NET connection to SQL SERVER Programming Software Development by gispe re-done it again.. checked the connection String and has the whole path to the db.. the db in the DB explorer is conected.. BUT let me make the sql query without the where clause.. any idea why this happend and how can i make to use the where clause?? thanks in advance!! :) Re: VB.NET connection to SQL SERVER Programming Software Development by finito Try and run your SQL query in the SQL Browser. you should understand what you did wrong. Re: VB.NET connection to SQL SERVER Programming Software Development by gispe the code im using is: [code=sql] SELECT SupplierID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, HomePage FROM dbo.Suppliers where SupplierID= @SupplierIDParam [/code] Re: VB.NET connection to SQL SERVER Programming Software Development by gispe to make the connection im using a wizard, so i dont have code to paste here. unless u want to have all the screen shots of what im doin.. the sql code, pasted in one of my previous posts Re: Creating DB for WinCE... Programming Software Development by gibookrishnan …And where the cab files will be present for the SQL CE 3.1 version. I do the project in VS2005… the device which is in my computer. 2) Is this SQL Compact Edition 3.1 free to Develop,use and distribute it… with my application? I have two SQL Compact Edition: One from : [url]http://www.microsoft.com/downloads/details… Re: Creating DB for WinCE... Programming Software Development by gibookrishnan … not any GUI as such.And what is SQL Compact Edition(Microsoft SQL Server 2005 Compact Edition : 3.1) and is it free.Thanks… Re: Creating DB for WinCE... Programming Software Development by peter_budo Win CE devices are already shipped with SQL Compact Edition already on them, plus they are easy to update … up IIS server for testing purposes and there is also SQL Server 2005 free version, however I have no idea what… Re: Populate listbox with an sql query Programming Software Development by kvprajapati [QUOTE=hemisphere;864604]Antoher question can i populate listbox with a list of string[/QUOTE] Create - .mdf (SQL Server Database) for your desktop or web applciation. .sdf is a SQL Server Compact DB and it is used with .NET Compact Framework. Re: Creating DB for WinCE... Programming Software Development by gibookrishnan … that SDK from their site.But i cant find the SQL Compact Edition in the data sources list but i could find… to find the material for the database operations in that DB. To Ancient Dragon: You mean to say the Embedded Database… Re: Sql Native Client Programming Software Development by mcriscolo …a DataSet that is hooked to a remote SQL Server database. I don't happen to have…C#]SqlConnection oConn = new SqlConnection("Server=DBServer;Database=DB;user id=youruser;password=yourpw"); SqlDataReader myReader = …] Of course, replace the various components (DBServer, DB, youruser, yourpw and tb_table) with values that work… Re: SQL Server..Express..compact Database's. Programming Software Development by mikidrip Thanks for your interest: I have not got to the code yet. While in VB 2013Express IDE, I try to add a DB(not made yet). I can not get the SQL server to create a DB. Error = Unable to find server instance.This after a long wait. Re: Sql Native Client Programming Software Development by mcriscolo …" to connect to a local or remote SQL Server instance. From the "Data" menu, select "…;Choose Data Source" box that comes up, select "SQL Server". Once you do that, the combobox below will… (default) or the .NET provider for OLD DB. Select the .NET Provider for SQL Server, then press "Continue". Now, you… Re: I need a quick bit of help understanding DB connection syntax... Programming Software Development by MaryAnne19 After using different parts from 3 tutorials I was able to construct a functioning db conn.