Results 1 to 3 of 3

Thread: data binding to a String

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2005
    Location
    Madison, WI
    Posts
    136

    data binding to a String

    Note: I am using SQL for the database.
    Can you bind data to a string? How?
    Also, is there a way to limit the strings character length?

    Thanks for all the help! This is a good forum!

  2. #2
    Fanatic Member jcavard's Avatar
    Join Date
    Jul 2005
    Location
    Quebec, CANADA
    Posts
    534

    Re: data binding to a String

    hmm I'd need a little more information to help you....

    Bind data to a string... you mean bind a dataset to a textbox?? or concatenate a textbox.text to a string ("SELECT * FROM tbl WHERE id=" + txtbox.text
    ????

    limit the string length... you mean a string variable or the content of a textbox...??

    to limit the length of a textbox, there is a maxlenght properties...
    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

    accoustic emo-rock band: a tailormade fable

    Visual Studio 2003 / Framework 1.1

  3. #3
    Lively Member Neoharuo's Avatar
    Join Date
    Aug 2005
    Posts
    100

    Re: data binding to a String

    You can also limit the length of strings right in SQL Server.
    "I aim to misbehave."
    Captain Mal Reynolds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width