Monday, January 30, 2012

WPF Multiline Textbox

For Multiline  in TextBox we can use a TestBox Like this

We can make a TextBox Control that will support Multiline  by using 2 properties. TextWrapping="Wrap" and AcceptsReturn="True"

The XAML code for this TextBox

 <TextBox Height="131" HorizontalAlignment="Left" Margin="6,6,0,0"   
 Name="educationalInformationTextBox" VerticalAlignment="Top" Width="345" TextWrapping="Wrap" AcceptsReturn="True" />  

SQL Get all Index create script from Database

To get all script from database as a create new index into another database you can use the following --Get all Index Script SELECT...