0
1.9kviews
Write an ASP.NET program to insert a new record in database

Mumbai University > Information Technology > Sem 4 > Web Programming

Marks: 10M

Year: May 2014, Dec 2014, Dec 2015

1 Answer
0
2views

Default.aspx

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="GridView1" runat="server"  
OnRowCommand="gridview1_RowCommand" >
</asp:GridView>

&nbsp;<br />

<asp:Button ID="Button2" runat="server" Text="Insert" />

&nbsp;&nbsp;
<br />

Roll_No :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<br …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.