Top Dot Net WindowsForms Interview Questions :: ALLInterview.com http://www.allinterview.com Top Dot Net WindowsForms Interview Questions en-us what is the Difference between listbox and combo box? http://www.allinterview.com/showanswers/26639.html In List Box we have to choose one of the option from the drop down list In Combo just like radio button we have to choose any one which property is used to lock a textbox to enter data? http://www.allinterview.com/showanswers/26634.html TextBox.Enabled = True; This property is used to lock the text box to enter data. what is the difference between checkbox and radiobutton? http://www.allinterview.com/showanswers/11085.html In check box you can have multiple choice but in case of radio button you have select any one at a time. If you are calling three SPs from a window application how do u check http://www.allinterview.com/showanswers/20715.html We can check the performance of SP's with SQL Profiler What are different authentication types. How do you retrieve user id http://www.allinterview.com/showanswers/20394.html There are mainly three types of authentication types in .NET. These are i) Forms Authentication. ii) Windows Authentication. iii)Passport Authentication. what are events? http://www.allinterview.com/showanswers/11086.html Event means action performed on a component. What is datagrid? http://www.allinterview.com/showanswers/20129.html Datagrid is a server control to display retrieved values from database in Formated way What is boxing and how it is done internally? http://www.allinterview.com/showanswers/20396.html Boxing is an implicit conversion of a value type to the type object int i = 123; // A value type Object box = i // Boxing CASTING: casting is the process of converting a variable from one type to another (from a string to an integer) Un which Property is used to count no. of items in a combobox? http://www.allinterview.com/showanswers/26627.html combobox1.items.count How do you hide the columns in datagrid? http://www.allinterview.com/showanswers/20133.html In the html source of datagrid, add "visible=true" to the item template of corresponding row. what are the types of combo box? http://www.allinterview.com/showanswers/26621.html There are 3 types 1.simple 2.dropdown 3.dropdownlist How do you customize the column content inside the datagrid? http://www.allinterview.com/showanswers/20131.html 1.Right click on the datagrid 2.click property builder 3.A datagrid properties window is opened.u will find few options on left side like general,column,paging,format. 4.double click on coloumn u will get boundcolumn,button coloumn ,hyperlink List out controls which does not have events? http://www.allinterview.com/showanswers/26612.html Line and shape control donot have any events. Similarly, Pointer control also doesn't have any events. which property of menu cannot be set at run time? http://www.allinterview.com/showanswers/26637.html Name property How insert recored in the database http://www.allinterview.com/showanswers/33296.html insert into <tablename> values (Parm1,parm2....)