Nagaraj’s .NET Information Site

A Place to Start .NET

FAQ

¤¤¤   FAQ’s  ¤¤¤


C# interview faqs

State/Session Related in ASP.NET

Smart Devices Related [ Very Useful ]

faqs-aspnet-ms-exam-blog.pdf

FAQ’s

 Are private class-level variables inherited?
Yes, but they are not accessible.  Although they are not visible or accessible via the class interface, they are inherited. 

- What’s the top .NET class that everything is derived from?
System.Object

- the term immutable mean?
The data value may not be changed.  Note: The
variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory

- the advantage of using System.Text.StringBuilder over System.String?
StringBuilder is more efficient in cases where there is a large amount of string manipulation.  Strings are immutable, so each time a string is changed, a new instance in memory is created.

- Can you store multiple data types in System.Array?
No

- What’s the implicit name of the parameter that gets passed into the set method/property of a class?
value.  The data type of the value parameter is defined by whatever data type the property is declared as. 

- What is the role of the DataReader class in ADO.NET connections?
It returns a read-only, forward-only rowset from the data source.  A DataReader provides fast access when a forward-only sequential read is needed

What is a satellite assembly?
When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies. 

———————- That’s all for now

One of the troubling question faced by my past students is differences between abstract class and interfaces here is the final solution as doc file

Abstract Class and Interfaces

lets continue with other questions

  1. Explain about Protected and protected internal, “internal” access-specifier?
    protected – Access is limited to the containing class or types derived from the containing class.
    internal – Access is limited to the current assembly.
    protected internal – Access is limited to the current assembly or types derived from the containing class. 
  2. Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?
    (Class constructor method is also known as type constructor or type initializer)
    Instance constructor is executed when a new instance of type is created and the class constructor is executed after the type is loaded and before any one of the type members is accessed. (It will get executed only 1st time, when we call any static methods/fields in the same class.) Class constructors are used for static field initialization. Only one class constructor per type is permitted, and it cannot use the vararg (variable argument) calling convention.
    A static constructor is used to initialize a class. It is called automatically to initialize the class before the first instance is created or any static members are referenced.
  3. What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
    A: When a class declares only private instance constructors, it is not possible for classes outside the program to derive from the class or to directly create instances of it. (Except Nested classes)
    Make a constructor private if:
    - You want it to be available only to the class itself. For example, you might have a special constructor used only in the implementation of your class’ Clone method.
    - You do not want instances of your component to be created. For example, you may have a class containing nothing but Shared utility functions, and no instance data. Creating instances of the class would waste memory.
  4. I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?
    (yes)
  5. Overloaded constructor will call default constructor internally?
    (no)

          —————————————————

143 Comments »

  1. hi sir, i am ur student ,my problem
    is i know subject sir but my problem is i am poor in explain my points please help me sir to develop my skills

    Comment by Nageswararao | May 22, 2012 | Reply

  2. Hello sir,I am ashok .Your Asp.net student coming to 7.30 pm bactch .Sir I have a prolblem with SMSTO INDIA webservice .

    when I am clikcing that link button it gives bellow message .I wont message to any mobile please clarify my doubt.

    Provider:Status:Please enter correct from email address to send this message

    Comment by ashok | April 22, 2012 | Reply

  3. Hi Sir,

    How r u? I’m one of your WCF batch student. I’ve a WCF service developed as Service Library. This needs to be hosted in IIS7.0. Can you please let me know how can we achieve this. Please let me know good resource to explore more information on this.

    Thank you sir.

    Comment by Raveendra | April 1, 2012 | Reply

  4. A page can have only one server-side Form tag

    Comment by biswakesan swain | March 31, 2012 | Reply

  5. Hello sir,I am Ashok,coming to your 7.30 pm batch .I got an error in Mail Program smtp

    SmtpClient serverobj = new SmtpClient();
    serverobj.Credentials = new NetworkCredential(TextBox1.Text, TextBox2.Text);
    serverobj.Port = 587;
    serverobj.Host = “smtp.gmail.com”;
    serverobj.EnableSsl = true;

    msgobj = new MailMessage();
    msgobj.From = new MailAddress(TextBox1.Text, “MyInfo”, System.Text.Encoding.UTF8);
    msgobj.To.Add(TextBox3.Text);
    msgobj.Subject = TextBox4.Text;
    msgobj.Body = TextBox5.Text;
    msgobj.Attachments.Add(new Attachment(MapPath(“freshersfn 040.jpg”)));
    msgobj.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;

    serverobj.Send(msgobj);//error In this line
    Label1.Text = “Mail Sent Successfully”;

    Error:Service not available, closing transmission channel. The server response was: Cannot establish SSL with SMTP server 173.194.79.108:587, SSL_connect error 336031996

    please verity my program & give solution

    Thanking you sir

    Comment by Ashok | March 29, 2012 | Reply

  6. Hello Sir,

    I am N.ashokkumar,coming to your 7.30 pm batch.I am fresher so may i required to do Microsoft certification to get job?
    Can you give any reference to me .Please help me sir

    Thanking you sir.

    Comment by Ashok | March 26, 2012 | Reply

  7. Hello sir,

    I have a problem with GridViewDemo ie to Edit,Delete ,Update and cancel .When i am going to delete record it giving an error:
    “The object cannot be deleted because it was not found in the ObjectStateManager.”
    Mycode:

    pubs1Model.pubs1Entities p = new pubs1Model.pubs1Entities();
    var x = (from n in p.jobs select n.job_id == id).First();

    p.DeleteObject(x);//Getting error in this place —-
    p.SaveChanges();

    please calrify my doubt

    Thanking you sir

    Comment by Ashok | March 26, 2012 | Reply

    • var x = (from n in p.jobs select n.job_id == id).First();
      change the above line to

      var x = (from n in p.jobs where n.job_id == id select n).FirstorDefault();

      Comment by Nagaraju | March 26, 2012 | Reply

      • Thank you sir,Its working

        Comment by Ashok | March 28, 2012

  8. respected sir,
    i was your student of wcf class in 2010.now i am working for ZOLT INFO SOLUTION.in my project requirement of download the zip file.i tried for that but file stream is not retrieving from the service.will please guide me how to retrieve that datastream.i tried bellow code.
    server side code:
    [ServiceContract]
    public interface IService2
    {
    [OperationContract]
    classobject Download(objectcalss fils);

    }
    [MessageContract]
    public class classobject
    {
    [MessageBodyMember]
    public System.IO.Stream Data;
    }
    [MessageContract]
    public class objectcalss
    {
    [MessageBodyMember]
    public string filename;
    [MessageBodyMember]
    public string filepath;
    [MessageBodyMember]
    public string vancode;
    }

    public class Service2 : IService2
    {

    #region IService2 Members

    public classobject Download(objectcalss fils)
    {
    classobject obj = new classobject();
    string path1 = “C:\\DataToUpload\\26-02-12″;
    string filename = “Data#2012#26-02-12Zip”;
    string both = Path.Combine(path1, filename);
    obj.Data = new FileStream(both, FileMode.Open, FileAccess.Read);
    return obj;
    }

    #endregion
    }
    client side code:
    ServiceReference1.Service2Client proxy = new WindowsFormsApplication3.ServiceReference1.Service2Client();
    private void Form1_Load(object sender, EventArgs e)
    {
    string filename = “naidu”;
    string vancode = “987dks”;
    FileStream fs = null;
    string filepath=”jflsj”;
    proxy.Download(filename, filepath, vancode);
    }
    }
    Thank you sir.

    Comment by brahmanaidu | February 28, 2012 | Reply

  9. Hi Nagaraj Sir,

    i am ASP.Net developer and got information from your students about you & this website. i am facing below issue. please help me to find the root cause for this.

    The code “System.Threading.Thread.CurrentPrincipal.Identity.Name” returning null / empty some times so that web service is using app pool service account instead of domain user account.

    Can you please tell me when and in which scenario the above code will return null / empty string.

    When and in what scenario the Web (WCF) service will use app pool instead of domain user account.

    Please help us to resolve the issue.

    Comment by ram | February 21, 2012 | Reply

    • need code to check this

      Comment by Nagaraju | February 28, 2012 | Reply

  10. hello sir,

    I am a old student of asp.net..I want a sample database(pubs).It Got deleted in my system..so please provide

    Comment by ANUDEEP | February 12, 2012 | Reply

    • it is there in my download – nit students

      Comment by Nagaraju | February 28, 2012 | Reply

  11. Hi Sir,
    Hope you are doing well.It is a great point that your english pronounce is very effective for me.give some .net idea to develop my skills.

    Thanks & Regards,
    sankarnath

    Comment by sankarnath | February 2, 2012 | Reply

  12. hello sir
    while developing the application for sending an email im encountered with the following error plz help me
    The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.

    Comment by satya | January 24, 2012 | Reply

  13. Hi sir , downloads are not working please check once

    Comment by karthik | January 18, 2012 | Reply

    • they are working just right click and select save as

      Comment by Nagaraju | February 28, 2012 | Reply

  14. Hi Sir..
    I was one of your recent student and am in Bangalore right now.Sir,The Knowledge that You gave us wre exceptional..When I show my notes or tell my team leader and my colleagues, the concepts that u used to tell us in the class,they look gaped in astonishment….

    Now,actually I am Using Generic Handlers in one of my project pages with FileUpload controls to view images
    before uploading..I am able to do that with Single FileUpload and Single Handler.But with Multiple FileUpload controls,I get a problem..wat happens is,when I select image through 2nd fileupload control,My 1st image that I selected using the First Upload coNTrol vanishes after the postback..I even used 2 updatepanels ,where 1 update panel has 1fileupload and 1 asp:image..But still the output is the same..

    So,would you please take some time out of your busy schedule to just have a glance to my problm..I have been searching all through the internet but no such scenarios has been discussed as i found..also I have posted my question on many Forums from where also I have not received any response yet…..

    If possible,Please let me know where can I post my code and details so that U can have a better understanding of the situation..

    Thanks anyway for all your support throughout,sir….

    Comment by Rahul Ranjan | October 17, 2011 | Reply

    • send me the program as zip i will check and revert back to you

      Comment by Nagaraju | October 17, 2011 | Reply

  15. Hi Sir,

    When you are starting EDM model in your morning .net 9-10 am batch.
    I am your presently going on WCF at 7.45 pm batch student ,it would be so grate if I go thru the EDM model concept which I am not aware of.

    Thanks,
    Farid.

    Comment by Farid | October 16, 2011 | Reply

  16. Hi sir,
    Sir i was your student of asp.net of December 2010 batch. Sir i am doing a academic project and i need to develop a video conferencing app in my project. What shall i do now? Can you plz help me?

    Comment by Akshay | August 30, 2011 | Reply

    • you can do provided you must have good knowledge in C#.NET applications.

      Comment by Nagaraju | August 30, 2011 | Reply

  17. sir
    i am a student of nit attending your wcf batch at 7.30pm. i just need to know that VisalStudio.net-4 and all its feature will it work in windows 7 professonal

    Comment by sidharth satyabrata dash | August 29, 2011 | Reply

    • yes they will work

      Comment by Nagaraju | August 30, 2011 | Reply

  18. sir iam ur old student please give me .net interview questions book.

    Comment by suresh reddy | August 29, 2011 | Reply

    • I don’t have pdf of the book – you need to buy online or purchase from any computer bookstore

      Comment by Nagaraju | August 29, 2011 | Reply

  19. sir i am cuming 7:30 to 9 pm batch sir, sir i ma not getting images in the child class pages. i wrote the resolve url also error is cumming sir ,resolve url is not found telling the error. sir pls help me how to get images sir.

    Comment by suresh | August 26, 2011 | Reply

    • ResolveUrl is the right one don’t give any spaces and all – it will work – still getting error post the line that you have written in your program

      Comment by Nagaraju | August 26, 2011 | Reply

      • src=”%=ResolveUrl(“~”)%>images/India.png” />.i wrote like tis but iam not getting sir

        Comment by suresh | August 26, 2011

      • sir i got the images in child pages also sir thank u very much sir, u r teaching very nicely sir i ma getting gud subject also sir ,sir i am interested to write certification exam sir pls give me sugeestion to me sir ,

        Comment by suresh | August 26, 2011

  20. Hello Sir
    I am ur student .
    I will be developing application to get the question from text book and saving data in gridview but i will get some error
    register tag priffix in configuration file. i was try in web .config file but i will never get any solution .
    plz give me rply argently…………..

    Comment by Mahesh Ghodke | August 19, 2011 | Reply

  21. Sir,

    I am ur old batch student.
    Please post .Net interview questions book written by you sir,
    We shall be evergrateful.

    Comment by Mallikharjuna | August 10, 2011 | Reply

    • there is no pdf with me – u have to buy this online/shop.

      Comment by Nagaraju | August 10, 2011 | Reply

  22. Its an amazing post……makes concepts very clear….please keep em coming

    Comment by Supriya | July 25, 2011 | Reply

  23. sir i am sindhui am ur student can i get information about microsoft certifications and how to prepare for them and what books to follow approach to exams

    Comment by Sindhu | June 16, 2011 | Reply

  24. Dear sir, i am nit student. I want to know about URL Rewriting.Please post some useful data about it.
    thanks

    Comment by ashish | June 7, 2011 | Reply

  25. sir,i am attending wpf classes at 7.30pm.
    1.how to deploy a database into u r windows applications.
    2.how we restore a video into db;
    can u plz help me sir

    Thanking You Sir,
    Madhuri.

    Comment by madhuri | March 17, 2011 | Reply

  26. Hai sir,
    this website is very usefull to all .Net Family so Iam feeling is very happy.

    I was trying to run a website then it was given one error that is “Unable to connect to ASP.NET web development server” and I didn’t have any other running .NET systems so please tell me website name to download a webdev.webserver.exe.

    thanking you sir
    Rgards
    sravan kumar

    Comment by vollala sravankumar | January 19, 2011 | Reply

  27. Hello Sir,
    i have practiced with Data Binding with LINQ using ADO.NET Entity Data Model, sir can you please provide the information using LAMBDA Expressions?

    Comment by Krishna Reddy | January 4, 2011 | Reply

  28. Dear Sir,
    I completed my mca-2008. i am not employed anywhere. I have to learn .net. how is the opportunities in .net. What is the microsoft dynamics and siebel is there any openings for it. plz sir give me an advice.
    thanking u sir.

    Comment by Praveen | December 21, 2010 | Reply

  29. Sir,

    Pls guide me which is the best method and
    world wide folow method that to write business class.

    Comment by manjunath | December 13, 2010 | Reply

  30. Hi Sir. Could you please add an article on Asp.net MVC?

    Comment by Bhanu | November 21, 2010 | Reply

  31. Sir,

    How to get current rowindex in Rowcommand of Gridview?

    Comment by dln | November 15, 2010 | Reply

  32. please reply this sir ,its very urgent…..

    sir ,
    iam adilaxmi,ur student in naresh institute.at present iam in bangalore,working in ‘bluechip computer consultants pvt ltd’.this company has its own product for which i have 2 work on asp 6.0 and vb 3.0.now iam in training,iam getting so many doubts.so can u please give me ur pesonal number..plz sir,its very much needed 4 me sir…hope u responde 2 this mail positively sir…..

    Comment by adi lakshmi | August 20, 2010 | Reply

  33. Hello sir,
    I just want to know
    are you conducting any classes in Naresh Technology
    if so please let us know thru reply
    i am one of ur students i just want to learn about .net 3.0/3.5

    Comment by sujani | August 12, 2010 | Reply

  34. Hi Sir
    I am a 9-11am batch student of you and this is very helpful site for us sir. Thank you sir. You did a great job.
    Your way of teaching & realworld scenario examples are superb sir.

    Comment by VijayaBhaskar | July 31, 2010 | Reply

  35. Hello Sir
    I m big fan of you.
    I m your 6pm Asp batch student,i want to get some information regarding the microsoft recruitment process and what is the criteria required.and pls inform me when the new wcf batch will start.

    Comment by Gaurav | April 20, 2010 | Reply

  36. SIR ,
    I WANT TO SAY FEW MORE WORDS,… EVERY .NET DEVELOPER( NOVICE) MUST HAVE A TRINER LIKE U) FOR US .NET IS UNIMAGINABLE ,HORRIBLE WITHOUT A SIR LIKE NAGARAJ,.. PLZ DONT STOP TEACHING IN ANY CASE,…LAKHS ARE OWED FOR U FOR UR SERVICES,….
    REGARDS
    UR STUDENT AND FAN
    ANAND.

    Comment by T.ANAND | February 20, 2010 | Reply

  37. HI SIR,
    IM GREAT FAN OF U,..I WANT TO ASK U A SMALL DOUBT REGARDING DYNAMIC BUTTON,…

    “I DRAGGED A SERVERCONTROL BUTTON AND GAVE BUTTON_CLICK EVENT,IN DAT CLICK_EVENT I WROTE CODE FOR CREATING DYNAMIC BUTTON DYMBTN,AGAIN FOR DAT DYMBUTTON I GAVE CLICKEVENT, NOW I WANT TO CREATE DYNAMIC GRDVIEW WHEN I CLICKED DYNAMICBUTTON, THEN IN DAT DYNAMIC GRID, I WANT DATA FROM DATASOURCE,.. ALL IS WELL I WROTE ALL CODE BUT,..FOR DYNAMCI BUTTON WHEN PAGELOADED , THIS DYNBUTTON IS DISAPEEPEARING,SO DYNBTN_CLK EVENT IS NOT GETTING FIRE,..PLZ GIVE SOME SUGGESTION,…
    REGARDS,
    UR STUDENT,
    ANAND

    Comment by T.ANAND | February 20, 2010 | Reply

  38. Hi sir this is naresh
    I have a doubt
    Q)what are the providers in 1.0,2.0, i want seperatly and differ them ?

    Comment by G.Naresh Babu | February 16, 2010 | Reply

  39. Hello Sir,
    Thanks for giving good support on .net,wcf and wf.
    Regards
    Sudhir.M

    Comment by Sudhir Malireddy | September 17, 2009 | Reply

  40. Hello Sir,

    I’m very much happy to be a student of u sir, the way u teach is really too good n i’m waiting for ur new batch of ajax/wpf classes sir .plz start asap as i need to go uk.

    Thanking u in advance

    roja

    Comment by rosa | September 14, 2009 | Reply

  41. Hi sir…we all wish you a very happy ‘Teacher’s Day’.

    Comment by Sagar | September 5, 2009 | Reply

  42. firstly, thanks for responding to me sir.
    iam sorry to say sir that i was absent to those classes due to ill health,
    i know that is not a good reason but i have to desperately learn ‘state management’ as it is
    a very important topic.though i attended class from middle i could not understand it better as did not attend the basics.
    thanking you sir

    Comment by balaji | August 25, 2009 | Reply

  43. Hello Sir,

    I’m kishore one of your old student. With the knowledge given by you in .Net my career is running in a software company. Once again my heartful thanks to you sir.

    Sir, i have a doubt need to rectify from your side while using Master Page in web application “can we update/refresh only the ContentPlaceHolder instead of full page postback”.

    Hope you will advise me

    Thanks in advance
    Kishore

    Comment by Kishore | July 13, 2009 | Reply

  44. Hello sir,
    I am a big fan of yours ,the way you teach is mind blowing.I really feel proud to be your student…tanx for being my teacher.
    sir i am working on one ASP.Net application,wat i wanted to do is that upload a media(video only) file into chunks so that it gets uploaded in quick time.
    As i can simply upload the file but dont know how to divide the file into chunks and integrate it again at the receiving end.
    I hope you will help me.
    Thanks In Advance

    Thanks & Regards
    Naved

    Comment by Naved | June 18, 2009 | Reply

  45. Hello sir,
    I am your old student,If there is someone who feels .NET is a bit hard to learn….your teaching will make him feel like “It’s ok, go on do it now” that’s all that I can say you about your teaching sir since this is what I felt in your class..now c# become my passion to find ways of magic.

    But sir though I could develop several apps, I’m having several doubts in concept.

    Now I’m taking this as an advantage to ask you about “Threads”,My requirement is like this my app should be alive though some operation is being performed …I used thread and could call the method in separate thread but, coz of updating statusstrip as a part of the operation it shows a error like”Cross threading” ,I know this is due to crossing CLR thread..but I want to know how to overcome this….besides when I run the same app excluding status strip the execution time is considerablly high than running without thread ,profiler shows this is due to thread blocking so sir can you plss help me to overcome these probs? These makes me sleepless…no googling could direct me properly….

    Thanks in advance sir.

    Comment by mahesh | June 11, 2009 | Reply

  46. Hello sir….
    really proud to be your student….
    ur slow,steady nd depth in teachng approach really rocks…

    Comment by pradeep | May 25, 2009 | Reply

  47. hi sir when are you taking ajax/silverlight classes and plz do take in morning section.

    Comment by ram | May 5, 2009 | Reply

  48. hi sir, i have taken 2 validations Rangevalidator and RequiredFieldValidator for ProductId and set the Properties for RangeValidator as Controltovalidate, errormessage, minimumvalue, maximumvalue,type and Display dynamic property for both Rangevalidator and requiredfieldvalidator.
    but the problem is that if i am giving more than min and max value displaying in rangevalidator and if i m not enering anything error msg i coming on requiredfieldvalidator…its not displaying in a proper row order do i need to set any other property please suggest me sir..

    Comment by ram | May 2, 2009 | Reply

  49. sir,please inform us when u will take ajax and silverlight classes…we all are waiting for that sir..

    Comment by savithri | February 3, 2009 | Reply

  50. sir

    this is vijay…sir let me know that when ur going to start silverlight sessions sir…my self and my friends 20 members are eagerly waiting to join in that sir,,,,

    Comment by vijay | January 3, 2009 | Reply

  51. Hello sir,
    I have been developing a desktop application for sending SMS.This project has a local database(MS-Access).After publishing its setup and when i am using this application in another computer , its gives error about Database path.
    so plz sir, tell me what will be the “Data source” and how can i use the Database in another computer?
    Good day sir….

    Comment by Ashutosh shukla | December 27, 2008 | Reply

  52. Hi sir,

    I’m with your ASP.NET 6 PM batch. I’m eagerly waiting to learn Ajax and SilverLight. when could probably the classes start?? As I could not get an expected date from the office.

    Comment by Srujan | December 11, 2008 | Reply

  53. Sir,
    Again sorry to disturb u atlast we tried and we got it if there is any doubts we will inform u again.
    Thank you….

    Comment by Krishna chandar | December 4, 2008 | Reply

  54. Sir another request is kindly please give exercises for every class and for every topic that should be doable by us………

    thank you ….

    Comment by Krishna chandar | December 4, 2008 | Reply

  55. Sir,Can u please suggest us how to load all the table names in a single database into a dropdownlist control…….

    we are asp.net 6:00pm batch at present we are at the topic Databinding……

    please help us as early as possible………….

    Comment by Krishna chandar | December 4, 2008 | Reply

  56. Hi Sir,
    I visited website first time sir,it is very nice.With ur training i selected one small company recently(3 months)in bangalore.I compleated DOt net course in Dec-May 2008 batch.And my qualification is MCA.Here work is very less,if u give any task i willing to do sir.plz give any tasks or any information.

    Thanks and Regards
    Siva Sateesh

    Comment by siva sateesh | December 4, 2008 | Reply

  57. hi,
    I am Mehar I am working in Q3 Technologies as a Software Engineer. Currently i am working with Excel Addins for Excel 2003 and .net 2005. I have created one excel project. What are the Steps for making a setup for Excel Addin. I am using VSTO tool for office. I searched my web sites but i did’t get any exact solution could send the solution for making a setup.

    Thanks and Regards
    K Mehar
    S.E

    Comment by K Mehar | November 20, 2008 | Reply

  58. Hello sir,there is an oppurtunity for me i.e CMC Job Enabled Training (CJET ) is a placement program offered by CMC Ltd.wheather it is helpfull for me..i want ur advice regarding to this sir.plz send ur advice sir..

    Comment by pavan | November 8, 2008 | Reply

  59. Hai Sir How r u U r Teaching was very Nice

    Comment by Venkat | November 7, 2008 | Reply

  60. hi sir,
    my name is srinivas belongs to c# batch(11am).we all are expecting ajax from u.so kindly tell ajax in this batch at same timings. thank you sir,

    Comment by srinivas | November 3, 2008 | Reply

  61. Sir,

    I am Rupa,your student for the previous batch of asp.net. Sir will you be starting a new batch for C# in the near future? Please let us know.

    Thanks & Regards,

    Comment by Rupa | November 3, 2008 | Reply

  62. sir
    am shilpa am your previous asp.net batch student
    sir am doing one web based project with xml back end in that project i need show the records to gridview depending upon the gender there i need to show all the records who are male or female using xml back end sir amd xml file contains 50 records. sir please help doing this

    Comment by shilpa | October 26, 2008 | Reply

  63. Sir,

    We are very much comfortable with your teaching.
    Now Iam working on a project with my friends,in which my task is to convert the GridView Data into Excel,and Pdf formats.
    I completed the task of Exporting to Excel.But i need how to export to Pdf with out using third party tool.
    So,I request you to please help in this regard.
    Thanks in Advance.
    NandaKumar K,
    kumarkln@aol.com

    Comment by NandaKumar | October 10, 2008 | Reply

  64. 1)after hearing a c#.net classes of urs,i really feel the depth of knowledge u have and also i can assume how hardwork u have done.so i like to know abt ur way of approach in learning c#.net at ur beginning days.i mean i like to know the way getting knowledge in each topic in c#.net so that i can be best in c#.net,so pls send me ur reply to follow the way in learning topics in c#.net so that i can be best in that?i hope u understand my feelings and send me some really good tips to me.

    Comment by sumith | September 28, 2008 | Reply

  65. i like to know about the way of learning c#.net in a professioal way,when i listen ur classes,i know things well but after that i am not able to do …so inorder to do best in c#.net,in which way can i start learning and on what can i focus more?

    Comment by sumith | September 28, 2008 | Reply

  66. 1)sir,i am getting trouble with media element in wpf.when I use this control on a form,after executing, no element is seen there…its blank form ……..what will be the reason?

    2)I want to start a project in .net using win forms or wpf but i dont know what type of projects can we do using wpf,pls name some of them and also how to start a project(ie., its a stand alone project)

    Comment by sumith | September 28, 2008 | Reply

  67. Helllo Sir,where i can get the information and tutorials of
    Mobile programing and PDA programming.
    why because in my company i got a requirement to develop PDA programming.
    Thank You Sir.

    Comment by pawan | September 18, 2008 | Reply

  68. happy teachers day to a TRUE teacher

    Comment by nanda | September 5, 2008 | Reply

  69. Hai Sir,
    With your excellent attitude and constant guidance u have made my job really easy n my confidence really boosted. I have no words to express my gratitude other than to say ‘Thank you’ for all the classes..Finally our C# ended.

    As you mentioned Saturday is our last class iam expecting some topics from u,

    1.Crystal reports.(as u mentioned)
    2.C# 3.0 Features(just overview of all the features)
    3.Entity Framework

    It would be very helpful if u tell these

    coz now a days in most of the interviews they are expecting some awareness on the 3.0 features(Query Expressions,Lambda expressions etc etc)

    Thank you n keep going on with ur gud job sir….

    Comment by Padmanabha Rao | August 28, 2008 | Reply

  70. sir,
    i am attending to asp.net morning 8.30 batch.when i was working with gridview i am getting error that myds_tables[0] doesnot exist. i created database bjjobs, i created tables with name myds.sorry sir i did not attend ur class on aug15 .please suggest me what to do.sir please help me.

    Comment by sujatha | August 21, 2008 | Reply

  71. HAi sir,

    This is venkat ,i had listen u classes .net when u r going to start a new batch for ajax .that date pls keep in this site and provide Java script slides also for us

    Comment by Venkateswara Rao | August 20, 2008 | Reply

  72. Sir,

    I am your student of ASP.NET(morning 6.45 batch).
    I have written the code for global chat program.

    The code is as follows:
    (in button click event after entering the message)
    Session["sessionMsg"] = TextBox2.Text;
    if (Application["appMsg"] == null)
    Application["appMsg"] = Session["sessionMsg"];
    else
    Application["appMsg"] = Application["appMsg"].ToString() + “\n” + Session["userName"] + “:” + Session["sessionMsg"].ToString();
    TextBox1.Text = Application["appMsg"].ToString();
    TextBox2.Text = “”;

    Textbox2 is for entering the message and Textbox1 is for displaying all the messages of all users.
    (I have written other code also to take the user’s display name and stored that name in Session["userName"])

    It is working fine, but I want the global text to be refreshed as soon as any user enters some text. Is page auto refresh the only option for it? or is there any other method that I can use to get the text updated as soon as the user in other session enters some text. And one more thing, in the chat box I am displaying the user’s display name also beside the text he types in. I want the user’s display name to be in bold letters whereas the remaining text in normal font. Is it possible to have two types of fonts in the same text box which displays the contents dynamically? I mean like using \n for new line, is there any way to make some part of the text bold?

    Sir, if you have time please try to clear these doubts.

    Thanking you, Sir

    Comment by Zafi | August 12, 2008 | Reply

  73. Sir
    Please send me some information about
    How to publish a site in to internet from ASP.NET application.
    Please sir its very helpful for me and realtime employees of your students……………
    Thanking you sir

    Comment by Sri Harsha | August 10, 2008 | Reply

  74. Sir,
    I have completed ASP.Net in this week.
    Sir, i am developing Mobile Banking using ASP.NET2.0.
    Actually its my Academic Project developed using JSP.
    Is is possible to develop Mobile Banking?
    and after developing how we get Bank Web Services which provide their DataBase. and is it possible to publish my project in Windows Live Space ?

    Comment by murali | August 9, 2008 | Reply

  75. Hi sir,

    your way teaching is excellent.Pls provide us Java Script Notes also in this blog means uses and limitations like that

    Comment by Venkateswara Rao | August 8, 2008 | Reply

  76. Hi sir,
    This is satheesh.your way teaching is excellent.

    Comment by P.satheesh Kumar | July 25, 2008 | Reply

  77. For questions posted above please refer the interview questions in FAQ section of page. u will get answers.
    Thanks
    Nagaraj

    Comment by Nagaraju | July 23, 2008 | Reply

  78. hi sir ur way of teaching is excelnt

    thanking for ur feeding the classes r going well and sunday classes r nice chatroom,caring for students is also
    nice

    Comment by arun | July 22, 2008 | Reply

  79. Murali Check the posts data, every month they are updated, don’t look at the pages, surf the posts in the page.

    Thanks
    Nagaraj

    Comment by Nagaraju | July 22, 2008 | Reply

  80. Hello sir,

    It’s pleasure to me that as i am giving the comment.
    The Data palced in u r site was osam.
    But as u see that there are some links those not opened…
    and please update the data in u r site the same data as i am watching from the past 4 Months…… pls it should be helpful for me if update the data in ur site as soon as possible……

    These are some Of the Intervies Questions i had faced in Ventech Solutions in Chennai, a CMM level5 Company

    1.What is .Net?
    2.DIff btw java & .Net?
    3.Diff btw ASP & ASP.NET?
    4.what is Webservice?
    5.What is Dataset?
    6.Diff btw Dataset and DataReader?
    7.Diff btw ExecuteReader() & ExecuteNonQuery()
    8.What are the Validation controls available?
    9.Situations where we can use valdation controls
    (Have toexplain each and every control with example)
    10.What are WebUserControls?
    11.Diff btw WebUserControls & WebCustomControls?
    12.what is Disconnected Object?
    13.JavaScript in Validations?
    14.Difference btw Authentication and Authorization?
    15.what is Global.asax?

    thats all i had remembered

    Around 50 Min Technical interview all questions are from basics no problem ……… i had cleared the Technical round as well as H.R now i am employee of
    VENTECH SOLUTIONS…
    Chennai…

    Thank u for u r Excellent Guidence sir.
    And expect the same support from u sir.
    send me mail for Gmail id sir.
    please maintain a good contact with me sir.

    Regards,
    Murali Krishna.M

    Comment by Murali Krishna.M | July 16, 2008 | Reply

  81. Hello sir,

    Sir how to create a report services in sql server 2005 can you please give steps for it ,even though
    my question is not related to .net languages ,plz give solution for it.Bcoz i am trying with 2 plus over experience, mainly companies asked report service only. Please help me to do that application by your valuable reply.

    Comment by Ranjith | July 9, 2008 | Reply

  82. sir,

    i attended for valuelabs .In technical they asked me some questions like this,
    1.is code behind and business layer are same?
    2.what business layer contains?
    3.what extra controls added in .net3.5?
    4.about custom validation control?
    5.about regular expression validator?
    6.different types of directives with explanation?
    i was confused about first two.so plz give brief about those two.
    thanks,
    Nageswara Rao.garine

    Comment by G.Nageswara Rao | July 2, 2008 | Reply

  83. Hi Sir,

    Iam your c# and ASP.net student morning batch. I have 3yrs of experience. We are working on 1.1 right now. Thats why i am coming to your classes. Your way of teaching is excellant sir. i referred some people also to join your class.

    Sir, i want to write MCTS exam. Please guide me, how to approach. I saw your posts. but still i need some help

    If i want to write MCTS exam , i need to prepare both windows and Web app? and what else i need to cover ?

    could you please guide me then i will go in to the right path.

    Thanks,
    Rajitha

    Comment by Rajitha | June 23, 2008 | Reply

  84. what is diff b/n pagedirective & controldirective

    Comment by mahesh | June 20, 2008 | Reply

  85. 1) Usually, String is immutable which means once you have the content there you cannot change it. While StringBuilder is mutable because it allows you to change the content you have already placed.Notice that a string allows you to change the content but offcourse it creates a new string reference. For example, all string methods return a new string and don’t update the same string variable.When you have huge ammount of concatination, best recommendation to go for StringBuilder.

    2) Yes we can goto website and in properties click on configuration.
    3) To store page level state for variables/objects
    4) there is no .net 2.5. if it is 3.5 no need in standalone case.
    5) Refer SQL Server Query Select Top 5…
    6) Boxing – converting val to reference type
    UnBoxing – converting reference type to val type
    7) .master
    8) foreach ( x in (typecast) ){……. }

    All the Best
    Thanks
    Nagaraj

    Comment by Nagaraju | June 11, 2008 | Reply

  86. Dear sir

    on 8 th july i attended the valuelabs 1+ written test in that they asked below qstns
    1 what is the diff between string class and string builder class
    2 can we modify the web.config file through iis
    3 what is the use of view state?
    4 is iis necessary to run the app in .net2.5?
    5 write a query to get the top 5 price list in table which is having onle the name , price in the table , data is not sorted
    6 diff between boxing and unboxing
    7 what is the extension for master page
    8 how to read the contents in arraylist using for loop

    Comment by Radhakrishna | June 10, 2008 | Reply

  87. 1) using Javascript mouse event we have to stop
    2) Environment.Version will give and also somewhere in ASP.NET request object we can try
    3) Request.Url will give
    4) EventArgs is the second argument which is actually class through which the parameters are passed.
    5) For <form DefaultButton=”button1″ … will do
    6) Assign DataView as source to Datacontrol. No need to write any additional code
    7) ConfigurationManager.ConnectionStrings[]
    8) using Javascript Open with ClientClick event of ASP.NET Button.
    ——————–
    Why u are unable to answer these questions atleast few of them should be answered by u. Take Care

    Thnx

    Nagaraj

    Comment by Nagaraju | June 9, 2008 | Reply

  88. sir, i am attending for c# and ASP sessions n one of the my friend previously attend interview. The Questions are as follows : if you have time please send the answers to my mail.

    1)HOW TO DISABLE A RIGHT CLICK OPTION IN A WEB PAGE?
    2)HOW DO U FIND OUT WHAT VERSION OF ASP.NET I AM USING ON MY MACHINE?
    3)HOW DO U GET URL WITHOUT QUERY STRING?
    4)WHAT IS XXX (SCR AS OBJECT, E AS I:WHEN ARGS [ ] ?
    5)HOW CAN I TRIGGER A SUBMIT ON MY FORM WHEN THE ENTER KEY IS PRESSED?
    6)HOW TO ENTER DATA IN THE DATAVIEW AND DISPLAY THE SAME IN DATACONTROL IN C#?
    7)HOW TO BUILD CONNECTION STRINGS FROM WEB.CONFIG FILE?
    8)HOW TO OPEN A NEW WINDOW WITHOUT IE MENUS AND TOOLBARS ON THE CLICK OF A BUTTON?

    Comment by sithara | June 9, 2008 | Reply

  89. very goodsite useful every student

    Comment by Naveen . K | May 25, 2008 | Reply

  90. Hi sir! this is naresh of ur previous batch i.e feb 2008
    i recently got recruited in a company with (1+ exp).which is product based and that deals the Bio-metric projects like finger print detection,face detection for that they are providing me a MEGA MATCHER SDK . i dont know how to use this third party library. can u suggest me valuable information on that SDK.

    Comment by naresh | April 10, 2008 | Reply

  91. Hi sir,
    when using login page ,once i login again it will go to login page when i click back button how to disable that.
    In the same way once i sign out iam able to move to secured pages by clicking back button, how to avoid this….. please help me
    regards,
    Ravindra Reddy

    Comment by Ravindra Reddy | April 10, 2008 | Reply

  92. Sir,
    your teaching is good,
    I am understanding the things taught by u,

    Comment by Abitha | March 26, 2008 | Reply

  93. Hi sir,
    last weak u kept some materials for download .can u place it again.if possible xml material

    Comment by Ravindra reddy | March 16, 2008 | Reply

  94. Gud afternoon sir,

    I am student of NIT.

    First of all thank you for your guidance for al kinds of solutions. Sir am getting a problem while uploading multiple files into database using stored procedures. And also how to retrieve the data (text or image) from database.
    pls send us the code for this using fileupload control.

    thank you sir

    Comment by suma | March 11, 2008 | Reply

  95. Dear sir,
    I am ur student,learnig .Net Pack. Ur way of teaching is excellent. Its very impressive.This site is very useful for us. And it would be be better if its up to date…(I know u r very busy scheduled,even though please keep up to date.)Thank u sir,

    Comment by Rajesh Yeleti | February 5, 2008 | Reply

  96. hello sir
    i am ur student sir i want some projects using asp.net so please add some more projects in u r project block thanx sir

    Comment by gopinath | December 15, 2007 | Reply

  97. what is the difference between Anchor and Dock?

    Comment by subba reddy | November 25, 2007 | Reply

  98. Dear sir,

    Please suggest me best books for AJAX and WEBSERVICES.

    Thank you for your valuable guidance

    Comment by Mohammed Sayeed | November 20, 2007 | Reply

  99. hello sir,
    Good Afternoon
    This is Manjula,i am ur student n i am 2005 b.tech passout student. Sir my question is suppose if i kept 1 or 2 years experience(fake) then on which .net version interviewer going to ask question.

    - plz forward interview questions with answers(+1)n(+2) to my mail id.
    - can i get information about microsoft certifications and how to prepare for them and what books to follow approach to exams

    Comment by M.Manjula | November 19, 2007 | Reply

  100. Sir i am ur mor 8.30 asp batch student sir.I have one basic doubt.Can u explain the duties of compiler ,assembler,and interpreter Or compilation and execution process of C program.In the compilation process is assembler come into picture

    Comment by krishna chaitanya | November 17, 2007 | Reply

  101. sir,
    can u teach AJAX Controls for evening 6:30 batch?
    or we had to join seperately for AJAX?

    Comment by ranganadh | November 15, 2007 | Reply

  102. sir,
    I am pradeep Kumar taking .net course..I would like to know about ILDASM…

    Comment by pradeep kumar Mithinti | November 13, 2007 | Reply

  103. what is the difference between inline and code behind page model?

    Comment by dheeraj | November 8, 2007 | Reply

  104. sir,
    I am pawan attending ASP.NET and C#.Net class.
    I have one doubt in ASP.NET. How to make fixed header gridview like excel.Which have both scroll bars(I got) and fixed gridview headers i.e when i scroll vertical or horizontal scroll bar columns should be fixed(I have 23 columns and 15000 rows. i want without paging).if you can send some code or link it will be helpful.

    Regards
    Pawan

    Comment by Pawan | November 6, 2007 | Reply

  105. respected sir,
    sir ur class is too good to learn real time concepts ur teaching is exlent sir
    sir yesterday we learned mailing concept,if i run in local smtp server(iis) what id i will give to send mail to my system i gave serverhost was local host
    thanking you sir,

    Comment by rahul | November 6, 2007 | Reply

  106. Hi,
    How to receive my Oracle Database SMS message from PDA.
    pls give me solution

    Comment by Sudha | November 5, 2007 | Reply

  107. sir,

    good morning,

    i have a problem in ms.net i.e,

    In Dotnet we run the program automatically dll file is created.but i will run the program output is coming but dll files are not created.why?

    please give me the answer,

    Thank u,
    Prasad.

    Comment by prasad | November 4, 2007 | Reply

  108. sir,
    iam doing my ASP.net program ,when it starts .net shows a message like “ASP.net failure to configure ur website”.In proper way iam creating my website sir ,So how to solve it sir,thanking u sir .

    Comment by kasiviswanath | November 4, 2007 | Reply

  109. sir,
    iam doing one project my project theme is administrator
    provide diffrent styles of id crads,and users used them for id cards but this is required runtime controle which is used to set picture box and all requierd filds but i dont how it implement like .net controls plz help me sir
    thankyou sir

    Comment by rahul | November 3, 2007 | Reply

  110. thanq

    Comment by jyothi m | November 2, 2007 | Reply

  111. Hi sir

    plz forward interview questions(+1) to my mail id.

    Comment by jyothi | November 2, 2007 | Reply

  112. Hi Sir,
    First of Very thankful to u for given immediate reply and for this notes.Plz update some more notes on this site.Aswell plz update that comment no.18 questions.
    Thank u sir……….

    Comment by Rekha sri | October 26, 2007 | Reply

  113. sir, i am attending for c# and ASP sessions n one of the my friend previously attend to exensys(Previously known as Holool India) interview. The list of Questions are as follows : try to answer all the questions and please send the answers to my mail.

    1. Use of Enable view state ? if turn off what happen ?
    2. Response.write,server.transfer difference which one is used when ?
    3. server.transfer limitation ?
    4. how can i kill user session ?
    5. wild card character in sql ?
    6. can aspx page contains two pager tags ?
    7. can aspx page have multi language declarations ?
    8. readonly syntax ?
    9. which control is used to compare two controls?
    10. two common propertys for any validation contro ?
    11. what is an assembly ?
    12. what is inheritancy where u required ?
    13 polymorphism and advantage ?
    14. what is the method while we are using adapter and dataset ?
    15. what are the things we generally declare in session_start , application_start ?
    16. .net class library to find unique key?
    17. can Array contains different datatypes ?
    18. ACID properties ?
    19. which tag i need to use manually to bind columns in a datagrid ?
    20. throw exception and rethrowing difference. ?
    21. when garbage collector come into picture. ?
    22. what is code behined and an aspx files are for?
    23. how u maintain data while navigating one page to another

    Please send the answers……………..

    Comment by Haribabu | October 17, 2007 | Reply

  114. hi sir,
    ur teaching is really excellent. im doing successfully the xercises u r giving in class but i missed ur introduction classes. my doubt is what is difference between doing a project n web form (i mean y c sharp is for and asp is for?)
    though my doubt is silly plz answer me
    -naveen

    Comment by naveen | October 17, 2007 | Reply

  115. hello sir iam your c# and ASP.net student o morning batch
    your way of teaching is very good please carry on in that way only dont consider anybody iam grasping more and more subject from u your way of explanation is very very good and please give one example for each and every concept through that we gain more

    thanking you sir…………….

    Comment by kasthuri kedharnadh | October 16, 2007 | Reply

  116. Good Afternoon sir,
    Iam ur old student.I need a help from u sir.we are using 3rd party software(worldpay.com)for payments.This is my task in my project.I dont know how to start.iam not getting any idea how to do but iam much interested to do.
    i gathered some information from worldpay.com ,but still i want some more information from you sir.
    Thanking You sir

    Comment by Revati | October 15, 2007 | Reply

  117. sir,

    we r not able to see the second project(consultancy project) please help us and proceed us to do the project

    Comment by harini1827 | October 9, 2007 | Reply

  118. sir i am prasad i am ur student can i get information about microsoft certifications and how to prepare for them and what books to follow approach to exams
    i never miss ur classes i like them very much
    i have already got placed in wipro and also got trained in .NET but to get sitll perfection i am very sure i can get perfection but i need to do still better in .NET

    Comment by prasadparuchuri | October 7, 2007 | Reply

  119. Sir,
    Your teaching was really excellent.
    We are really thankful to you sir.

    Comment by Haritha | October 4, 2007 | Reply

  120. sir,
    i have one problem with my pc. when i open IIS in settings
    it opens but there is no tree to expand on left hand side. sir plz kindly tell me what was the problem in it.

    Comment by sk.moulali | October 1, 2007 | Reply

  121. Respected Sir,

    I have querry on openings. Right now im a student in ur class, i came to know regarding the openings(value labs etc..). After completing my course how do i get the information regarding the openings
    Waiting for ur reply..
    Thanking u,
    Swapna

    Comment by swapna | September 26, 2007 | Reply

  122. Thank u sir for providing this notes

    Comment by mahesh | September 24, 2007 | Reply

  123. Respected sir,

    Firstly i am a big fan for ur teaching and the topics that u have covered in ASP.NET and C#.NET.

    sir, a small doubt, when i am running my ASP.NET program using HTTP then my program is not renderring on the browser automatically but after building(running success) my program, if i open a new window (browse) and giving the path as shown the here ” http://localhost/websitename/default.aspx” it is renderring.

    note: my program is not throughing any errors , i am doing it windows vista and if it is with INTERNET EXPLORER OPTINS ,please specify those in detail.

    Comment by chiranjeevi | September 22, 2007 | Reply

  124. hi Sir,
    This is ur student pavan .ur teaching is excellent.so i now many to u

    Comment by pavan | September 20, 2007 | Reply

  125. verygood sites in .net slides is very usefull
    very thankfull sir

    Comment by mohanababu.sompalle | September 19, 2007 | Reply

  126. hi sir,
    this blog is really very useful for us,especially for interview going guys.we will be very thankfull to you if you post more interview questions in this blog.
    ok sir have a nice day.waitingfor your post.

    Comment by praveen | September 16, 2007 | Reply

  127. hai sir,
    thanking you sir because this kind of opportunites to given for the students. these are very helpful for the students

    Comment by prasanth | September 13, 2007 | Reply

  128. Sir,
    Iam Gayathri Your student at naresh institutes, i was little bit scary to raise doubts at class but i do conform them at labwork and your way of conceptual teaching is really excellent and we gain alot from these websites so keep on encouraging……………………….

    Comment by gayathri.Tanikella | September 13, 2007 | Reply

  129. Dear Sir,

    Thanking you sir providing these questions

    the questions are very useful.

    thank you sir,
    srinivas.m
    nit student

    Comment by srinivas.m | September 12, 2007 | Reply

  130. hi sir,
    we are eagarly waiting for this post from you,please post interview questions,so that we can prepare for it.

    Comment by praveen | September 6, 2007 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 456 other followers