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!
Printable View
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!
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...
You can also limit the length of strings right in SQL Server.