Monday, January 27, 2014

NOTICE:
ALL XII SC (IT) STUDENTS OF AJARA MAHAVIDYALAYA AJARA ARE INFORMED THAT YOUR ONLINE MOCK EXAM OF I.T. SUBJECT IS HELD ON WEDNESDAY,THURSDAY AND FRIDAY AS PER YOUR PRACTICAL BATCHES

Thursday, January 16, 2014

INDEX


INDEX

Sr. No.
Date
Experiment Title
Page No.
Sign
1
26-07-2013
Creation of a  college website


2
02-08-2013
Creation of a  webs site -Save earth’s environment


3
30-08-2013
Creation of a Website with Frames and
CSS



4
06-09-2013
Creation of a Website using CSS



5
13-09-2013
Hyperlinks on a Web Page using Client
Side Image Mapping



6
20-09-2013
Use of Audio and Animation on Web
Pages



7
27-09-2013
Use of Video on web page  with controls & Without controls


8
04-10-2013
Cross Browser Testing and Differences in
Rendering



9
11-10-2013
Creation of Webpage in Devnagri Script (Marathi or Hindi) using UNICODE. Use MS-Word with BarahaIME and Save as html



10
22-11-2013
ASP.NET code to display a report of client
IP Address, Browser etc.



11
29-11-2013
ASP.NET code to display Server Side Time
along with client-side script to display
Client Side Time.



12
06-12-2013
ASP.NET code to calculate the number of
days a person has lived on basis of the
Date of Birth


13
13-12-2013
ASP.NET code to display contents from a
Text File



14
20-12-2013
ASP.NET code that return number of visits to the web site


15
27-12-2013
ASP.NET code that return number of votes


16
18-10-2013
Use of Event Driven Client Side JavaScript
Using frames and buttons



17
25-10-2013
Use of Event Driven Client Side JavaScript
For  color animation Using buttons and   without button



18
26-10-2013
Use of JavaScript for Validation of  Username and Password





 

Sunday, January 12, 2014

प्रतिक्रिया

जर तुम्हाला या ब्लॉग वर प्रतिक्रिया द्यायच्या असतील तर Anonymous हा  ऑप्शन निवडून प्रतिकिर्या देऊ शकता 

Read a Text file using Asp.net



Read a Text file

Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        'to dispaly content of textfile
        Dim fs, fopen
        fs = Server.CreateObject("scripting.filesystemobject")
        fopen = fs.opentextfile("c:\a.txt")

        Do While Not fopen.atendofstream
            Response.Write(fopen.readline & "<br>")
        Loop
    End Sub

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        'To display Characters of text file
        Dim fs, fopen
        fs = Server.CreateObject("scripting.filesystemobject")
        fopen = fs.opentextfile("c:\a.txt")

        Response.Write(fopen.read(2))
    End Sub

    Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click
        'to dispaly firstline of textfile
        Dim fs, fopen
        fs = Server.CreateObject("scripting.filesystemobject")
        fopen = fs.opentextfile("c:\a.txt")

        Response.Write(fopen.readline)
    End Sub

    Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click
        'to dispaly content of textfile with line no
        Dim fs, fopen
        fs = Server.CreateObject("scripting.filesystemobject")
        fopen = fs.opentextfile("c:\a.txt")

        Do While Not fopen.atendofstream
            Response.Write(fopen.line & " " & fopen.readline)
        Loop
    End Sub
End Class


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="Button1" runat="server" Text="dispaly content of textfile" />
    <asp:Button ID="Button2" runat="server" Text="dispaly character of textfile" />
    <asp:Button ID="Button3" runat="server"
        Text="Display first line of text file" />
    <asp:Button ID="Button4" runat="server"
        Text="content of textfile with line no" />

        <br />
        <br />
   
    </div>
    </form>
</body>
</html>