This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using MvcApplication3.Models; | |
using System.IO; | |
using CrystalDecisions.CrystalReports.Engine; | |
namespace MvcApplication3.Controllers | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table Users(ID int Primary key identity,Name varchar(30),Email varchar(50), | |
Dob date,Password varchar(50)) | |
create procedure Pr_User | |
@ID int=0, | |
@Name varchar(50)=null, | |
@Email varchar(50)=null, | |
@Dob date=null, | |
@Password varchar(50)=null, | |
@ProcID int=0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>AddStudent</h2> | |
<head> | |
<title>AddStudent</title> | |
<script> | |
function loadimg() { | |
$('input:[type="file"]').attr("id", "img"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
function printDiv() | |
{ | |
var divToPrint=document.getElementById('DivIdToPrint'); | |
var newWin=window.open('','Print-Window'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
namespace Cahting.Controllers | |
{ | |
public class HomeController : Controller | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Data.Entity; | |
using System.Data.SqlClient; | |
using MvcApplication2.Models; | |
namespace MvcApplication2.Models | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.dotnetawesome.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Data.SqlClient; | |
using System.Data; | |
using System.Configuration; | |
namespace MvcApplication1.Models | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<script> | |
var app = angular.module("MyApp", []); | |
app.controller("MyCtrl", function ($scope) { | |
$scope.Data = function () { | |
if ($scope.myForm.Name.$valid && $scope.myForm.Email.$valid) { | |
alert($scope.Name + " " + $scope.Email) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<script> | |
var app = angular.module("MyApp", []); | |
app.controller("MyCtrl", function ($scope) { | |
$scope.Data = function () { | |
if ($scope.myForm.Name.$valid && $scope.myForm.Email.$valid) { | |
alert($scope.Name + " " + $scope.Email) |