Board index » Visual Studio » SQL datasources

SQL datasources

Visual Studio114
Hi all,



I am looking to add a data control to a text area but without success,

can anynow help me or suggest an alternative to a text area control.

But i need a control that can hold a lot of txt and a txt box is

totally inpractable.



cheers



simon


-
 

Re:SQL datasources

Don`t know if i completely understand what you try to do ( because of the

text with the above subject )



You want to add a data control to a text area ?? (do you mean the contents

of a data column from your database )



Quote
But i need a control that can hold a lot of txt and a txt box is

totally inpractable.



Just set the multiline property of the textbox to true , set the apropriate

scroll behavior ( vertical perhaps ) now resize the textbox to the estimated

size wich might hold your data an ready you are ,,,, you can mimic the

behavior of a textarea control in html ( it would look like this

www.activejump.com/m-10.shtml">www.activejump.com/m-10.shtml ,,, scroll down to see the example )



regards



Michel Posseth [MCP]



"si_owen" wrote:



Quote
Hi all,



I am looking to add a data control to a text area but without success,

can anynow help me or suggest an alternative to a text area control.

But i need a control that can hold a lot of txt and a txt box is

totally inpractable.



cheers



simon





-

Re:SQL datasources

hi



i have a list box and a text box.

list box is linked to database and is populated on from load. i need

the text box to be populated with text when i click on an entry in the

list box, is it possible to do so using a line of sql or will i simply

have to revert to the old days and write a load of IF statements???



-