Questions: 1 362

Answers by our Experts: 1 362

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

// ask the user to enter how many years they had

// ask the user to enter the hobbies or interest they have
// Display how many years they had

// Display the hobbies or interest they have


// need to be put in so the display will remain until you hit the enter key
define a class called dc with two data members: name and duration.
why i cant store values in database but my code is correct pls help me ?????
why i cant store values in database but my code is correct when i executing my program that time it showing th value but when i open database that time there is no value shown in database pls somebody help me ??????????????

my stored procedure is

ALTER PROCEDURE registrtn
(
@empname varchar(150),
@desgination varchar(150),
@emailid varchar(150),
@phone varchar(150),
@skype varchar(150),
@address varchar(150),
@shifttime varchar(150),
@panel varchar(150)
)
As
begin
INSERT INTO registrationn VALUES(@empname,@desgination,@emailid,@phone,@skype,@address,@shifttime,@panel)
select SCOPE_IDENTITY() as empid
end

my c# code is
private void button1_submit_Click(object sender, EventArgs e)
{

if (conn.State == ConnectionState.Closed)
{
conn.Open();
}




//using (SqlCommand cmdd = new SqlCommand(query , cono))
define a console application project to display the different formatting styles used in display methods(i.e.console.writeLine())
Create a console application. Add class ‘Account’ having variables as num (integer) name (String), bal (double), ac_code (byte). Define four different constructors to initialize these variables. Define a class ‘User’deriving from ‘account’ class. In user class add variables as group_no (int)and mail_id (string). Define three constructors for User class and within them call different parameterized constructors of Account. Can we call these base class constructors as second or last statement in User constructors? Define another class ‘Admin’. Can the User class derive from both ‘account’ and ‘Admin’ classes? How to make Class Admin such that No class can derive from it? How to make Account class such thatsome methods will not be allowed to override ?
Create a console application with a class ‘Account’ having variables as id(int) and name (String).Add property ‘account-no’

which can be set andget. Add a ‘ReadOnly’ property ‘IntRate’ and ‘WriteOnly’ property‘Password’ for this class. Add a

shared property ‘Branch’ with set/get methods. In main method create objects of ‘Account’ and test these properties and

print the results on the screen.
Define an abstract class ‘Bank’ having abstract methods as‘CreateAccount’ ‘depositAmount’ and ‘withDrawAmount’.Add methoddefinitions for ‘CalculateInterest’ and ‘SetIntereset’ as Non-Overridable.Define two classes ‘BharatiBank’ and ‘RupeeBank’ to derivefrom bank class.In main ,method create objects of BharatiBank’ andRupeeBank’ to represent Bank type and call their respective methods.Can Bank type call the derived classes own methods that re not defined inbank ?
Define a interface ‘Human’ with methods as walk’ and ‘speak’. Define aclass ‘User’ implementing ‘Human’. Define a work() method in User class.Add a class ‘Person’ also implementing Human. Add a method ‘Behave’ inPerson class. In Main method create objects of Person and User andassign them to ‘Human’ type and call Human methods. Can the work andBehave methods be called through Human types? Can we create theinterface objects by calling interface Constructors ? Justify your answer.
define a console application project to display the different formatting styles used in display methods(i.i. console.writeLine())
Create a console application .Add class ‘Account’ having variables as num (integer) name (string), bal (double), ac_code(byte). Define four different constructors to initialize these variables. Define a class ‘User’ deriving from ‘account class’ .In user class add variables as group_no (int) and mail_id(string).Define three constructors for User class and within them call different parameterized constructors of Account .Can we call
These base class constructors as second or last statement in User constructors? Define another class ‘Admin’. Can the User class derive from both ‘account’ and ‘admin’ classes? How to make Class Admin such that No class can derive form it? How to make Account class such that some methods will not be allowed to override?
LATEST TUTORIALS
APPROVED BY CLIENTS