Wednesday, November 28, 2012

Silverlight multiline textbox

For multiline text box you have to use just 2 property for text box AcceptsReturn="True" TextWrapping="Wrap". consider the datagrid.





the xaml code for the

  <sdk:DataGridTemplateColumn CanUserReorder="False" CanUserResize="False" CanUserSort="False" Width="Auto" Header="Remarks" >  
             <sdk:DataGridTemplateColumn.CellTemplate>  
               <DataTemplate>  
                 <TextBox AcceptsReturn="True" TextWrapping="Wrap"></TextBox>  
               </DataTemplate>  
             </sdk:DataGridTemplateColumn.CellTemplate>  
           </sdk:DataGridTemplateColumn>  

thank you.

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...