Wednesday, 25 April 2018

HTML Sample Paper



Internet & Web Design (HTML)

Note : each Question carry one marks of part and only three question need to attempt in part two, each carry 10 marks . No negative marks penalty for wrong answer.
Name : __________________                                                                                                                   Time : 45  Minute


Part 1
Multiple Choice
1. ………. Is Self-close tag .
A) strong   B) pre   C)img   D) None
2. Each property of HTML tag is separated by
A) Double quote   B) Single quote   C) /   D)None
3.  Special character code in HTML start with ….
A) &    B)@     C)#    D)None
4.  tag doesn't usually appear in your document. But identify the page's author, keywords used for searching.
A) <head>    B) <title>   C) <meta>    D)<script>
5. Which of the following is odd one for a form.

Thursday, 5 April 2018

Structure sorting,searching with array

Define a structure that describes a hotel. It should have members that include the name, address, grade, average room charge and number of rooms.

Write a function to perform the following tasks.

i) To print all hotels details of a given grade in order of charges.
ii) To print hotel details with room charges less than given values.

Solution :
/********************************
     Program : Structure sorting,searching with array
     for more program visit :http://girfahelp.blogspot.in/p/c-language-structure-programming.html
**********************************/
#include<stdio.h>
#include<conio.h>
#include<string.h>
#define MAX 10
typedef struct ht
{
     char name[30];
     char address[40];
     char grade;
     int room;
     int charge;
}hotel;
void input(hotel*,int);
void print(hotel *);
void printbyRate(hotel *,int,int);
void printByGrade(hotel *str,char,int s);
void main()
{
     int i,opt,rate;
     hotel rec[MAX];
     char ch;
     clrscr();
     printf("How many record you want to insert>> ");
     scanf("%

Thursday, 29 March 2018

Get Single value from database using ajax



Store Procedure


USE [Girfa_StudentHelp]
GO

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER proc [dbo].[GetPhone]
(
   @id int

Thursday, 22 March 2018

Get Data from server Using ajax

Target Audience


Beginners who are learning C# MVC and want to get record from SQL server to browser using jquery  ajax.

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

View

<input type="button" value="Get Data" onclick="GetData()"/>
<table>
    <thead>