6,934 Topics

Member Avatar for
Member Avatar for bghodsi

The following is the complete coding for moving data from sql to access, I get an error saying that Microsoft JET Database Engine missing (;) at the end of sql statement!!!! Could you tell me what I am doing wrong? Imports System.Data.OleDb Imports System.Data.SqlClient Public Class frmMain Inherits System.Windows.Forms.Form Private …

Member Avatar for bghodsi
0
161
Member Avatar for dwel

I'm trying to restore previously backup text file into sql server on specified database. Could it be possible using VB.NET? if possible please help me..

0
87
Member Avatar for dwel
Member Avatar for dwel
0
151
Member Avatar for grafiksinc

Hello all, First off I am using VB.net I have a dropdown list in the Item template. I would like the user to select a value and update the database without clicking an update button. Here is the Code for the DDL [CODE]<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource2" DataTextField="provider" DataValueField="provider" AutoPostBack="True" AppendDataboundItems="true" …

Member Avatar for grafiksinc
0
126
Member Avatar for dakaboguy

Hello, I am trying to connect a VB.NET 2003 Oledbdataadapter through the wizard to a SQL Server 2005 Database, but i get an error message during the wizard. These are my steps: New Connection, Select provider (Microsoft OLE DB Provider for SQL Server), Select Connection: server name, log on: use …

Member Avatar for dakaboguy
0
263
Member Avatar for umandajayo

Hi Flocks.... I am developing a web site by using Joomla And I need to get a data from data base under the following criteria 1. item should be a published (in my module published is 1 and unpublished is 0) 2. and selected data should be a shorting under …

Member Avatar for sourcebits
0
84
Member Avatar for raju_boini525

hai all, i am working on a project, my project have 3(bronze, silver, gold) types of payments, payments are done through the paypal the expiry date is one month. if user reach the expirydate we must send email to him, after expirydate is passed his payment type change to bronze(it …

Member Avatar for SKANK!!!!!
0
120
Member Avatar for redgie44

Ok I am currently learning php through wordpress and I have a small project to create a running website which displays the results. CUrrently I can display the results for a certain race that I hard code: [code] <?php // Connects to your Database mysql_connect("XX.XX.XX.XX", "admin", "pwd") or die(mysql_error()); mysql_select_db("db") …

Member Avatar for redgie44
0
159
Member Avatar for tuomari

I'm trying to make an .aspx page which would allow me to change values in the database. It has a datagrid which shows everything from one database table, and allows me to edit the data row by row. Everything goes smoothly as anything, but when I try i update the …

Member Avatar for dnanetwork
0
130
Member Avatar for CFApprentice

Hi there, I’m very new to ColdFusion and I’m still going through the learning process. I have a report to create in CF and I don’t know how to start: I have three tables in 2 databases: tblEmployeID with EMPLOYEEID, EMPNAME, MGRName (this is in SQL 2000) tblCategories with CODEID, …

Member Avatar for arrgh
0
337
Member Avatar for Tassman

I am very new to writing sqls in visual foxpro 9 but have managed to write the script below to provide sales information. This sql works and even dumps the result into Excel, BUT I would like to enter a subtotal of sales and cogs after each product code, while …

0
48
Member Avatar for hireaprogrammer

Hello, Just need quick help in PHP + SQL SERVER 2005 DB CONNECTION ...i having problem while connection SQL SERVER 2005 WITH PHP APPLICATION WHICH WORKING PERFECTLY IN LOCALHOST AT MY PC BUT IT NOW NOT WORKING ON THE SERVER SO DON'T KNOW WHATS WRONG ? I THINK ANY SERVER …

0
86
Member Avatar for zachattack05

I have a form that has multiple text boxes, check boxes etc... The question is, instead of writing out: [CODE=c#] cmd.Parameters.Add(new SqlParameter("@myparam", (object)textbox.Text));[/CODE] a million times for each parameter, is it possible to load all of the names of the objects on a form into an array and just do …

Member Avatar for zachattack05
0
154
Member Avatar for Usura

hey, i need both the import.sql.date; and import.util.date, at the moment im importing them like import.sql.*; import.util.*; How do i specify which library i want for any particular Date object?

Member Avatar for ~s.o.s~
0
122
Member Avatar for coop123

[code] string sqlInsert = "INSERT INTO Transaction " + "(VIN, Price, TranDate, TranType) " + "VALUES('" + VIN + "', '" + price + "', '" + aDate + "', '" + transType + "')"; // check SQL string in Output window for debugging Console.WriteLine(sqlInsert); myDataAdapter = new OleDbDataAdapter(); //insert …

Member Avatar for coop123
0
111
Member Avatar for brookstone

Hi, This should be a simple query but I am not able to figure out how to get the result I want. I have two tables A and B and want A left Join B however, I do not want all of table A. I want to restrict table A …

Member Avatar for kplcjl
0
137
Member Avatar for priyam1309

I have created a DLL file using VB6.0 and the registered the DLL into another server. Now I have created a DTS Package (ActiveX Task) which will create object of the DLL and call a particular function. The problem is when I execute the DTS task from my ID, everything …

Member Avatar for finito
0
447
Member Avatar for Dmlang1985

Does anybody out there know of any VB.Net tutorials regarding pulling and adding records out of a sql database? I am trying to figure this out on my own, but I just need an example program to show me how to do it. I have figured out how to connect …

Member Avatar for kvprajapati
-2
213
Member Avatar for sbv

Hi friends..... As when i am doing this task and found know help .............. here i am putting steps for importing data from Excel sheet into SQL Server 2003. How to Import data from excel sheet to SQL Server Note : - Sheet should be exactly same as Table in …

Member Avatar for sknake
1
230
Member Avatar for dakaboguy

I have binded a textbox to a column in a SQL Server 2005 Database, when i fill the dataset it displays the data, but when i click the save button it doesn not save the changes to the database. I used this same code to do a Datagridview and it …

Member Avatar for dakaboguy
-1
234
Member Avatar for Abey_2010

Hi, I have designed a front end screen for a simple login page with two fields username and password in ASP.net/VB.net. I want the data that I enter into the textboxes to be populated into the database, on click of submit button and a confirmation message like 'Your data has …

Member Avatar for b89smith
0
108
Member Avatar for Poonam_l

How to create Database connectivity for sql server express edition 2008? plz Help me.. i am confused so much...

Member Avatar for paslanmaz
0
121
Member Avatar for carelvos

Hi Guys, I have a problem connecting to a SQL Server from Windows 7 - this particular server I can only connect to by using the named instance from Win XP - I can connect to other servers that does not require you to connect to the named instance eg: …

Member Avatar for Ramy Mahrous
0
197
Member Avatar for bghodsi

Hi Folks: I am still having trouble moving data between sql and ms access databases. Has anyone got any idea? Bob Ghodsi

Member Avatar for finito
0
49
Member Avatar for juniorj

i want to display a selected record from my database to the data report in VB6. i used the foll. code, where cuno is the value of a textbox. i m passing the value of cuno through a module. SELECT * FROM Bill WHERE ID=cuno but when i run it, …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for Bashir ahmad

i enter 3 identical records in an sql database table. Normally this should not have happened and the dbms is to check for identical records. Now when i try to delete or update any record, an error message is displayed and the record is neither deleted nor updated. any help …

Member Avatar for vb5prgrmr
0
110
Member Avatar for srikar38

Hi. my name is srikar.......and my query is How to differentiate system databases and user created databases in sql server 2005??????????????

Member Avatar for kvprajapati
0
142
Member Avatar for TheSaboteur13

Hi I want to add the table names from a database in sql server to a combobox with vb.net windows programming. Its a customer accounts database where for instance I add a new Account holder which creates a new Table and when I want to view a specific account holder …

Member Avatar for kouroshnik
0
264
Member Avatar for detoxx

I hope you can help me. I'm working on a program that will open any Access database that might be on the system. The problem I'm having is that I cant get get the SQL statement to show all the tables within the database. The code im using is as …

Member Avatar for detoxx
0
107
Member Avatar for Bashir ahmad

[B]I enter 3 identical records in an sql database table. Normally this should not have happened as the DBMS must check for identical records. Now when I try to delete or update these records, an error message is shown. What to do?[/B]

Member Avatar for Bashir ahmad
0
256
Member Avatar for zachattack05

Does anyone use it? Seems kind of scary to me the thought that I would allow a mysterious command to alter data in my tables. Is it better to write your own update strings and execute them or use the command builder? Does it matter? Edit: PS the new site …

Member Avatar for finito
0
108
Member Avatar for ragedsparrow

HEy everyone. I've been workign on this for a few days now and it's due tomorrow, so I thought I would ask a developer community for any input. Here is what is supposed to be happening. The Server starts. The Client Starts. The user enters a table name into the …

Member Avatar for ragedsparrow
0
162
Member Avatar for kseling

i'll attach a little snippet: [CODE] comd = New OdbcCommand("INSERT INTO news (new_title, new_content) VALUES (@newTitle, @newContent)", conn) comd.Parameters.Add("@newTitle", OdbcType.Text) comd.Parameters("@newTitle").Value = newsTitle.Text comd.Parameters.Add("@newContent", OdbcType.Text) comd.Parameters("@newContent").Value = FCKeditor1.Value conn.Open() comd.ExecuteNonQuery() Response.Redirect("default.aspx") [/CODE] this code executes, and my database is updated, but the new_title and new_content fields are still NULL. i've …

Member Avatar for finito
0
143
Member Avatar for tashiDuks

HI Everyone, I have designing a desktop application with SQL SERVER 2005. I have one form where user can take a full backup of SQL Database in one File. I have following controls : 1. txtSQLServerName 2. txtSQLDBName 3. txtSQLSQUserID 4. txtSQLSAPassword 5. txtBackupLocation 6. btnStart 7. btnCancel When user …

Member Avatar for kvprajapati
0
142
Member Avatar for jlenyi

** database table in visual foxpro ver.7 db2, fields: pid,fl1,fl2,fl3 ** database table in MS SQL database1 database1 fields: field1,field2,field3 Code in fox: SET DATE GERMAN uz1=ALLTRIM(db2.fl1) uz2=ALLTRIM(db2.fl2) uz3=ALLTRIM(db2.fl3) pMySQLstr="DRIVER=SQL Server;SERVER="path+"\SQLEXPRESS;"+"UID="+name+";PWD="+pwd+";Database="+database1" pMySQLhandle=sqlstringconnect(pMySQLstr) SQLSETPROP(pMySQLhandle, 'Transactions', 1) && Automatic transactions SQLEXEC(pMySQLhandle, "update database1 set field1=?uz1, field2=?uz2,field3=?uz3 where id=?pid") SQLDisconnect(pMySQLhandle) ** end sql …

Member Avatar for jlenyi
0
101
Member Avatar for touseef4pk

Plz help me out to resolve a conflict. I have made untiring efforts to resolve but coudln't. I have showed my data in gridivew now in windows forms now i want that when i make chages on the gridview using it like an excel sheet. These changes should also be …

Member Avatar for kvprajapati
0
92
Member Avatar for lunaluni

i have a textbox to upload .csv file. after i click upload it insert the .csv file into sql server database how to insert .csv file using vb.net into sql server

Member Avatar for lunaluni
0
1K
Member Avatar for VegaLA

Hi all, been working on this problem for a while now but having little success finding a satisfactory solution. I have a DTS package which contains two connections. one for SQL, the other for AS4000. I would like to pull records from the AS400 table using Account numbers stored in …

0
40
Member Avatar for sdimantova

Hi, I'm developing this query for a dashboard using System Center Config Manager Dashboard. The query needs to produce a table which shows the number of computers which have Office 2007 Standard edition in one row, and the next row should show the number of computers which do not have …

Member Avatar for sdimantova
0
166
Member Avatar for KushMishra

Hello guys, I am asking a very simple thing to be done in my project (May be I've forgotten the syntax)......... I've taken a drop-down list in which diff. user-names are coming and added a delete button to delete the full row which contains the selected drop-down list user-name. I've …

Member Avatar for rohand
1
199
Member Avatar for rambok4

[code] try Dim da As String = "+100acs+" Dim con As SqlConnection = New SqlConnection("Data Source=RAHUL-034890AF0\SERVER2005;Initial Catalog=user_accounts; Integrated Security =True") Dim command As Data.SqlClient.SqlCommand = New Data.SqlClient.SqlCommand("Insert into sales_details (bill_number,product_id,quantity,rate,amount) VALUES ('" + da + " ','" + Ddpproducts.SelectedItem.ToString + " ','" + Textquant.Text + "','" + Ddpproducts.SelectedValue + "','" …

Member Avatar for rohand
0
345
Member Avatar for bhavna_816

I have to add a not null column in a table. I am using [code]IF NOT EXISTS(SELECT * FROM information_schema.columns WHERE column_name = 'xyz' AND table_name = 'abc') BEGIN ALTER TABLE abc WITH NOCHECK ADD xyz MONEY NOT NULL END[/code] It gives me error ALTER TABLE only allows columns to …

Member Avatar for Saranya_kamaraj
0
277
Member Avatar for bghodsi

Hi folks: I get the following error when I try to convert sql to access: Microsoft JET Database Engine missing (;) at end of sql statement. The first part works fine but I get the error running second part. Below is the complete coding in vb.net for data transfer. [code] …

0
56
Member Avatar for Mr.B

Allo all, I'm using a DataSet to collect a random comparison from a database, and then passing those values to Public Variables, then constructing two Insert Statements (which shows on screen, and is valid). With the [B]two Insert Statements[/B], I'm using two buttons (in an ASP.NET Page) that Call a …

0
78
Member Avatar for krishnisilva

hi how can i add data to a unbound datagridview in C#. i have columns with a combo box column and a check box column and a calender control column. how can i add data to these columns in a datagrid view in C# please help me thanx appriciate a …

Member Avatar for Alexpap
0
116
Member Avatar for hmutual10

Is there a difference between regular SQL and Scalable/Pervasice SQL?

0
53
Member Avatar for aqua82

Hi All, I am new to SQL and I want to know how I can run loops in SQL such that for every element in one table I want to extract all elements from another table. i.e. If we have Table-A and Table-B then for every element in column1 of …

0
47
Member Avatar for js8765

Hi, I was wondering what is the "cleanest" way of combining two datasets by taking all the values from one data set and only the values from a second data set that have an index that does not appear in the first. Both data sets have the same columns. Even …

Member Avatar for js8765
0
788
Member Avatar for end3r

Hy, I seek your help in solving the following problem: I have a select which returns columns like ( without count_same which I need to create by counting the same name): ID | NAME | no_items | count_same ----------------------------------------------------------- 1 | A | 1 | 2 2 | A | …

Member Avatar for end3r
0
196
Member Avatar for ceyesuma

Hello Can someone get me started in the effert to fix this SQL statement to be excepted to create a table in a derby embeded db? [code] public boolean createTables(Connection conn) throws FileNotFoundException, IOException { System.out.println("in createTables:"); boolean createdTables = false; Statement stmt=null; try { String thisTable=ModelUtils.getXMLResource("createAdminTable"); System.out.println("thisTable sql String: …

Member Avatar for ceyesuma
0
338

The End.