| Back to Questions Page |
| |
| Question |
when we will use console ? |
Rank |
Answer Posted By |
|
Question Submitted By :: Vsreedevi |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Console applications can take only text based input and
also can give output in text format only.
Hence, console applications are best suited for
applications that should run as a scheduled job.
Also, console applications are the best choice while
learning a language.  |
| Banshi |
| |
| |
| Answer | consol is used only for web application  |
| Shekh Irfan Ali |
| |
| |
| Answer | Console is used if u want to Create a Windows Based
application. First Ans is correct.Second is wrong.  |
| Sonia |
| |
| |
|
|
| |
| Question |
how to get sum of two numbers in vb.net? |
Rank |
Answer Posted By |
|
Question Submitted By :: Vsreedevi |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Sub Main()
Dim x, y As Integer
Console.Write("Enter value of x: ")
x = Console.ReadLine()
Console.Write("Enter value of y: ")
y = Console.ReadLine()
Console.Write("Sum x+y = ")
Console.WriteLine(x + y)
Console.ReadLine()
End Sub  |
| Banshi |
| |
| |
| Answer | Sub Main()
Dim x, y, sum As Integer
Console.WriteLine("Enter two numbers")
x = Console.ReadLine()
y = Console.ReadLine()
sum = x + y
Console.WriteLine("Sum = " & sum)
Console.ReadLine()
'& is used for concatenation
End Sub  |
| Sonia |
| |
| |
| Question |
What is MSIL. |
Rank |
Answer Posted By |
|
Question Submitted By :: Nitin Rathi |
| This Interview Question Asked @ HDFC |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | MSIL stands for Microsoft Intermediate Language.
When compiling the source code to managed code in dotnet
environment, the compiler translates the source into
Microsoft intermediate language (MSIL). This is a CPU-
independent set of instructions that can efficiently be
converted to native code. Microsoft intermediate language
(MSIL) is a translation used as the output of a number of
compilers. It is the input to a just-in-time (JIT)
compiler. The Common Language Runtime includes a JIT
compiler for the conversion of MSIL to native code.  |
| Banshi |
| |
| |
| Answer | Microsoft Intermediate Langage.
All .net compilers converts the compled code into MSIL  |
| Anitha |
| |
| |
| Question |
can machine.config file orverrides web.config.
For example: if u set session timeout as 30 mins in
web.config file to a particular application and if u set
session timeout as 10 mins in machin.config. what will
happen and which session is set to the appliction?
|
Rank |
Answer Posted By |
|
Question Submitted By :: Sunilsurya |
| This Interview Question Asked @ SunGard |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | As the Web.Config file defines application level
settings.It'll override the settings of the machine.config
file.So the session timeout as 30 mins defined in web.config
file is set to the application.  |
| Alice |
| |
| |
| Question |
CONNECTIVITY OF SQL 2000 + VB USING ODBC.
steps i Follow-
1) Go to Control panel-->Admintrative Tools-->Double -click
Data sources(ODBC)-->click Add button-->I choose SQL server
(last option), Is it right or wrong option for connecting
to SQL 2000.Then a new screen appears Create a New
dataSource-->in name textbox,we can write anyname--Right or
wrong. suppose i enter sonia, & my server name is .,so I
enter . in server & click next button-->On the Next screen
i have checked the option With Sql server authentication--
>Login Id-sa, Password-->Blank-->Click next button-->Next--
>Finish-->Then I click on button Test Data source-->Mesage
Comes TESTS COMPLETED SUCCESSFULLY-->OK-->OK-->Ok.
These steps we have to do or not for Connectivity using
ODBC.
If yes,then what after these steps we have to do??Plz reply
me early ??Thx in advance.
|
Rank |
Answer Posted By |
|
Question Submitted By :: Sonia.sardana |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | You have to use this DSN name (in your case it is sonia) in
your VB code wherever you wish to establish a connection
between your VB application and your SQL server 2K database.  |
| Deepak G |
| |
| |
| Answer | You have to create the DSN programatically by using some
code.  |
| Ramu.m |
| |
| |
| Answer | You can used DSN Less Code here (which is more usefull
andimportant insteated of using DSN Coz when you run that
Application on Different PC, then you have to crete DSN
again..)
DSN Less Code for Connection MS ACCESS: or can connect any
db just need to change its provider:
dim con as new adodb.Connection
con.open "provider=microsoft.jet.oledb.4.0;" & "Data
Source= ur db path (there is no space btn Folder and File
Name)"  |
| Vikram |
| |
| |
| Question |
Connectivity of SQL 2000 + Vb. Using ODBC.
|
Rank |
Answer Posted By |
|
Question Submitted By :: Sonia.sardana |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | steps i Follow-
1) Go to Control panel-->Admintrative Tools-->Double -click
Data sources(ODBC)-->click Add button-->I choose SQL server
(last option), Is it right or wrong option for connecting
to SQL 2000.Then a new screen appears Create a New
dataSource-->in name textbox,we can write anyname--Right or
wrong. suppose i enter sonia, & my server name is .,so I
enter . in server & click next button-->On the Next screen
i have checked the option With Sql server authentication--
>Login Id-sa, Password-->Blank-->Click next button-->Next--
>Finish-->Then I click on button Test Data source-->Mesage
Comes TESTS COMPLETED SUCCESSFULLY-->OK-->OK-->Ok.
These steps we have to do or not for Connectivity using
ODBC.
If yes,then what after these steps we have to do??Plz reply
me early ??Thx in advance.
 |
| Sonia.sardana |
| |
| |
| Question |
what is connection pooling ? |
Rank |
Answer Posted By |
|
Question Submitted By :: Sunilsurya |
| This Interview Question Asked @ Vertex |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | When a connection is opened for the first time a connection
pool is created. Connection pooling works only when the
connection string is same. New connection object is not
opened for two connection requests having same connection
string. This is called as connection pooling.  |
| D. Shyamala |
| |
| |
| Answer | Connection pooling increases the performance of Web
applications by reusing active database connections instead
of creating a new connection with every request.
Connection pool manager maintains a pool of open database
connections. When a new connection requests come in, the
pool manager checks if the pool contains any unused
connections and returns one if available. If all
connections currently in the pool are busy and the maximum
pool size has not been reached, the new connection is
created and added to the pool.
When the pool reaches its maximum size all new connection
requests are being queued up until a connection in the pool
becomes available or the connection attempt times out.  |
| Madhunathanv |
| |
| |
| Answer | Apart From def of Connection Pooling
Connection pooling has 4 parameters:
1.)Connect Timeout - controls the wait period in seconds
when a new connection is requested, if this timeout
expires, an exception will be thrown. Default is 15
seconds.
2.)Max Pool Size - specifies the maximum size of your
connection pool. Default is 100. Most Web sites do not use
more than 40 connections under the heaviest load but it
depends on how long your database operations take to
complete.
3.)Min Pool Size - initial number of connections that will
be added to the pool upon its creation. Default is zero;
however, you may chose to set this to a small number such
as 5 if your application needs consistent response times
even after it was idle for hours. In this case the first
user requests won't have to wait for those database
connections to establish.
4.)Pooling - controls if your connection pooling on or off.
Default as you may've guessed is true. Read on to see when
you may use Pooling=false setting.  |
| Madhunathanv |
| |
| |
| Question |
make a login control?? |
Rank |
Answer Posted By |
|
Question Submitted By :: Ajay Kumar |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Its available only in VS 2005...Just Drag and Drop from the
toolbox and Write code....
If u need code send msg.  |
| Kalirajan |
| |
| |
| Question |
what is impersonation in ASP.NET? |
Rank |
Answer Posted By |
|
Question Submitted By :: Muralisivam |
| This Interview Question Asked @ Merrill-Lynch |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Everthing that asp.net does is through the windows account
that is defined in machine .config which is aspnet.
Now if you want your application alone to run in a
different account, you can change this identity to be
changed temporarily so that the asp.net will run in another
account(provided it is a windows account)  |
| Srikanth |
| |
| |
| Answer | impersonation is the process of assigning a user account to
an unknown user.By default, the anonymous access account is
named IUSER_machinename. This account can be use to control
anonymous users' access to resources on the server.
This mechanism allows a server process to run using the
security credentials of the client. When the server is
impersonating the client, any operations performed by the
server are performed using the client's credentials.
Impersonation does not allow the server to access remote
resources on behalf of the client.  |
| Sachin [Mioot Technolgy] |
| |
| |
| Answer | you can enable the impersonation by adding below entry in
your application config file.
<identity impersonate="true"
userName="domain\user"
password="password" />  |
| Prince [Mioot Technolgy] |
| |
| |
| Answer | Impersonation is nothing but identity of a client.  |
| Rahul [Mioot Technolgy] |
| |
| |
| Question |
Is There any Third party tools are using in .Net
Technologies? Can u Explain? |
Rank |
Answer Posted By |
|
Question Submitted By :: Sharifuddin |
| This Interview Question Asked @ HCL |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | I know one third party that we are using in our
project .The name of the Third Party Tool is Telerik
Controls.If any body wants to know more about please visit
the site www.telerik.com.  |
| Venkat |
| |
| |
| Answer | there are more third party tools for .net, we are using
entity spaces.. also there are tools like doodads etc..  |
| Prathap.k.n |
| |
| |
| Question |
how many ways for pass the parameters in the fuction in c#
|
Rank |
Answer Posted By |
|
Question Submitted By :: Kapildalke |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | byvalor byref  |
| Srikanth Manda |
| |
| |
| Answer | Value Parameters or default parameter
Reference Parameter
out put Parameter
Parameter(Params) Arrays  |
| P. Menaka |
| |
| |
| Answer | there are ways where we can pass the parameters in c#,which
are:
call by value
call by refernce
call by pointer using keyword 'out'  |
| Amit V |
| |
| |
| Question |
what is the main differnce between const,readonly and static |
Rank |
Answer Posted By |
|
Question Submitted By :: Sunilsurya |
| This Interview Question Asked @ CDAC , Beehive System |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | const is used to create a constant value which will be
constant throuout the class
static is used for a commaon variable for all objects, it is
not part of a object, it is a part of class, every object
will share this value,
read,
there are many situation in which we want to intialize the
value of a constat variabl at run time, in which we can have
different values for different objects, with the help of
readonly we can define the value of any object at runtime
which will not be changed later  |
| Vijay Rana |
| |
| |
| Answer | const is the keyword where we can intialize the variable
with some value which is constant throughout the program it
cannot be changed.
static is the keyword which is intialized at complile time
and had to change at compile time only.
readonly is for the varible which is readonly cant be
changed.  |
| Komilla Shaheen |
| |
| |
| Answer | 1. we can initialize constant variable only at the
declaration where as readonly varaiable can be initialized
at either declaration or in constructor.
2. we can't use static modifier for the const variable
where as readonly variable can be declared as static  |
| Raja |
| |
| |
| Question |
Is .net is platform independent. If am using solaris,
installing .net first u had to install framework, so
framework is .exe file then it will not take in solaris or
any other than windows,then how .net is platform independent. |
Rank |
Answer Posted By |
|
Question Submitted By :: Salish.s |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | .Net has a different version called as MONO which is
platform indipendent.  |
| Satya Narayan Sahoo |
| |
| |
| Question |
What is a Repeater Control and how does it works? and what
is the diffrence b/w Gridview,datalist and repeater control? |
Rank |
Answer Posted By |
|
Question Submitted By :: Sharfuddin |
| This Interview Question Asked @ USi |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer | Gridview,Repeater and Datalist all are Data controls, which
are used to display the data.
Gridview:It contains predifined Structure
Repeater,Datalist Controls are Userdefined Based on
Templates  |
| Narasimha Reddy |
| |
| |
| Answer | Repeater having better performance compared to Gridview and
datalist.But, almost repeater can be done with custom
coding only.  |
| Vamshi Krishna |
| |
| |
|
| |
|
Back to Questions Page |