Razor Examples

11:58 PM | Comments (0)

Hello.cshtml @{     var strName = "";     if(IsPost)     {         strName = "Hello welcome...

Read more

MVC Tutorials

11:48 PM | Comments (0)

http://www.w3schools.com/aspnet/mvc_intro.asp ...

Read more

MVC Folder Structure

11:43 PM | Comments (0)

Application information Properties References Application folders                                  ...

Read more

n-Tier Architecture in ASP.NET n-Tier Architecture...

11:27 PM | Comments (0)

Architecture is an important feature and the very first step in the development of an application. n-Tier the term is used for...

Read more

n-tier-folder-structure

11:19 PM | Comments (0)

...

Read more

OOPS and examples

11:03 PM | Comments (0)

All the programming languages supporting Object oriented Programming will be supporting these three main concepts: 1. Encapsulation 2. Inheritance 3. Polymorphism Encapsulation...

Read more

3 Tier Login Example

10:53 PM | Comments (0)

UI: Login Page public partial class login : System.Web.UI.Page { businessLogic obj = new businessLogic(); protected void button_Click(object sender, EventArgs e) {...

Read more

How to call jQuery code only before the ASP.NET postback

10:39 PM | Comments (0)

"PostBack is the name given to the process of submitting an ASP.NET page to the server for processing ." protected void Page_Load(object...

Read more

Consistent Look Razor in MVC

9:29 PM | Comments (0)

@{     Layout = null; } <!DOCTYPE html> <html> <head> <title>Main Page</title> <link href="@Href("../../Content/styles/Style.css")" rel="stylesheet" type="text/css" /> </head><body> <div class="header">This is...

Read more

Handling Errors In MVC

9:20 PM | Comments (0)

@{var dataFilePath = "~/dataFile.txt";    var fileContents = "";  var physicalPath = Server.MapPath(dataFilePath);  var userMessage = "Hello world, the time is "...

Read more

Objects and Collections

8:58 PM | Comments (0)

Objects and Collections Page Objects The most basic object in ASP.NET is the page. You can access properties of the page object...

Read more

Conditional Logic and Loops in MVC

8:55 PM | Comments (0)

Conditional Logic and Loops ASP.NET server code lets you perform tasks based on conditions and write code that repeats statementsa specific number...

Read more

Working with File and Folder Paths in Code in MVC

8:07 PM | Comments (0)

@{     Layout = null; } <!DOCTYPE html> <html> <head>     <title>Files</title> </head> <body>     <div>        ...

Read more

Add-numbers-in-mvc

7:49 PM | Comments (0)

@{     Layout = null; }  <!DOCTYPE html>  <html lang="en">  <head>  <title>My Title</title>  <meta charset="utf-8" />  <style type="text/css">      body  ...

Read more

The Top 8 Programming Tips in MVC

7:44 PM | Comments (0)

1.You add code to a page using @ Character The @ character starts inline expressions, single statement blocks, and multi-statement blocks: <!--...

Read more

Current System Time Display in MVC

7:39 PM | Comments (0)

@{     Layout = null; } <!DOCTYPE html> <html> <head>     <title>Time</title> </head> <body>     <div>        ...

Read more

Operators inMVC

7:33 PM | Comments (0)

...

Read more

Classes in MVC

7:28 PM | Comments (0)

...

Read more

Copy Microsoft.ReportViewer.ProcessingObjectModel....

7:17 PM | Comments (0)

You can follow the following steps to copy it from GAC (Global Assembly cache): COPY Microsoft.ReportViewer. ProcessingObjectModel 1. Open a command prompt...

Read more

DatePicker in MVC

7:12 PM | Comments (0)

View @model DatePickerTemp.Models.FooEditModel @{     ViewBag.Title = "Edit";     Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>     Edit</h2> @Model.Message @using (Html.BeginForm())...

Read more

Gridview in MVC

7:02 PM | Comments (0)

Model   public DataSet displayPageLoad(Int64 opt6)         {             if (cn.State == ConnectionState.Open)    ...

Read more

3:12 AM | Comments (0)

Objects and Collections Objects and Collections Page Objects The most basic object in ASP.NET is the page. You can access properties of...

Read more

RowHeader display in VB.NET windows application

2:12 AM | Comments (0)

Private Sub dgvSubscriptions_RowPostPaint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewRowPostPaintEventArgs) Handles dgvSubscriptions.RowPostPaint         Try          ...

Read more

Windows Media Player integrate in C# windows application

2:09 AM | Comments (0)

videourl = dt.Rows[0]["videourl"].ToString();                         axWindowsMediaPlayer1.URL = videourl;        ...

Read more

SlideShow in C# windows application using picturbox

2:06 AM | Comments (0)

   string[] Files;                               var root = Application.ExecutablePath;...

Read more

Images upload and save to folder in C# windows application

2:04 AM | Comments (0)

private void btnBrowseimage_Click(object sender, EventArgs e)         {             try        ...

Read more

Font Settings Save to Database in C# windows application

2:01 AM | Comments (0)

private void btnfont_Click(object sender, EventArgs e)         {             try        ...

Read more

Color Settings save to Database in C# windows application

1:58 AM | Comments (0)

private void btnColor_Click(object sender, EventArgs e)         {             try        ...

Read more

Retrieve image, font and color settings from Database in C# windows application

1:56 AM | Comments (0)

private void btnpreview_Click(object sender, EventArgs e)         {             try        ...

Read more

Mail Sending in asp.net using System.Net.Mail

1:54 AM | Comments (0)

This summary is not available. Please click here to view the post. ...

Read more

Save Image to Database as Binary using FileUpload in asp.net

1:51 AM | Comments (0)

 if (fupimage.HasFile)             {                 //getting length of uploaded file...

Read more

MySQL DATE_FORMAT() Function

1:49 AM | Comments (0)

Definition and Usage The DATE_FORMAT() function is used to display date/time data in different formats. Syntax DATE_FORMAT(date,format) Where date is a valid...

Read more