SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 4th, 2000, 02:02 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
CreateParameter for Command object

<i><b>Originally posted by : Ted (TidyTed@yahoo.com)</b></i><br />Does any one know what the numbers in "CreateParameter" mean?<br /><br />cmd.Parameters.Append cmd.CreateParameter("UserName", 200, 1, 35, Request.Form("YourName"))<br /><br />Is there a referece for what they mean anywhere?<br /><br />Thanks<br /><br />Ted<br /><br />

Reply With Quote
  #2  
Old September 8th, 2000, 09:29 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Jon Wright (Jonathan.Wright@bubball.com)</b></i><br />Hi Ted,<br /><br />The numbers are for: datatype, direction, size.<br /><br />i.e The first number in your example '200' is the number for the datatype varchar, the second '1' means that your going to input the value to your database, the third means th size of your datatype - in this case a varchar the size being 35.<br /><br />For a more details on "CreateParameter" and the numbers I recommend you go to the MSDN library page: <br /><br />http://msdn.microsoft.com/library/psdk/dasdk/mdae8o19.htm<br /><br />Best of luck<br /><br />Jonathan Wright<br /><br />------------<br />Ted at 9/4/2000 11:02:47 AM<br /><br />Does any one know what the numbers in "CreateParameter" mean?<br /><br />cmd.Parameters.Append cmd.CreateParameter("UserName", 200, 1, 35, Request.Form("YourName"))<br /><br />Is there a referece for what they mean anywhere?<br /><br />Thanks<br /><br />Ted<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > CreateParameter for Command object


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT