Académique Documents
Professionnel Documents
Culture Documents
Designed &
Developed By
Amit Kr.Ghosh
Chikan Banerjee
Imdadul Mallick
Joyeta Sarkar
Pawan Kumar
Submitted to:
Mr. Biswanath Gope . Date: 06.08.2008
Ardent Collaborations.
Acknowledgment
At last I am thankful to all those who are attached to this project directly
or indirectly.
Dr. B. C. Roy Engineering College,
Durgapur.
CERTIFICATE
………………………
(Signature) Date:
The Supervisor
Ardent Collaborations.
Durgapur.
CERTIFICATE
………………………
(Signature) Date:
The Supervisor
Ardent Collaborations.
Durgapur.
CERTIFICATE
………………………
(Signature) Date:
The Supervisor
Ardent Collaborations.
Durgapur.
CERTIFICATE
………………………
(Signature) Date:
The Supervisor
Ardent Collaborations.
Durgapur.
CERTIFICATE
Contents
Sr. Topics Page no.
no.
1. Introduction. 9
2. Process Design. 10-11
3. ERD and DFD. 12-13
4. Software & Hardware Specifications. 14
5. ASP.net. 15-19
6. IIS 5.1 20-21
7. Visual Basic. 21-22
8. MS Access. 22-24
9. SIM Card Registration System. 24-25
10. CODE. 25-49
11. Bibliography. 50
12. Conclusion. 51
INTRODUCTION
Waterfall Model: This is also called as System Development Life Cycle Model or Classic Life
Cycle Model or Linear Sequential Model or Waterfall Method. This model has the following
activities:
In System Analysis and Design phase, the whole software development process,
the overall Software structure and its outlay are defined. In case of the client/server
processing technology, the number of tiers required for the package architecture,
the database design, the data structure design etc is all defined in this phase. After
designing part a software development model is created. Analysis and Design are
very important in the whole development cycle process. Any fault in the design
phase could be very expensive to solve in the software development process. In
this phase, the logical system of the product is developed.
4) Code Generation:
In Code Generation phase, the design must be decoded into a machine-readable
form. If the design of software product is done in a detailed manner, code
generation can be achieved without much complication. For generation of code,
Programming tools like Compilers, Interpreters, and Debuggers are used. For
coding purpose different high level programming languages like C, C++, Pascal
and Java are used. The right programming language is chosen according to the type
of application.
5) Testing:
After code generation phase the software program testing begins. Different testing
methods are available to detect the bugs that were committed during the previous
phases. A number of testing tools and methods are already available for testing
purpose.
6) Maintenance:
Software will definitely go through change once when it is delivered to the
customer. There are large numbers of reasons for the change. Change could happen
due to some unpredicted input values into the system. In addition to this the
changes in the system directly have an effect on the software operations. The
software should be implemented to accommodate changes that could be happen
during the post development period.
Operating System
Windows XP (SP2)
Database Support
Microsoft Office Access 2003
Programming Language
ASP.NET, VB.NET (Microsoft Visual Studio .NET 2003)
Web Server
Microsoft IIS 5.1
Documentation
Microsoft Office Word 2003
EDGE Diagrammer – Version 5.0
Processor: Pentium IV
Ethernet Card: Windows Compatible Ethernet Card
Video Resolution: 1280 x 800, True Colors Recommended
Processor Speed: 3.0 GHz
Cache: 1MB L2 Cache
Mouse: Microsoft Mouse or Compatible Device
Modem: Internal
RAM: 512 MB DDR RAM
HDD: 80 GB
ASP.NET
Why ASP.NET?
Since 1995, Microsoft has been constantly working to shift its focus from
Windows-based platforms to the Internet. As a result, Microsoft introduced ASP
(Active Server Pages) in November 1996. ASP offered the efficiency of ISAPI
applications along with a new level of simplicity that made it easy to understand
and use. However, ASP script was an interpreted script and consisted unstructured
code and was difficult to debug and maintain. As the web consists of many
different technologies, software integration for Web development was complicated
and required to understand many different technologies. Also, as applications grew
bigger in size and became more complex, the number of lines of source code in
ASP applications increased dramatically and was hard to maintain. Therefore, an
architecture was needed that would allow development of Web applications in a
structured and consistent way. The .NET Framework was introduced with a vision
to create globally distributed software with Internet functionality and
Interoperability. The .NET Framework consists of many class libraries, includes
multiple language support and a common execution platform. It's a very flexible
foundation on which many different types of top class applications can be
developed that do different things. Developing Internet applications with the .NET
Framework is very easy. ASP.NET is built into this framework; we can create
ASP.NET applications using any of the built-in languages. Unlike ASP, ASP.NET
uses the Common Language Runtime (CLR) provided by the .NET Framework.
This CLR manages execution of the code we write. ASP.NET code is a compiled
CLR code instead of interpreted code (ASP). CLR also allows objects written in
different languages to interact with each other. The CLR makes development of
Web applications simple.
Client-side refers to the browser and the machine running the browser.
Server-side on the other hand refers to a Web server.
Client-Side Scripting:
JavaScript and VBScript are generally used for Client-side scripting. Client-side
scripting executes in the browser after the page is loaded. Using client-side
scripting you can add some cool features to your page. Both, HTML and the script
are together in the same file and the script is downloading as part of the page
which anyone can view. A client-side script runs only on a browser that supports
scripting and specifically the scripting language that is used. Since the script is in
the same file as the HTML and as it executes on the machine you use, the page
may take longer time to download.
Server-Side Scripting:
ASP.NET is purely server-side technology. ASP.NET code executes on the server
before it is sent to the browser. The code that is sent back to the browser is pure
HTML and not ASP.NET code. Like client-side scripting, ASP.NET code is similar
in a way that it allows you to write your code alongside HTML. Unlike client-side
scripting, ASP.NET code is executed on the server and not in the browser. The
script that you write alongside your HTML is not sent back to the browser and that
prevents others from stealing the code you developed.
ASP.NET Features:
ASP.NET is not just a simple upgrade or the latest version of ASP. ASP.NET
combines unprecedented developer productivity with performance, reliability, and
deployment. ASP.NET redesigns the whole process. It's still easy to grasp for new
comers but it provides many new ways of managing projects. Below are the
features of ASP.NET.
DESCRIPTION OF TECHNOLOGY USED
Easy Programming Model:
ASP.NET makes building real world Web applications dramatically easier.
ASP.NET server controls enable an HTML-like style of declarative programming
that let you build great pages with far less code than with classic ASP. Displaying
data, validating user input, and uploading files are all amazingly easy. Best of all,
ASP.NET pages work in all browsers including Netscape, Opera, AOL, and
Internet Explorer.
Compiled execution:
ASP.NET is much faster than classic ASP, while preserving the "just hit save"
update model of ASP. However, no explicit compile step is required. ASP.NET will
automatically detect any changes, dynamically compile the files if needed, and
store the compiled results to reuse for subsequent requests. Dynamic compilation
ensures that your application is always up to date, and compiled execution makes it
fast. Most applications migrated from classic ASP see a 3x to 5x increase in pages
served.
Rich output caching:
ASP.NET output caching can dramatically improve the performance and
scalability of your application. When output caching is enabled on a page,
ASP.NET executes the page just once, and saves the result in memory in addition
to sending it to the user. When another user requests the same page, ASP.NET
serves the cached result from memory without re-executing the page. Output
caching is configurable, and can be used to cache individual regions or an entire
page. Output caching can dramatically improve the performance of data-driven
pages by eliminating the need to query the database on every request.
Easy Deployment:
ASP.NET takes the pain out of deploying server applications. "No touch"
application deployment. ASP.NET dramatically simplifies installation of your
application. With ASP.NET, you can deploy an entire application as easily as an
HTML page, just copy it to the server. No need to run regsvr32 to register any
components, and configuration settings are stored in an XML file within the
application.
Dynamic update of running application:
ASP.NET now lets you update compiled components without restarting the web
server. In the past with classic COM components, the developer would have to
restart the web server each time he deployed an update. With ASP.NET, you simply
copy the component over the existing DLL, ASP.NET will automatically detect the
change and start using the new code.
The use of Remote Desktop technology for managing your Web site
remotely.
The Remote Desktop technology in Windows XP Professional lets administrators
remotely administer IIS by using the MMC over a dial-up or PPTP connection.
Web Folders let users maintain a consistent look and feel between navigating
the local file system, a networked drive, and an Internet Web site.
With FrontPage Server Extensions, administrators can view and manage a Web
site in a graphical interface, so creating Web sites with the FrontPage Web site
creation and management tool is as easy as clicking a check box on a property page
for the Web site.
Administrators can use Simple Mail Transfer Protocol (SMTP) and Network
News Transport Protocol (NNTP) Services to set up intranet mail and news
services that work in conjunction with IIS. IIS 5.1 for Windows XP Professional is
designed for users developing a Web service for home or for office use. It can
service only 10 simultaneous client connections, only one Web site, and it does not
have all the features of the server versions. IIS replaces the Personal Web Service
(PWS), which was found in earlier client versions of Windows. PWS cannot be
upgraded to run with Windows XP.
Visual Basic .NET is the next generation of Microsoft's popular Visual Basic
programming languages. Some programmers refer to the new incarnation as VB 7,
but this is incorrect. Visual Basic .NET is actually not backwards-compatible with
VB6, meaning that code written in the old version will not compile under VB.NET.
In fact, the languages are sufficiently different that many programmers consider
them independent. Visual Basic .NET is a multi-purpose computer programming
language from Microsoft that is suitable for most development needs. The
language is designed with Rapid Application Development in mind, providing
several tools to shorten development time. As a language, Visual Basic.NET has
the following traits:
Object-Oriented:
Visual Basic 6 included limited support for object-oriented design. Encapsulation
was supported with Public and Private data types in Classes, as well as special
Accessor / Mutator pairs called Properties (a feature unique to Visual Basic).
Polymorphism received crude support through the Implements keyword, which
would require that one class implement all of the methods in another, skeleton
class. Inheritance was neglected completely. As of VB.NET, all of this has
changed. As with all .NET languages, VB.NET includes full-blown support for
object-oriented concepts, including simple inheritance. Unlike most other OOP
languages, everything in VB.NET is an object, including all of the primitives
(Short, Integer, Long, String, Boolean, etc.) as well as types, events, and even
assemblies. Everything inherits from the Object base class.
Event-Driven:
All previous versions of Visual Basic were event-driven, but this feature is heavily
enhanced under the .NET framework. Events are no longer recognized because
they use a certain naming convention (ObjectName_EventName), but now are
declared with a Handles Object Name ,Event Name clause. Event handlers can also
be declared at runtime using the Add Handler command.
MICROSOFT ACCESS
Microsoft Access:
Microsoft Office Access, previously known as Microsoft Access, is a relational
database management system from Microsoft which combines the relational
Microsoft Jet Database Engine with a graphical user interface and software
development tools. It is a member of the 2007 Microsoft Office system. Access can
use data stored in Access/Jet, Microsoft SQL Server, Oracle, or any ODBC-
compliant data container. Skilled software developers and data architects use it to
develop application software. Relatively unskilled programmers and non-
programmer "power users" can use it to build simple applications. It supports some
object-oriented techniques but falls short of being a fully object-oriented
development tool. Access was also the name of a communications program from
Microsoft, meant to compete with ProComm and other programs. This proved a
failure and was dropped. Years later Microsoft reused the name for its database
software. In Microsoft Office Access 2003, you can view information on
dependencies between database objects. Viewing a list of objects that use a specific
object helps maintain a database over time and avoid errors related to missing
record sources. For example, the Quarterly Orders query in the Sales database is no
longer needed, but before deleting it, you might want to find out which other
objects in the database use the query. Then, you could either change the record
source of the dependent objects, or delete them, before deleting the Quarterly
Orders query. Viewing a complete list of dependent objects helps you save time
and minimize errors. In the SQL and query Design views of a query in both a
Microsoft Access database and Microsoft Access project, you can now change the
font and font size of the text by using the Query design font option added to the
Tables/Queries tab of the Options dialog box under the Tools menu. These settings
apply to all databases and work with the high-contrast and other accessibility
settings of your computer. In the SQL view of a query in a Microsoft Access
database, you can now get help specific to Jet SQL keywords, VBA functions, and
Access functions. Simply press F1 to bring up the help that corresponds to the text
near the cursor. You can also search the Jet SQL and VBA function reference
topics. With the enhanced XML support in Microsoft Office Access 2003, you can
specify a transform file when you import data from or export data to XML. The
transform is then applied automatically. When you import XML data, the transform
is applied to the data as soon as the data is imported, before any new table is
created or an existing one is appended to. When you export data to XML, the
transform is applied following the export operation. Often times a database
contains lookup values that are stored in another database. You can now include
these related tables when exporting. You can also include any predefined filter or
sort order for an object when exporting the object.
New look for Office:
Microsoft Office 2003 has a new look that’s open and energetic. Additionally, new
and improved task panes are available to you. New task panes include Getting
Started, Help, Search Results, and Research.
Tablet PC support:
On a Tablet PC, you can quickly provide input using your own handwriting
directly into Office documents as you would using a pen and a printout.
Additionally, you can now view task panes horizontally to help you do your work
on the Tablet PC the way you want to do your work.
With the prevalent incidents of phone scams, it brings to mind the lobbying of
certain sectors to require SIM registration for pre-paid users. A SIM, or subscriber
identity module, for prepaid phone users are, up to now, completely anonymous
allowing phone scams go unchecked and hard to trace because of this anonymity.
While post-paid subscribers are required strict compliance to documents for
identity verification, prepaid users go unchecked. And a huge chunk of the
subscriber base of these telecom companies (Globe Telecoms, Smart
Communications & Sun Cellular) are using prepaid SIMs. With the registration
come similar benefits like that of post-paid subscribers — the ability to re-claim
your phone number in case it got lost or the SIM card is damaged. Very important
to people like me who has gathered hundreds of contacts over the years.
We have done this project based on the real requirement of the system as how the
registration of any sim is being done. This project is solely based on the real
existence of the sim card registration. We gave it a web page model for it . This
gives an efficient means of registering the sim online. The code has been designed
by VB+ASP.net using the sql server and ms axcess database. The code has been
mentioned below along with the snapshots of various steps carried out the project
has been built in keeping the security and facility of all users. Media uneasy over
sim-card registration. The media fraternity has reacted with mixed feelings to the
announcement that the details of owners of all prepaid sim-cards will be registered.
The announcement was made by Botswana Telecommunications Authority (BTA)
Chief Executive Officer, Thari Pheko, at a press conference on Wednesday
morning. He said the registration
is meant to make it easy to track owners of sim-cards whenever the need arises. A
journalist at the press conference asked whether the registration was not part of
plans by state security agents to keep tabs on people. He said that given the context
of the announcement, the initiative may be abused by elements in the security
intelligence community. However Pheko replied that the initiative is normal and is
line with international practice. He asserted that the BTA is not beholden to any
institution. Sunday Standard journalist Reuben Pitse told Mmegi that he found no
problem with the system. "As somebody who is against crime, I would say this is a
good thing. The current system where somebody could buy sim-cards, use them
and discard them easily made it easy for criminals to abuse the technology. Many
criminals would ordinarily communicate through cell phones with sim-cards
specifically bought for the purpose before throwing them away," he said. However,
Media Institute of Southern Africa Director, Thapelo Ndlovu, says there is a
possibility that the system could be used by security apparatus to target people,
especially media sources, for the personal and political benefit of those in power.
He said there is no question that the reasons forwarded by Pheko are valid and
even sincere. However, he said a number of factors make the issue a cause for
concern for journalists.
Inherits System.Web.UI.Page
……………………………………………………………………………………………....
Session("user") = ""
End Sub
.......................................................................
Me.TextBox1.Text = ""
Me.TextBox2.Text = ""
Me.TextBox1.Text = ""
Me.TextBox2.Text = ""
Else
Me.OleDbDataAdapter1.Fill(ds)
carry.uname = Me.TextBox1.Text.Trim.ToUpper
Session("user") = "user"
Response.Redirect("Home.aspx")
Else
End If
End If
Catch ex As Exception
End Try
End Sub
End Class
.......................................................................
Module carry
End Module
.......................................................................
Response.Redirect("Master.aspx")
End If
End Sub
.......................................................................
Try
Else
Me.OleDbDataAdapter1.Fill(ds)
dr("username") = Me.TextBox1.Text.Trim.ToUpper
dr("password") = Me.TextBox2.Text.Trim.ToUpper
ds.Tables(0).Rows.Add(dr)
Me.OleDbDataAdapter1.Update(ds)
End If
Catch ex As Exception
Finally
Me.TextBox1.Text = ""
Me.TextBox2.Text = ""
End Try
End Sub
.......................................................................
Response.Redirect("Home.aspx")
End Sub
End Class
Inherits System.Web.UI.Page
......................................................................
Dim a As String
Dim b As Boolean
.......................................................................
Response.Redirect("Master.aspx")
End If
End Sub
.......................................................................
Response.Redirect("Home.aspx")
End Sub
.......................................................................
Try
a = "*[@]*[.]*"
b = Me.TextBox12.Text Like a
Me.Label17.Text = ""
Me.Label18.Text = ""
Me.Label19.Text = ""
Me.Label13.Text = ""
Me.Label16.Text = ""
Me.Label21.Text = ""
Me.Label22.Text = ""
Me.Label23.Text = ""
Me.Label24.Text = ""
Me.Label25.Text = ""
Me.Label26.Text = ""
Me.Label20.Text = ""
Me.TextBox1.Text = Me.TextBox1.Text.Trim.ToUpper
Me.TextBox2.Text = Me.TextBox2.Text.Trim.ToUpper
Me.TextBox3.Text = Me.TextBox3.Text.Trim.ToUpper
Me.TextBox4.Text = Me.TextBox4.Text.Trim.ToUpper
Me.TextBox5.Text = Me.TextBox5.Text.Trim.ToUpper
Me.TextBox6.Text = Me.TextBox6.Text.Trim.ToUpper
Me.TextBox7.Text = Me.TextBox7.Text.Trim.ToUpper
Me.TextBox8.Text = Me.TextBox8.Text.Trim.ToUpper
Me.TextBox9.Text = Me.TextBox9.Text.Trim.ToUpper
Me.TextBox10.Text = Me.TextBox10.Text.Trim.ToUpper
Me.TextBox11.Text = Me.TextBox11.Text.Trim.ToUpper
Me.TextBox12.Text = Me.TextBox12.Text.Trim.ToUpper
Else
Me.OleDbDataAdapter1.Fill(ds)
dr("srno") = Me.TextBox1.Text.Trim.ToUpper
dr("simno") = Me.TextBox2.Text.Trim.ToUpper
dr("phno") = Me.TextBox3.Text.Trim.ToUpper
dr("ser") = Me.TextBox4.Text.Trim.ToUpper
dr("fullname") = Me.TextBox5.Text.Trim.ToUpper
dr("add1") = Me.TextBox6.Text.Trim.ToUpper
dr("add2") = Me.TextBox7.Text.Trim.ToUpper
dr("city") = Me.TextBox8.Text.Trim.ToUpper
dr("state") = Me.TextBox9.Text.Trim.ToUpper
dr("country") = Me.TextBox10.Text.Trim.ToUpper
dr("pin") = Me.TextBox11.Text.Trim.ToUpper
dr("email") = Me.TextBox12.Text.Trim.ToUpper
ds.Tables("SIM_Regn").Rows.Add(dr)
Me.OleDbDataAdapter1.Update(ds)
Me.clearform()
Response.Redirect("Home.aspx")
End If
Catch ex As Exception
End Try
End Sub
.......................................................................
Me.TextBox1.Text = ""
Me.TextBox2.Text = ""
Me.TextBox3.Text = ""
Me.TextBox4.Text = ""
Me.TextBox5.Text = ""
Me.TextBox6.Text = ""
Me.TextBox7.Text = ""
Me.TextBox8.Text = ""
Me.TextBox9.Text = ""
Me.TextBox10.Text = ""
Me.TextBox11.Text = ""
Me.TextBox12.Text = ""
End Sub
End Class
Inherits System.Web.UI.Page
.......................................................................
Dim a As String
Dim b As Boolean
.......................................................................
Response.Redirect("Master.aspx")
Else
Me.Panel1.Enabled = False
End If
End Sub
.......................................................................
Try
a = "*[@]*[.]*"
b = Me.TextBox12.Text Like a
Me.Label17.Text = ""
Me.Label18.Text = ""
Me.Label19.Text = ""
Me.Label16.Text = ""
Me.Label21.Text = ""
Me.Label22.Text = ""
Me.Label23.Text = ""
Me.Label24.Text = ""
Me.Label25.Text = ""
Me.Label26.Text = ""
Me.Label27.Text = ""
Me.Label20.Text = ""
Me.TextBox1.Text = Me.TextBox1.Text.Trim.ToUpper
Me.TextBox2.Text = Me.TextBox2.Text.Trim.ToUpper
Me.TextBox3.Text = Me.TextBox3.Text.Trim.ToUpper
Me.TextBox4.Text = Me.TextBox4.Text.Trim.ToUpper
Me.TextBox5.Text = Me.TextBox5.Text.Trim.ToUpper
Me.TextBox6.Text = Me.TextBox6.Text.Trim.ToUpper
Me.TextBox7.Text = Me.TextBox7.Text.Trim.ToUpper
Me.TextBox8.Text = Me.TextBox8.Text.Trim.ToUpper
Me.TextBox9.Text = Me.TextBox9.Text.Trim.ToUpper
Me.TextBox10.Text = Me.TextBox10.Text.Trim.ToUpper
Me.TextBox11.Text = Me.TextBox11.Text.Trim.ToUpper
Me.TextBox12.Text = Me.TextBox12.Text.Trim.ToUpper
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
ElseIf (Me.TextBox3.Text.Length < 10 Or Me.TextBox3.Text.Length >
10) Then
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Me.Panel1.Enabled = True
Else
Me.OleDbDataAdapter2.Fill(ds)
dr(0)("srno") = Me.TextBox1.Text.Trim.ToUpper
dr(0)("simno") = Me.TextBox2.Text.Trim.ToUpper
dr(0)("phno") = Me.TextBox3.Text.Trim.ToUpper
dr(0)("ser") = Me.TextBox4.Text.Trim.ToUpper
dr(0)("fullname") = Me.TextBox5.Text.Trim.ToUpper
dr(0)("add1") = Me.TextBox6.Text.Trim.ToUpper
dr(0)("add2") = Me.TextBox7.Text.Trim.ToUpper
dr(0)("city") = Me.TextBox8.Text.Trim.ToUpper
dr(0)("state") = Me.TextBox9.Text.Trim.ToUpper
dr(0)("country") = Me.TextBox10.Text.Trim.ToUpper
dr(0)("pin") = Me.TextBox11.Text.Trim.ToUpper
dr(0)("email") = Me.TextBox12.Text.Trim.ToUpper
Me.OleDbDataAdapter2.Update(ds)
Me.clearform()
Response.Redirect("ViewAll.aspx")
End If
Catch ex As Exception
End Try
End Sub
.......................................................................
Me.TextBox1.Text = ""
Me.TextBox2.Text = ""
Me.TextBox3.Text = ""
Me.TextBox4.Text = ""
Me.TextBox5.Text = ""
Me.TextBox6.Text = ""
Me.TextBox7.Text = ""
Me.TextBox8.Text = ""
Me.TextBox9.Text = ""
Me.TextBox10.Text = ""
Me.TextBox11.Text = ""
Me.TextBox12.Text = ""
End Sub
.......................................................................
Response.Redirect("Home.aspx")
End Sub
.......................................................................
Try
Me.OleDbDataAdapter1.Fill(ds)
Me.Panel1.Enabled = True
Me.TextBox1.Text = dr(0)("srno")
Me.TextBox2.Text = dr(0)("simno")
Me.TextBox3.Text = dr(0)("phno")
Me.TextBox4.Text = dr(0)("ser")
Me.TextBox5.Text = dr(0)("fullname")
Me.TextBox6.Text = dr(0)("add1")
Me.TextBox7.Text = dr(0)("add2")
Me.TextBox8.Text = dr(0)("city")
Me.TextBox9.Text = dr(0)("state")
Me.TextBox10.Text = dr(0)("country")
Me.TextBox11.Text = dr(0)("pin")
Me.TextBox12.Text = dr(0)("email")
End If
Catch ex As Exception
End Try
End Sub
.......................................................................
Response.Redirect("ViewAll.aspx")
End Sub
End Class
Delete SIM Registration Code:
Public Class DELSIMRegn
Inherits System.Web.UI.Page
.......................................................................
Response.Redirect("Master.aspx")
Else
Me.Panel1.Visible = False
End If
End Sub
Response.Redirect("Home.aspx")
End Sub
.......................................................................
Try
Else
Me.OleDbDataAdapter1.Fill(ds)
Dim dr() As DataRow = ds.Tables(0).Select("phno = '" +
Me.TextBox13.Text.Trim.ToUpper + "'")
Me.Panel1.Visible = True
Me.Label16.Text = ""
Else
End If
End If
Catch ex As Exception
End Try
End Sub
.......................................................................
Try
Me.OleDbDataAdapter1.Fill(ds)
dr(0).Delete()
Me.OleDbDataAdapter1.Update(ds)
Me.TextBox13.Text = ""
Catch ex As Exception
End Try
End Sub
.......................................................................
Me.TextBox13.Text = ""
End Sub
End Class
Try
Dim ds1 As New DataSet
Me.OleDbDataAdapter1.Fill(ds1)
carry.search = Me.TextBox1.Text.Trim.ToUpper
Response.Redirect("EDITSIMRegn.aspx")
Else
End If
Catch ex As Exception
End Try
End Sub
End Class
.......................................................................
View all SIM Registration Code:
Inherits System.Web.UI.Page
.......................................................................
Response.Redirect("Master.aspx")
Else
Me.OleDbDataAdapter1.Fill(Me.DataSet11)
Me.DataGrid1.DataBind()
End If
End Sub
.......................................................................
Try
Me.DataGrid1.Visible = True
Me.DataGrid1.CurrentPageIndex = e.NewPageIndex
Me.OleDbDataAdapter1.Fill(Me.DataSet11)
Me.DataGrid1.DataBind()
Catch ex As Exception
End Try
End Sub
.......................................................................
Try
e.Item.Attributes.Add("onmouseover",
"this.style.backgroundColor='#ffff66'")
e.Item.Attributes.Add("onmouseout",
"this.style.backgroundColor='white'")
objButton = e.Item.Cells(5).Controls(0)
e.Item.Attributes.Add("onclick",
Page.GetPostBackClientHyperlink(objButton, ""))
End If
Catch ex As Exception
End Try
End Sub
.......................................................................
Try
Me.OleDbDataAdapter2.Fill(ds)
dr(0).Delete()
Me.OleDbDataAdapter2.Update(ds)
Me.DataSet11.Clear()
Me.OleDbDataAdapter1.Fill(Me.DataSet11)
Me.DataGrid1.DataBind()
Catch ex As Exception
End Try
End Sub
.......................................................................
Try
Me.OleDbDataAdapter2.Fill(ds)
gridedit.ph = e.Item.Cells(2).Text
Response.Redirect("GridEdit.aspx")
Catch ex As Exception
End Try
End Sub
.......................................................................
Response.Redirect("Home.aspx")
End Sub
.......................................................................
End Sub
End Class
.......................................................................
Module gridedit
Public ph As String
End Module
.......................................................................
-: END OF CODE :-
Conclusion:
Bibliography:
1)VB.NET-Study Kit by Ardent Collaborations.
3) www.wikipedia.com