Go Back   Computer Juice > Computer Software > Web Design & Programming
Register Members New Posts Donate Unanswered Posts Site Spy Search


Reply
 
Thread Tools
  #1  
Old 02-04-2007, 12:57 AM
No Avatar
CJ New Member
 
crickwiz is offline
 
Join Date: Apr 2007
Last Online: 02-04-2007 12:57 AM
Posts: 1
iTrader: (0)
crickwiz is on a distinguished road
Default I am building a database. I use SQL. I want to

insert a new row .For that i use insert command. the problem is For eg:command=new oledbcommand("INSERT INTO table(COL) VALUES(textbox1.text)I get a error. Actually my program is not able to get the value from textbox1.text
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 02-04-2007, 02:06 AM
No Avatar
G K  disclosed
CJ New Member
 
G K is offline
 
Join Date: Apr 2007
Last Online: 02-04-2007 02:06 AM
Posts: 1
iTrader: (0)
G K is on a distinguished road
Default I am building a database. I use SQL. I want to

hi your problem is syntax related.you are about to insert int to field that must be var char type.try thisinsert into table(COL) values('textbook1.text')
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database within Access skinnyman9000 Office Suites & Applications 2 18-03-2008 09:19 PM
Free Movie Database.. please help will try any. 4D(Fordy(Ford) Ollie General Software Chat 1 30-08-2007 09:36 PM
Using files as database in PHP? Vikrant Web Design & Programming 1 01-04-2007 11:11 AM
We need to print database addresses on hundreds of AuctionWon Digital Imaging & Printers 1 19-03-2007 05:40 AM
How to merge database of php sql script? Ma_fak_desi Web Design & Programming 1 18-03-2007 07:32 PM


Copyright ©2006 - 2008 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.