.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> WPF >> Post New Question Subscribe to Interview Questions

In Which of the Following Definitions element you will find a 'Width' and 'Height' of a Grid(TAG)

1)<Grid.RowDefinitions >

2)<Grid.ColumnDefinitions>

Posted By :Syed Shakeer Hussain     Posted Date :October 07, 2010    Points :10   Category :WPF 
In <Grid.RowDefinitions > you will find a 'Height'

eg: <Grid.RowDefinitions >
<RowDefinition Height="50" />
</Grid.RowDefinitions>

In <Grid.ColumnDefinitions> you will find a 'Width'

eg:<Grid.ColumnDefinitions>
<ColumnDefinition Width="90" />
</Grid.ColumnDefinitions>


You can also find related Interview Question to In Which of the Following Definitions element you will find a ''Width'' and ''Height'' of a Grid(TAG) 1) 2)  below: 

Grid View and Details View in ASP.NET 2.0.

  
Some of the new web controls featured in the .NET framework 2.0 beta include the GridView and DetailsView object. These controls offer more features than in the 1.1 version of the framework, featuring:

* Automatic paging and sorting with no coding needed
* Automatic Insert, Update, and Delete capabilities
* Complete command button functionality (such as the Edit, Update, and Cancel buttons) without any coding
* Minimal amount of coding involved than in previous versions of the framework (More...)

How can you provide an alternating color scheme in a Data Grid?

  
Use ALTERNATINGITEMSTYLE and ITEMSTYLE, attributes or Templates. (More...)

difference between datagridview of window forms and data grid controls

  
difference between datagridview of window forms and data grid controls (More...)

How will you fill a dropdown from another dataset and grid from another dataset.

  
First fill the grid with dataset and then datagrid.columns.findcontrol["dropdown"] find dropdown and add another dataset to it. (More...)

How to format a grid at runtime based on some condition

  
i think we can do that by using
if(e.row.column[1].text>10)
{
e.row.backgroundColor="green"
}

wat say?? (More...)

How to find the index of element using Where() with Lambda Expressions?

  
Use the two argumented Lambda method

Where((i, ix) => i == ix); (More...)

How can we find the open transactions details in sql server?

  
Yes, it is possible.

select * from sysprocesses where open_tran > 0


This query will provide list of all the open transaction details. (More...)

How to Find Number of Days for provided date range?

  
Code extract :

TimeSpan DayDifference = Convert.ToDateTime("2009-1-7").Subtract(Convert.ToDateTime("2009-1-1"));


To find the difference of the days, here we have used Subtract method. The Subtract method does not take start date into consideration. Hence, to get the exact number of days for the date range we need to add one more day to the result.

Response.Write("Number of Days : " + DayDifference.Days+1); (More...)

How to find data with generics list in VB.NET (Write code).

  
In the code example below, the function "FindData" will return list("sublist") of the objects having matchingKey same as viewstate value.
Dim sublist As List(Of MyClass)
sublist = allClient.FindAll(AddressOf FindData) 'sublist will contain objects matching specified matching condition

Function FindData(ByVal b As MyClass) _
As Boolean
If (b.matchingKey = CInt(ViewState("matchingKey "))) Then 'matching condition
Return True
Else
Return False
End If
End Function (More...)

How can you find IP address of the client in ASP.net ?

  
string clientIPAddress = Request.UserHostAddress.ToString(); (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend