Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 14th, 2004, 06:40 AM
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with insert, on select data doesn't show

I have a database in which I insert a row with a simple insert.
Something like this:
OleDbDataAdapter1.InsertCommand.CommandText = "INSERT INTO gereserveerd(datum, leraar, lokaal, omschrijving, uur) VALUES ('" & TextBox1.Text & "', '" & TextBox2.Text & "', '" & TextBox3.Text & "', '" & TextBox5.Text & "', '" & Label1.Text & "')"

Works perfectly, the values get written, but when I do a select on the database, the values I just wrote into it, will not show up. other values that also correspond to the query do show up. what is wrong here? mail me please!!

He who dies with the most toys still dies
 
Old April 24th, 2004, 01:50 AM
Registered User
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

please send the select query






Similar Threads
Thread Thread Starter Forum Replies Last Post
insert into....select problem timbal25 SQL Server 2005 1 October 24th, 2007 08:28 PM
Insert Data problem shwetarani2002 ASP.NET 1.0 and 1.1 Basics 4 July 14th, 2007 02:54 AM
PHP-MySQL Insert Data problem forexen PHP Databases 1 March 13th, 2007 12:58 AM
Problem in insert new data in Asp.Net. Rahul Gupta ASP.NET 1.0 and 1.1 Basics 1 December 16th, 2005 10:23 AM
Within a SELECT do 2 Sum and show only 1 Ford SQL Server 2000 2 November 8th, 2005 01:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.