swapna


{ City } hyderabad
< Country > india
* Profession *
User No # 1739
Total Questions Posted # 142
Total Answers Posted # 68

Total Answers Posted for My Questions # 411
Total Views for My Questions # 1463608

Users Marked my Answers as Correct # 868
Users Marked my Answers as Wrong # 482
Answers / { swapna }

Question { Syntax Softtech, 5115 }

What is the result when the Web Form containing the
following line is complied and executed?


a) The button control is created; theEvent is the click
event handler.
b) Compiler error; the control must be set to runat=?server?.
c) Compiler error; onClick is not a valid attribute.
d) Runtime Exception; the control must be set to runat=?server?.


Answer

d) Runtime Exception; the control must be set to
runat=?server?.

Is This Answer Correct ?    2 Yes 2 No

Question { Syntax Softtech, 5770 }

What object is used to encapsulate a rowset?
a) DataSet
b) DataAdapter
c) DataRowSet
d) DataTable


Answer

DataSet

Is This Answer Correct ?    8 Yes 0 No


Question { Syntax Softtech, 4733 }

You have been given the task of designing a web services to
expose the data that is stored in a database on the server.
In order to successfully build the web services, you need to
import some namespaces. What is the minimum namespace you
need to import?



a) System.Web
b) System.WebServices
c) System.Web.Services
d) System.Web.ServiceModel


Answer

System.Web.Services

Is This Answer Correct ?    7 Yes 0 No

Question { 5225 }

How .Net has implemented security for web applications?


Answer

1) Authentication/Authorization
2) Encryption/Decryption
3) Maintaining web servers outside the corporate firewall.
etc.,

Is This Answer Correct ?    3 Yes 1 No

Question { 4895 }

What is role-based security?


Answer

Role Based Security lets you identify groups of users to
allow or deny based on their role in the organization.In
Windows NT and Windows XP, roles map to names used to
identify user groups.

Windows defines several built-in groups, including
Administrators, Users, and Guests.To allow or deny access
to certain groups of users, add the element to the
authorization list in your Web application's Web.config
file.e.g.

< authorization >
< allow roles="Domain Name\Administrators" / > < !--
Allow Administrators in domain. -- >
< deny users="*" / > < !--
Deny anyone else. -- >
< /authorization >

Is This Answer Correct ?    2 Yes 0 No

Question { Syntel, 77636 }

What are the access-specifiers available in c#?


Answer

Public,Private,Protected ,Friendly,protected friendly
are the access specifiers in c#.

Is This Answer Correct ?    37 Yes 182 No

Question { 7664 }

Is goto statement supported in C#? How about Java?


Answer

In java goto statement is not supported.
In c# also as far as i know goto statement is not supported.

Is This Answer Correct ?    3 Yes 6 No

Question { 6033 }

What?s different about switch statements in C#?


Answer

No fall-throughs allowed.

Is This Answer Correct ?    1 Yes 0 No

Question { 8545 }

Can you override private virtual methods?


Answer

No, we cannot access private methods in inherited classes.
They have to be protected in the base class to allow any
sort of access.

Is This Answer Correct ?    6 Yes 1 No

Question { 14462 }

Why can?t you specify the accessibility modifier for
methods inside the interface?


Answer

They all must be public. Therefore, to prevent us from
getting the false impression that we have choice to access,
so we are not allowed to specify any accessibility, it's
public by default.


Is This Answer Correct ?    18 Yes 2 No

Question { 5000 }

Can you inherit multiple interfaces?


Answer

Yes, why not.

Is This Answer Correct ?    4 Yes 0 No

Question { 5455 }

How can you overload a method?


Answer

we can overload a method by giving same method names with
different parameters. Parameters may differ in data type or
in number.
This is called method overloading .

Is This Answer Correct ?    1 Yes 0 No

Question { 4537 }

What?s the advantage of using System.Text.StringBuilder
over System.String?


Answer

StringBuilder is more efficient in the cases, where a lot
of manipulation is done to the text.

Strings are immutable, so each time it's being operated on,
a new instance is created

Is This Answer Correct ?    2 Yes 0 No

Question { 5058 }

How can you sort the elements of the array in descending
order?


Answer

By calling Sort() and Reverse() methods we can sort the
elements in descending order.

Is This Answer Correct ?    3 Yes 0 No

Question { 4447 }

Can multiple catch blocks be executed?


Answer

No, once the proper catch code fires off, the control is
transferred to the finally block (if there are any), and
then whatever follows the finally block.

Is This Answer Correct ?    8 Yes 0 No

Prev    1    [2]   3   4   5    Next