Posts

bal

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Data.SqlClient; using Test_1.DAL; namespace Test_1.BAL {     public class BLL_info     {         public static string getName         {             get;             set;         }         public static string getAge         {             get;             set;         }         public static string getGender         {      ...

dll

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Data.SqlClient; using System.Configuration; namespace Test_1.DAL {     public class dll     {         static SqlConnection con = new SqlConnection("server=DESKTOP-VH35VBK; database=TestProjectDB; integrated security=true");         SqlConnection con1 = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString);         public static void executeQuery(string Query, SqlParameter[] prm)         {             SqlCommand cmd = new SqlCommand();             cmd.CommandText = Query;             cmd.Connection = con;  ...

webformaspx

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Test_1.WebForm1" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <script src="Scripts/jquery.min.js"></script>     <script src="Scripts/JavaScript1.js"></script>     <script type="text/javascript">         function validation() {             //debugger;                         var h = $(".text");             var format = /[ !@#$%^&*()_+\-=\[\]{};':"\\|,.<...

webform1

using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Windows.Forms; using System.Data.SqlClient; using Test_1.BAL; using System.Data; namespace Test_1 {     public partial class WebForm1 : System.Web.UI.Page     {         int chose;         SqlCommand cmd = new SqlCommand();         //string a;         int a = 0;         protected void Page_Load(object sender, EventArgs e)         {                        if (!IsPostBack)             {    ...