Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Formatting Contents of a Text Area


Message #1 by "Ajay Varghese" <reese@b...> on Thu, 17 May 2001 00:07:12 +0530
Hi,

Is there a way I can capture the Text along with the Line Feeds within a 

Text Area When I submit the page?

Thanks,

Ajay





Message #2 by "Alex Homer" <alex@b...> on Tue, 29 May 2001 15:38:24
You can try adding the HTML attributes to the control that specify the way 

the text is sent.



<textarea wrap="****"></textarea>



where **** can be:

virtual - line breaks are not included, or LF included but not CR

physical - line breaks are included 

hard - depends on the browser, usually same as physical

soft - depends on the browser, usually same as virtual

off - line breaks are not included



You can add the attribute server-side in ASP.NET using:

YourControlId.Attributes("wrap") = "yourvalue"



Remember that it depends on the browser that is being used as to what the 

actual effect is. 



Message #3 by "Yackson mata" <yackson.mata@v...> on Tue, 29 May 2001 16:45:57 +0200

Hello



 in this moement I need information of how can implementing queries at

multiples tables in data base to SQL



I know that Dataset to work whit one table, how can to work whit more tables

?





best regards, yackson



Yackson Mata

www.veneca.com

VeneInformātica C.A



Message #4 by "Alex Homer" <alex@b...> on Tue, 29 May 2001 17:30:42
You can specify which table is filled in the FillDataSet method:



objDataSetCommand.Fill(objDataSet, strTableName)



So you can load data into multiple tables. Alternatively ytou can use a 

SQL statement or stored procedure that combines the data from several 

tables into one rowset (i.e. a JOIN statement) and store this as one table 

in a DataSet. What you can't do is execute a SQL statement against the 

tables in a DataSet to join them afterwards.






  Return to Index