Error while accessing the uploaded website
Hi,recently I deployed a website using godaddy.Com.But while accessing the website we r not getting internal pages.I m getting an error likean error has occurred while establishing a connection to the server. When connecting to SQL server 2005, this failure may be caused by the fact that under the...
Explain the differences between server-side and client-side code?
The code which running at the client web browser is called client side scripting whereas code which is running at the web server is known as server side scripting..
Examples for client side scripting is: javascript,VBScript ..
Example for server side scripting is: ASP.NET,PHP,JavaEE ..
The code which executed on server is called server side code( .ASPX file whis server side code)
The code which is executed on client System is called client side code(Example: java script which is client side code)
How many types of assemblies are there , wat are they?
There are two types of assemblies 1.Private Assembly 2.Public/shared assembly -Private assemble that can be used only with in a software applications is called private assembly. -.Exe file extension...
public
private
protected
What is managed code and managed data?
Managed code is code that is written to target the services of the common language runtime. In order to target these services, the code must provide a minimum level of information (metadata) to the runtime. All c#, visual basic .Net, and jscript .Net code is managed by default. Visual studio .Net...
The code which is executed under the control of dotnet frame work which called as managed code
The code which targets clr while execution is called as managed code and the code which takes operating system help while execution is called as unmanaged code
Can we run dot.Net in UNIX plateform
Yes you can run becoz dotnet is platform independent language
there in no clr for unix to run......net became partially platform independent for this reason only
What is meant by line item dimension?
Line item dimension is a concept where the dimension precisely contains one characteristic.The line item dimension does not create a dimension table, instead the role of dimension table is taken by the characteristics of the SID table
.
Is .Net platform independent ?
.net framework is partially dependent and partially independent language. This is because the .net applications works on windows OS and also Linux OS (Of course with help of framework called MONO fram...
Because JVM supports all operating systems so Java is pure platform independent.
How can retrieve the data from database? What is cell in dot frameworks?
FOR CONNECT
1.establish the connection between the database
2.send the request(execute the command)
3.get the data form data base
4.close connection
Copy/Paste the code and study it. For me it works."c# using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using System.Data; namespace...
When we say that gc works on "heap" memory then how "stack" memory gets freed or deallocated? Can someone tell me the algorithm used by gc to free the memory?
Garbage collection removes the objects from heap after certain time.
.Net Frameworks -Memory Management Garbage Collector which manages allocation and release of memory from application.Now developers no need to worry about memory allocated for each object which is cre...
What is "common type system" (cts)?
cts provided common data type for all the languages ...like system.int 16 and system .int 32.....
CTS defines all basic types that every language must follow the dotnet framework
Example:
In VB.net declare integer as "Dim i as integer"
In C#.net declare integer as "integer i"
Why is catch (exception) almost always a bad idea?
in try block we write the code of error occurring coding..
To handle this error, program needs an handler to this error., So, we can handle this by using Catch handler
While executing the program the program may contain error and it will catch the error of your program.
What is ADO .Net? Define the data providers and classes of ADO.Net and its purpose with example?
ADO.Net: Activex data obejct. By using ADO.NET data can be retrieved from one data source and saved in another. ADO.NET is a part of .NET framework architecture. A DATA PROVIDER is used for connect...
ADO.Net: Activex data obejct. The most important section in ADO.NET architecture is "Data Provider". Data Provider provides access to datasource (SQL SERVER, ACCESS, ORACLE). ...
What is a delegate, how many types of delegates are there
A delegate is a reference type variable , which holds the reference of a method. This reference can be changed at run time , as desired. Two types of delegates :- 1. single-cast delegate - can call o...
A delegate will allow us to specify what the function we'll be calling looks like without having to specify which function to call. The declaration for a delegate looks just like the declaration for a...
What is the base class of .Net?
Object class is the base class of dot net
System.object is the base class for VB.NET
How many classes can a single .Net dll contain?
A single DLL contains many classes
Many
Differences between datagrid, datalist and repeater?
1. Datagrid has paging while datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (this is of great help in designing layouts). This is not there in datagrid. 3. A repeater is used when more intimate control over HTML generation is required. 4. When only...
Differences between Datagrid, Datalist and Repeater? 1. Datagrid has paging while Datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (This is of great help in...
Datagrid is most restrictive as regards to customization followed by DataList and finally Repeater is the most customizable.Datagrid has built in paging, sorting and editing capabilities which are not...
What is delayed signing? How can we do a delayed signing for a dll which has to be shared?
Delay signing allows you to place a shared assembly in the GAC by signing the assembly with just the public key. This allows the assembly to be signed with the private key at a later stage, when the d...
Delay signing is the process of adding strong name to the assembly at the later stage of development.Signing an assembly means adding a strong name to the assembly.As the strong name is added at the l...
What tag do you use to add a hyperlink column to the datagrid?
By specifying tag between tag , we add a hyperlink column to the data grid
ButtonColumn is used to add link to datagrid. & set the ButtonType to LinkButton
1.Right Click on your project in solution explorer
2.Select XMLfile in "add new itel list" and
3.Click on Add button
Now u will found a XML file in your project
XmlTextWriter textWriter=new XmlTextWriter("filename.xml"); //WriteStartDocument and WriteEndDocument methods open and close a document for writing textWriter.WriteStartDocument() /...
Explain how the page is executed in ASP.Net ?
Page Execution in asp.net life cycle is
1.PageInit()
2.Pageload()
3.Prerender()
4.Pageunload()
An ASP.Net page consists of, at a minimum, a single .aspx file and can contain other files associated also with the page. The .aspx file is called the content file as it has the visual content o...
Check whether you uploded SQL Server or not.
Start SQL Server agent service in windows services