Title Pages

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Tilak Maharashtra Vidyapeeth, Pune

Faculty of Distance Education

ASP .NET

Bachelor of Computer Applications

B.C.A.

Third Year Sixth Semester


Tilak Maharashtra Vidyapeeth, Pune

Justice Vishwanath Palshikar (Retd. Chief Justice, High Court, B’bay)


Chancellor

Dr. Deepak Tilak


Vice-Chancellor

Dr. Umesh Keskar


Registrar

Mrs. Sunita Dighe


Head, Faculty of Distance Education

Mr. Sudhir Soman


Program Co-ordinator

EXPERTS COMMITTEE
Prof. Manohar Lal (Director, School of Computer & Information Science, IGNOU)
Dr. Akshay Kumar (School of Computer & Information Science, IGNOU)
Mr. Anup Girdhar (Member, Technical Advisory Board, IGNOU)
Dr. Ajaykumar (Director, JSPM, Pune)
Dr. Rahul Kulkarni (Member, Board of Studies, Computer Science, North Maharashtra University)
Dr. Anurag Seetha (Prof. & Dean, Computer Science & Engineering, Dr. C.V. Raman University)
Mr. Vishnu Abhyankar (Consultant)
Dr. Seema Rani (Consultant)

SIM PREPARATION
Mr. Ganesh Channa
Ms. Minal Kalamkar

COVER DESIGN

Mr. Chandrashekhar Kadam

August, 2011 (Revised)


© Tilak Maharashtra Vidyapeeth, Pune - 411 037.
All rights reserved. No part of this work may be reproduced in any form, by mimeograph or any other
means, without permission in writing from the Tilak Maharashtra Vidyapeeth.

Printed and Published by Registrar, Tilak Maharashtra Vidyapeeth, Gultekadi, Pune - 37.
Printed at Kesari Press, 568, Narayan Peth, Tilak Wada, Pune - 30.
PREFACE

Friends, it is indeed with great pleasure that we are placing the material
for B.C. A. in your hands.

It is well known that Tilak Maharashtra Vidyapeeth was established in


1921 with the aim of imparting national education. The Vidyapeeth was known
at the national and international level for its contribution to the fields of Sanskrit
and Ayurveda. After Independence, sensing the need of time a variety of courses
were introduced. The Vidyapeeth has done remarkable work in the field of
Social Sciences and Distance Education. After receiving the status of a
‘Deemed University’ in 1987, its horizon is further widening.

The concept of national education propounded by Lokmanya Tilak


implies that type of education which would enable a student to make
contribution to the development of our nation. With the inspiration of Hon.
Vice – Chancellor Dr. Deepak Tilak, the program of B.C A. was launched in
the year 2001. It aims at providing education in computer applications to a
cross-section of our society and enable them to participate more efficiently in
the process of national development.

The B.C.A. programme has been designed particularly to introduce


basics in the first semester. This will enable students to cope with little-
advanced topics in the following semester. A couple of management subjects
have also been included in the curriculum to equip them with managerial
abilities. Special efforts are taken on grooming the students in soft skills, with
the purpose of nurturing them to emerge as a valuable asset in the professional
world.

We take this opportunity to express our gratitude towards


Hon. Vice - Chancellor, Dr. Deepak Tilak and Registrar, Dr. Umesh Keskar
for all the guidance and support that is always provided to us. We are sure
that with their encouragement we will be able to reach many more milestones
in the future.

We are thankful to Mr. Ganesh Channa and Ms. Minal Kalamkar for
their co-operation in SIM Preparation.

We wish all the best to you for your future.

Mrs. Sunita Dighe


Head
Faculty of Distance Education
How to Use the Study Material

v The outline given at the beginning of a chapter highlights the main points. So you will
come to know what the chapter is about.

v For concentration, constant reading is not beneficial. Considering this, every chapter
has been split into subparts.

v Read the sub-parts. If necessary take the help of the meanings of the foreign or
difficult words, signs and concepts given at the end.

v The margin provided on each page is for noting down your points. Make proper use of
the same.

v After you read one part of a chapter, stop for a while and solve the objective type or
short questions given in “Check your progress”. Check your answers with those given
at the end of the chapters and correct the wrong answers, if any.

v Before starting the reading of the next chapter, first of all, read your answers to
“Check your progress” and make corrections therein. By this you will remember what
you have read.

v Study all the chapters in this way.

v The field work given at the end of some chapters is to link your experience and your
observations. Before starting the next chapters make a quick revision of what you
have studied earlier. For this read the summary of the previous chapters.

v For a total comprehension of the subject, the study of the complete book is essential.
About the Subject

This book introduces two parts of the ASP .NET and Basic concept
of C#. This book will be helpful for students of computer stream.
Chapter 1 will give the detailed information about introduction to
.NET framework, various .NET languages, class library with difference
between ASP vs ASP .NET.

Chapter 2 introduces fundamentals of C#, how to write program in


C Sharp, how to use various controls in C# and what is the role of OOP in
C#.

Chapter 3 Introduces ASP .NET 2.0 and its features, server controls,
HTML controls and user control, including Data binding and Configuration.

Chapter 4 covers all data types, arrays, Enumerations in ASP .NET.


Variable operations, type conversations and manipulation with various
structures.
Chapter 5 Explains ASP .NET application and the types, with bin
directory, what is the user Global.asax?

Chapter 6 Introduces ADO .NET architecture, data adapter and


dataset. What is the use of database in ASP .NET?

The last part contains of Practical Assignments for students. Students


can use and execute various ASP .NET programs.
CONTENTS

Sr. No Chapter Page No.

1. Introduction to .NET 1

2. C# Fundamentals 13

3. Introduction to ASP .NET 2.0 35

4. Declaring Variables in ASP .NET 77

5. ASP .NET Applications 115

6. Overview of ADO.Net 131

Practical Assignments 157

Question Bank 169

v v v
Syllabus

1. Introduction to .NET
The .NET Framework, The .NET programming Framework, .NET languages,
The .NET class library, ASP vs. ASP .NET.

2. C# Fundamentals:
Introduction, Writing simple program and basic C# syntax, Flow control,
Boolean logic, the goto statement, Branching, looping. OOP in C#, inheritance.

3. Introduction to ASP.NET 2.0


Features of ASP .NET 2.0, Stages in Web Forms Processing, Introduction to
Server Controls, HTML Controls, Validation Controls, User control, Data
Binding Controls, Configuration, Personalization, Session State

4. Declaring Variables in ASP.NET


Data Types, Initializes, Arrays, Enumerations. Variable Operations- Advanced
Math Operations, Type Conversions. Object Based Manipulation - String
Object, Date Time Object, Time span object & Array Object. Conditional
Structures, Loop Structures, Functions & Subroutines – Parameters, Procedure
Overloading.

5. ASP. NET Applications


ASP.NET file types, the bin directory, code-behind, The Global.asax,
Understanding ASP .NET classes. ASP .NET configuration

6. Overview of ADO.NET
ADO.NET architecture, Accessing Data using data adapters and datasets,
using command and data reader, binding data to data bind controls, displaying
data in data grid.

7. Practical Assignments
Reference Books

1) The Complete Reference ASP .NET Matthew MacDonald - Tata McGraw Hill.

2) Professional ASP .NET Wrox Publication

3) Programming in C# Balguruswamy, Tata McGraw Hill

4) Beginning ASP .NET in VB.NET Matthew MacDonald

5) ASP.NET Developer’s Guide Tata McGraw Hill

You might also like