User Interface<.aspx>

CodeFile
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Data.SqlClient ;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class DeleteRecord : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        SqlConnection con = new SqlConnection("Trusted_Connection=true;DataBase=Praveen_DataBase");
        SqlCommand cmd = new SqlCommand("Delete from Table1 where Roll=@Roll", con);
        SqlParameter obj = new SqlParameter("@Roll", DbType.Int32.ToString());
        obj.Value = TextBox1.Text;
        cmd.Parameters.Add(obj);
        con.Open();
        cmd.ExecuteNonQuery();
        Label1.Text = "Record is deleted";
        con.Close();
        
    }
}

 

 

Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement
Corporate Services
  Web Design and development
  Web Promotion (SEO)
  Multimedia/CD Presentation
  Software development

  E.Commerce

Training@balujalabs

  Software Courses
  Hardware Courses
  Networking.Courses
  Mobile Repairing Courses
  UGC Degrees
Student Corner
 Programming & Projects
 Placement Papers
 Project Ideas
 Synopsis Ideas

  Franchise Section

 Administrator
Franchise Inquiry
 
 

UPDATE RECORD OF DATABASE

 

 

 

 

 

 

 




1 INSERTING RECORDS IN SQL SERVER
2 DISPLAY RECORD OF DATABASE IN GRIDVIEW
3 UPDATE RECORD OF DATABASE
4 DELETE RECORD OF DATABASE
5 DROP DWON LIST BINDING FROM DATA BASE
6 RADIO BUTTON LIST BINDING FORM DATABASE
7 CHECK BOX LIST BINDING FROM DATA BASE
8 LIST BOX BINDING FORM DATA BASE
9 DROP DWON LIST
10 RADIO BUTTON LIST
11 CHECKBOX LIST
12 LIST BOX
13 EDITING DATA IN GRID
14 CRYSTAL REPORT
15 DISPLAYING DATA OF XML FILE
16 INSERTING RECORD IN XML FILE
17 LOGIN PAGE
18 REPEATER
19 DATA LIST
20 DATALIST CONTROL 1
21 DETAILS VIEW
22 FORM VIEW

 


     
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement