On this page you can see list of all ASP.NET Interview Questions by topic. In most of the interviews, these questions are very frequently asked. If you have an asp.net question that is asked in a previous interview, please post it here.
|
Subscribe to:
Post Comments (Atom)
can u pls provide me some design pattern interview question and answer. and pls tell me if u know some C# openigns are there,.
ReplyDeletecan u please provide me some design pattern of interview question and answer. and please tell me if u know some .net openings are there.
ReplyDeletePlz provide ASP.PAGE life Cycles in Brif and Real Time
ReplyDeleteMSDN quote:
Delete"When an ASP.NET page runs, the page goes through a life cycle in which it performs a series of processing steps. These include initialization, instantiating controls, restoring and maintaining state, running event handler code, and rendering. It is important for you to understand the page life cycle so that you can write code at the appropriate life-cycle stage for the effect you intend."
is scripting only for web application ?explain
ReplyDeleteU should add a section for Object Oriented and .Net framework type questions...like what is a class, object, encapsulation, inheritance, examples of them, what is process, what is thread, what is asynchronous programming? etc.
ReplyDeleteGreat ........This is the best site i ever seen.....i get all info at one place......Good work
ReplyDeletenice...its very helpful.........
ReplyDeletehi venkat can i know u r details..... r u from hyderabad.... my name is jeevan sagar..... i am working as software developer from fortechsoft india ltd..since 3+years....good site yar keep going........
ReplyDeleteThis site must be Oscar awarded site. Awesome blog not seen such a blog ever in my life.....
ReplyDeleteWhat is the name of the 2nd file that is generated in the Default.aspx ..one is default.aspx.cs..what is the 2nd one and its purpose
ReplyDeleteSir,your videos will prove to be a turning point in my career. God bless you sir. Keep up the good work.
ReplyDeletehi sir your tutorials are really good and helpfull
ReplyDeletei have a problem that in my pc iis is instald and the ui also opening but in that window asp.net category is not there all other categories such as ftp,iis,management are displaying but main category i.e asp.net is not showing please help me i want to do smtp operations in that thankyou
sir can u tel me the errors in following code?
ReplyDeleteusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
public class Class1
{
public Class1()
{
public DataSet getinfo()
{
sqlConnection con=new sqlConnection("Data Source=SATISHRI\\SQLEXPRESS;Initial Catalog=satish;Integrated Security=True");
sqlDataAdapter da=new sqlDataAdapter("select * from student", con);
DataSet=new DataSet();
da.fill(ds);
return ds;
}
}
}
DataSet ds=new DataSet();
Deletecheck this line u have miss ds
DataSet ds=new DataSet();
DeleteHello sir , first of all thank you for doing such a nice task for us,its very useful .......
ReplyDeletePlease provide OOPs concepts also in a different section . Again thanks
hi sir your tutorials are really good and help full
ReplyDeletei have a small problem that is
1) what is the main differences b/w the machine.config and web.config....
2) configurationManager doesn't apper inspite of adding using system.configuration import statement without error? why?
3)what is the main difference b/w writing connectionstring in appsetting and connectionstrings section?
WEB.CONFIG:- The Web.Config files specify configuration setting for a particular web application and are located in the application root directory.
ReplyDeleteMACHINE.CONFIG:- The Machine.Config specifies configuration setting for all of websites on the web server and is located in $windowsdir$\microsoft.net\framework\version\config.
Validators in ASP.NET support which data type like int, string, both or none of these?????????
ReplyDeleteHI Venkat,
ReplyDeleteThanks for the videos and explanations. I have question like all the objects of same class will have same size of memory or not?
Eg: I have emp1 and emp2 two employee objects are there of the class Employee. Is the memory size of the emp1 and emp2 are equal or not?
how to create the crystal report in asp .net..
ReplyDeleteCan we store image in session??
ReplyDeleteAs you can store the Base64 string in Session so Convert the image in Base64 as follows.
Deleteusing (Image image = Image.FromFile(Path))
{
using (MemoryStream m = new MemoryStream())
{
image.Save(m, image.RawFormat);
byte[] imageBytes = m.ToArray();
// Convert byte[] to Base64 String
string base64String = Convert.ToBase64String(imageBytes);
return base64String;
}
}
Thanks for ur effort...really so useful ......could you please upload the coding part too which would generally ask in interviews
ReplyDeleteHi Venkat, Can you please give me the answer for below question. This was one of my interview questions
ReplyDeletehow do we retain our object in memory though we are not using it. Its memory should not be cleaned up by Garbage collector
Call GC.KeepAlive() method.. Helps to retain object from garbage collector.
DeleteDear Venkat Sir,
ReplyDeleteYour tutorials are very easy and method of teaching is great, I have almost all videos you published on the website, its very good experience to learn from these tutorials.
But there is one particular section which I am still confused
Postback and Page Events
Can you please explain what are these events(PRE_INT,INT,PRE_LOAD) and what are the things which we can do.
Thank you very much again........
hi . actually i applying SqlCommandBuilder.there occur a error . i m providing the script kindly let me know the solution on email mr.tayyabrasheed@yahoo.com
ReplyDeletehere is the script
string CS = ConfigurationManager.ConnectionStrings["DBCS"].ConnectionString;
using (SqlConnection con = new SqlConnection(CS))
{
SqlDataAdapter da = new SqlDataAdapter((string)ViewState["QUERRY"], con);
SqlCommandBuilder bldr = new SqlCommandBuilder();
bldr.DataAdapter = da;
DataSet ds = (DataSet)ViewState["DataSet"];
if (ds.Tables["STUDENT"].Rows.Count > 0)
{
DataRow dr = ds.Tables["STUDENT"].Rows[0];
dr["Name"]= TextBox3.Text ;
dr["Totalmarks"]=TextBox2.Text ;
dr["Gender"]= DropDownList1.SelectedValue;
}
int rowupdate= da.Update(ds,"STUDENT");
if (rowupdate > 0)
{
Label1.ForeColor = System.Drawing.Color.Green;
Label1.Text = "Row uodated = " + rowupdate.ToString();
}
else
{
Label1.ForeColor = System.Drawing.Color.Red;
Label1.Text = "NO Row uodated ";
}
Label2.Text = bldr.GetUpdateCommand().CommandText;
}
the error
ExecuteReader: CommandText property has not been initialized
Line 67: int rowupdate= da.Update(ds,"STUDENT");