•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 374,030 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,848 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 504 | Replies: 1 | Solved
![]() |
•
•
Join Date: Sep 2007
Posts: 1,054
Reputation:
Rep Power: 3
Solved Threads: 61
I am trying to alter some SQL to use parameters. I bypassed this earlier as it was just not working but am now heading back to tidy up. For some reason I cannot get this to work, keep in mind I am using Odbc:
Anyway I try, I cannot get the parameters to add to the SQL string. In the Odbc database, this column is BigInt(20). I have just been adding it directly into the SQL string, but am now converting that to parameters but cannot figure how. Any help would be appreciated!
SQLString = "SELECT * FROM Stories WHERE StoryID=?" 'cmdSelectStory.Parameters.Add( "?StoryID", OdbcType.BigInt ) 'cmdSelectStory.Parameters.Add( "?StoryID" ).Value = strStoryID
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
- Updated : Simple ASP.Net Login Page (ASP.NET)
- Simple ASP.Net Login Page using C# (C#)
- NEWBIE - Insert data from ASP.Net application into mutiple SQL tables (ASP.NET)
- ASP.NET Registration Page (ASP.NET)
- Simple ASP.Net Login Page (Using VB.Net) (ASP.NET)
- tool for converting java/sql codes to asp.net/sqol2000 (Java)
Other Threads in the ASP.NET Forum
- Previous Thread: adding WinForm in VB.NET
- Next Thread: UPDATE query problem



Linear Mode