PLEASE CHECK.IMPORTANT

Wednesday, February 11, 2009

TECHNICAL QUESTIONS

What is the advantage of packaging over xcopy in .NET ?

Posted:

With the help of xcopy we solve the problem of DLL HELL and com dependencies when we make xcopy of project all the dll, dependencies, assembly are updated automaticaly it’s a powerful feature of .NET

What is the difference between DataTable and DataSet?

Posted:

Data table is a collection of record’s that consist the single table Whenever dataset is collection of data table and it is provide interface between database and datatable 1 dataset consist multiple table.

What is the size of .NET object?

Posted:

Each instance of a reference type has two fields maintained by the runtime - a method table pointer and a sync block. These are 4 bytes each on a 32-bit system, making a total of 8 bytes per object overhead. Obviously the instance data for the type must be added to this to get the [...]

What is the significance of delegates. Where should they be used? what are the situations where we require them?

Posted:

Delegates are used as pointer to hold the controls actually i used the delegates when there is problem in VB.Net 2005 where each control is already threaded, to use my personla thread on these control i used delegates Ex: Private Delegate Sub dd() Dim d1 As New dd(AddressOf c1) Dim t1 As New Threading.Thread(AddressOf thread1) public sub Thread1() r1 = Me.Label1.BeginInvoke(d1) Me.Label1.EndInvoke(r1) end sub Public [...]

Explain about MCAD?

Posted:

The Microsoft Certified Application Developer (MCAD) credential provides industry recognition for professional developers who build powerful applications using Microsoft Visual Studio .NET and Web services on the Microsoft .NET Framework 1.0 and Microsoft .NET Framework 1.1

What is the difference between manifest and metadata?

Posted:

Manifest and metadata are 2 parts of assembly architecture. Manifest is used for storing AssemblyName, AssemblyTitle, publicKey. Metadata contains Namespaces, Classes

How do you search within a 2-dimensional array using VB.NET? How can I know that a value already exists in the array?

Posted:

Dim arr(1, 2) As String arr(0, 0) = “Sandip” arr(0, 1) = “India” arr(1, 0) = “Jon Doe” arr(1, 1) = “US” Console.WriteLine(arr.GetUpperBound(0).ToString()) [...]

How to convert mm/dd/yyyy to dd/mm/yyyy.

Posted:

DateTimePicker1.Format = DateTimePickerFormat.Custom DateTimePicker1.CustomFormat = “MM-dd-yyyy” DateTimePicker1.Text = Now MsgBox(DateTimePicker1.Text) DateTimePicker1.CustomFormat = “dd-MM-yyyy” DateTimePicker1.Text = Now MsgBox(DateTimePicker1.Text)

How can i retrieve records of a column having certain criteria and display the records in a list box?

Posted:

dim con as sqlconnection con=new sqlconnection(”server=visuall;database=urdbname;uid=sa;password=urpassword”) con.open() dimquerycommand as sqlcommand dim reader as sqldatareader querycommand=new sqlcommand(”select * from emp”,con) reader=querycommand.executereader() while(reader.reader()) listbox1.items.add(reader(0).tostring() & ” ” & reader(1).tostring() ) end while

What are the benefits of using Class Library?

Posted:

Simple!. Why do we have public library? Because once a book is written, many people can subscribe to it, and re-use it again and again. Right? In the same way once you create your own class libraries which have multiple functions and procedures, they can be published for your own use, as well as others rewriting [...]

No comments: