Posts

Showing posts from March, 2009

Object Oriented Programming (Part 1)

OOP : The Language of GOD Friends, now a days we see most of the programming languages are object oriented or the procedural lang. are getting converted into object oriented one by one. Today’s lecture covers on the basics on OOP and the clear view of Class and Objects. Before begin, let me know what do u think about the OOP   with examples. Well there are numerous answers that we have memorized with examples. But, maximum of us just crammed the definition of the terms of OOP and didn’t think deeply about it.  Now, before jumping in deeply, let me describe you it in brief. We all know, OOP means Object oriented programming. Which means the orientation between the objects and make the objects works together in our defined way in the virtual world.  Defined way means the programming language. Examples of the programming languages are Fortran, Cobol, C, C++, Java, Python, Cold Fusion, C#, Visual Basic and a lot more. These languages are of two types. One is Object oriented ...

Showing Data in DataGridView without using database::

Sometimes we want to see the values entered in the entry form temporarily and without the querying it from database. This can be done easily by the following procedure.   Suppose, I want to enter student’s name and roll and after clicking the add button, the name and roll of the student will be shown in the datagridview box. Remember, I am not willing to use the database to show the data in the datagridview box.   I am using a desktop application. That’s why I use windows form rather than web page for inputting the values. I will describe it in several steps for your better understanding.   1.        Open your visual studio 2005 and create a new project. Name it meaningfully and place it in a suitable location in your hard drive. Remember, you have to create a windows application. 2.        A blank form will appear and you have to design it with your own. a.        Since, we want to add just 2 fields, such as a student’s Name and Roll, you have to take 2 text box fiel...