Employers - Post Free Jobs
Forum guidelines
AuthorQuestion
ASP.NET and Data base
Posted on: 10 Apr 2013
source code.rar Why vacancy field is not filling?
AuthorReply
Re: ASP.NET and Data base
Posted on: 10 Apr 2013  
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
        con.Open()
        txtvacancies.Text = Val(txtcarder.Text - txtpresent.Text)
        str = "INSERT INTO Carder_of_Ministry(Designation,Service_of_Description,Grade,Salary_Code,Carder,Present,Vacancies) VALUES('" + ddldesignation.Text + "','" + ddlinvolveservice.Text + "','" + ddlgrade.Text + "','" + ddlsalarycode.Text + "','" + txtcarder.Text + "','" + txtpresent.Text + "','" + txtvacancies.Text + "' )"
        com = New SqlCommand(str, con)
        com.ExecuteNonQuery()
        con.Close()
    End Sub

If this post helps you mark it as answer
Thanks

Employers - Post Free Jobs

SPONSORED BY

Offshore Software and Database Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.