Thursday, February 21, 2019

Interview

1. What are the types of databinding in WPF?
Ans : https://interview-preparation-for-you.blogspot.com/2019/02/types-of-data-binding-in-wpf.html

2. If we have two text boxes and and we set one text box IsNumeric property to true and other to false, How it works while Dependency properties are static.
3. What is converter in WPF?
Ans : https://interview-preparation-for-you.blogspot.com/2019/02/converter-in-wpf.html

4. How can we create converter in WPF?
Ans : https://interview-preparation-for-you.blogspot.com/2019/02/converter-in-wpf.html

5. If we have a readonly text box and a property name attached to its text porperty which mode need to set to reflect changes in textbox while change the property.
Ans OneWayToSource

6. If we have a table in which there is status field with value 0 and 1, we want to change 0 to 1 and 1 to 0.
UPDATE dbo.TestStudents 
SET Status =
( CASE 
WHEN (Status = 1) THEN 0
WHEN (Status = 0) THEN 1
END )

No comments:

Followers

Link