Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
Query String Limitations
Posted By :
Posted Date :
October 18, 2013
1.Information must be within the limit because URL does not support many characters.
2.Information is clearly visible to the user, which leads to security threats.
You can also find related Interview Question to
Query String Limitations
The Query String helps in sending the page information to the server.
Query String Advantages
1.Every browser works with Query Strings.
2.It does not require server resources and so does not exert any kind of burden on the server.
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
The answer is TWO of the above questions
To create a string literal exclude escape sequence
@string. With adding @ at the beginning you can escape literal
String is an...........
String is an Object Type. where other data types are reference type in .NET
What is Query evaluation engine?
It executes low-level instruction generated by compiler.
Where do you store connection string?
Database connection string can be stored in the web config file.
The connection string can be stored in the WEB.Config file under
What does connection string consist of?
The connection string consists of the following parts:
Server: Whether local or remote.
Uid: User Id (sa-in sql server)
Password: The required password to be filled-in here
Database: The database name.
Difference between String.Empty and ""
The main difference is lies on memory management.
String.Empty will not create any object of string where as "" (Double Quote or Empty Quote) will create a new object in the memory for the checking the objects.
How do I convert a numeric type to a string?
Call Sytem.Object.ToString(). For example, if the variable count is an integer, write the following:
string text = count.ToString();
What is a schema? What are the limitations of a DTD?
SCHEMA is nothing but METADATA. The schema holds all the information of the xml file that is to be deployed in the project. Metatdata is nothing about data about data since we know that xml is used for data representation language we will be able to understand what metadata is. Metadata includes the tags that is going to be exchanged to and fro from another xml file. DTD (DATA TYPE DEFINITION ) which supervises two conditions namely well formedness and closeness of the xml file. So the user should be aware of what tags he was put into use of this xml file 'A' should be intimated to another application's XML file 'B', by then our xml file will interact with the another xml file, this is the major limitation and mandatory issue that the developers should follow.
How you will write a Connection String in web.Config fiel?
Ans) Then write below lines of code:
add name="sqlconnectionstring" connectionString="Data Source=INTHIYAAZ;Initial Catalog=DB;User ID=sa;Password=sa" />
What is Query binding ?
The binding of an object to a query
What's the advantage of using System.Text.StringBuilder over System.String?
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.
Quick Links For Interview Questions Categories:
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
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
Terms of Service
Tell A Friend