Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression??
Data type mismatch in criteria expression?? Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Go Back  Xtreme Visual Basic Talk > > > Data type mismatch in criteria expression??


Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2012, 07:29 PM
ozzcar ozzcar is offline
Newcomer
 
Join Date: Feb 2012
Posts: 1
Question Data type mismatch in criteria expression??


Edit by Moderator: Re: Data type mismatch in criteria expression??
can you help me too
Code:
DatabaseConnection.ConnString()
        ' DatabaseConnection.Add("INSERT INTO CheckIn(RoomNo, RoomType, Price) VALUES('" & txtname.Text & "','" & txtId.Text & "','" & txtPlatenum.Text & "','" & _
                txtCheckIn.Text & "','" & txtStaying.Text & "','" & DTCheckOut.Text & "', '" & txtRoomType.Text & "', '" & txtUnitPrice.Text & "')", conn)
        Try
            Dim litems As ListViewItem = New ListViewItem()
            DatabaseConnection.ConnString()
            DatabaseConnection.DataOpen()
            DatabaseConnection.Add("INSERT INTO CheckIn(CheckInDate, Deposit, Staying, CheckOutDate, Amount, Balance, Roomnum) VALUES('" & txtCheckIn.Text & "','" _
                 & txtDeposit.Text & "', '" & txtStaying.Text & "', '" & DTCheckOut.Text & "', '" & cboRNum.Text & "', '" & txtTotal.Text & "', '" & txtRemain.Text & "')", conn)
            DatabaseConnection.Add("INSERT INTO Customer(Guestname, Platenumber) VALUES('" & txtname.Text & "','" & txtPlatenum.Text & "')", conn)

            'litems = New ListViewItem()
            ' LstPrice.Items.AddRange(New ListViewItem() {litems})
            MessageBox.Show("process Completed. adding of room done.")
            DatabaseConnection.DataClose()
        Catch ex As Exception
            MessageBox.Show(ex.Message)
        End Try
    End Sub
it say also datatype mismatch in criteria description
Edit by Moderator: Please do not reply to threads more than 30 days old, as they are considered archive only (per Posting Guidelines). Thanks and welcome to the forum.

Last edited by Cerian Knight; 02-06-2012 at 04:49 PM. Reason: Added [code]...[/code] tags and break long lines
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression?? Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression?? Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
 
Data type mismatch in criteria expression??
Data type mismatch in criteria expression??
 
-->