Saturday 24 February 2018
Record Update ajax MVC
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday 23 February 2018
Save Data MVC Ajax
Target audience
Beginners learning MVC and want to save a from record into database using ajax.Table Structure
Store Procedure
USE[Girfa_DB]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTERProc[dbo].[AddRecord]
(
@rollbigint,
@namevarchar(20),
@cityvarchar(20)
)
AS
BEGIN
SETNOCOUNTON;
INSERTintoStudent(roll,Name,City)values(@roll,@name,@city)
SETNOCOUNTOFF;
END
Model
publicclassStudentModel
{
publicint Roll { get; set; }
publicstring Name { get; set; }
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Wednesday 21 February 2018
Data Render Using Razor
Display Student Record on cshtml page in table using Razor
@model IEnumerable<Britanic_MIS.Models.InvoiceModel>
<table >
<thead>
<tr><th>Roll</th><th>Name</th><th>City</th></tr>
</thead>
<tbody >
@foreach (var item in Model)
{
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
MVC Data Reader with Razor
Store Procedure
USE [Girfa_StudentDB]
GO
SET ANSI_NULLS
ON
GO
SET QUOTED_IDENTIFIER
ON
GO
alter proc [dbo].[GetStudentList]
AS
BEGIN
SET
NOCOUNT ON;
select
roll,name,city from dbo.Student
SET
NOCOUNT OFF;
END
Model
public class StudentModel
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Saturday 17 February 2018
OSI Layer C Graphics
Amazing OSI layer animation using c language graphics programming
/*==============================
Girfa Student Help
Program : OSI Layer Using C Graphics
More Program :
http://girfahelp.blogspot.in/p/graphics-c-language.html
Coder : Mayank Khare,BCA
================================*/
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#define x 1000
int main(void)
{
/* request auto
detection */
int gdriver
= DETECT, gmode, errorcode;
int xmax,
ymax,i;
/* initialize
graphics and local variables */
initgraph(&gdriver, &gmode, "");
/* read result of
initialization */
errorcode = graphresult();
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday 16 February 2018
Get Data from server MVC C# ajax application
$ajax({
url: '/Student/Show/',
dataType: "json",
type: "GET",
contentType: 'application/json; charset=utf-8',
data: { id: $("#txtroll").val() },
success: function (data) {
var html="";
$j.each(data, function
(i, item) {
html += "<tr><td>" + item.roll + "</td><td>" + item.Name + "</td><td>" + item.city + "</td></tr>";
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Date parameter as dd/mm/yyyy
USE [Girfa_StudentHelp]
GO
SET ANSI_NULLS
ON
GO
SET QUOTED_IDENTIFIER
ON
GO
create proc [dbo].[StuReport]
(
@d1 varchar(100),
@d2 varchar(100)
)
AS
BEGIN
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Saturday 10 February 2018
India Gate C Graphics
India Gate using C language graphics programming
Code :
/*==============================
Girfa Student Help
Program : India Gate
More Program :
http://girfahelp.blogspot.in/p/graphics-c-language.html
coder : Maynak Khare
Email : khare.mayank09@gmail.com
================================*/
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#define x 100
int main(void)
{
/* request auto
detection */
int gdriver
= DETECT, gmode, errorcode;
int maxx,
maxy,i,j;
/* our polygon
array */
int
poly[10];
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Animated circle c graphics
/*==============================
Girfa Student Help
Program : Animated circle
More Program
:http://girfahelp.blogspot.in/p/graphics-c-language.html
================================*/
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <dos.h>
int main(void)
{
/* request auto
detection */
int gdriver
= DETECT, gmode, errorcode;
int midx,
midy;
int radius =
100;
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Fill Drop down list using razor
Store Procedure
USE [Girfa_ProductDB]
GO
SET ANSI_NULLS
ON
GO
SET QUOTED_IDENTIFIER
ON
GO
ALTER proc [dbo].[fetchProduct]
AS
BEGIN
select id,productname from dbo.product order by productname
END
CHTML
@model IEnumerable<Britanic_MIS.Models.ProductModel>
Product :
<select class="form-control
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday 9 February 2018
Polygon fill C Graphics
/*==============================
Girfa Student Help
Program : Polygon fill demo
More Program :
http://girfahelp.blogspot.in/p/graphics-c-language.html
Coder Name : Mayank Khare , BCA
================================*/
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
int main(void)
{
/* request auto
detection */
int gdriver
= DETECT, gmode, errorcode;
int maxx,
maxy;
/* our polygon
array */
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Thursday 8 February 2018
Scenery C graphics
Source Code :
/*==============================
Girfa Student Help
Program : Scenery C graphics
More Program
:http://girfahelp.blogspot.in/p/graphics-c-language.html
Coder : Mayank Khare , BCA
Coder : Mayank Khare , BCA
================================*/
#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#define x 500
int main(void)
{
/* request auto
detection */
int gdriver
= DETECT, gmode, errorcode;
int xmax,
ymax,i;
int
poly[100];
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Friday 2 February 2018
Practice Paper Set 1
NIELIT O Level
M2-R4 Internet Technology and Web Design
Note : each question carry one marks from part -1 . part two
consist 4 question each carry 10 marks only 3 question need to attempt from
part two.
Name :
_________________
Time : 1 hour
Part -1
Multiple Choice :
1. The internet is governed by:
A) I & B B)IETF
C) InterNIC D)None of these
2. The first network that planted the seeds of the internet was :
A) ARPANET b) NSFNET C) VNET
D)INET
3. The first page that you normally view when open
A) Home page B) Contact
C) About C)website
4. A website is a collection of
……….
A) Protocol B)HTTP
C) Multimedia D)web pages
5. for a small website, one needs to buy space from the
A) Network admin B) ISP
C) Telephone exchange D)
Government
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Tuesday 30 January 2018
Count frequency of each character
Q : Write a program to count frequency of each character individually.
Solution :
/*==============================
Girfa Student Help
Program : Count frequency of each character
More Program
:http://girfahelp.blogspot.in/p/1.html
================================*/
#include<stdio.h>
#include<conio.h>
#define MAX 50
void main()
{
char ar[MAX],temp[26];
int i,j,k,s;
clrscr();
printf("Enter String>>
");
gets(ar);
temp[0]=ar[0];
for(i=0,j=1;ar[i]!='\0';i++)
{
for(k=0;k<j;k++)
{
A programmer and Founder of Girfa
IT Services, working from 2009.At Starting computer teaching was my full-time job but after 10 years of teaching I chose to programming as a full-time job and teaching become part-time. In real life, I am very lazy and I made it my coding style I always try to make a reusable component that’s my USP for programming which saves my time and extra working both.
Subscribe to:
Posts (Atom)