using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MvcApplication1.Models; using System.Data; using System.Data.SqlClient; namespace MvcApplication1.Controllers { public class registrationController : Controller { LoginEntities db = new LoginEntities(); public ActionResult login() { return View(); } [HttpGet] public ActionResult registration(MvcApplication1.Models.tbl_registration obj) { // List<login> lgn = new List<login>(); // login log = new login(); // var regno = log.regno; // var name = log.password; //var para=new SqlParameter{ParameterName="@regno", Value=regno}; //var para1=new SqlParameter{ParameterName="@name", Value=name}; //SqlConnection con=new SqlConnection return View(); } //List<registration> reg = new List<registration>(); // registration regist = new registration(); // regist.regno = ""; // regist.name = ""; // regist.mobile = 0; // regist.gender = 0; // regist.country = 0; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)