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
INSERT INTO registrationn VALUES(@empname,@desgination,@emailid,@phone,@skype,@address,@shifttime,@panel)
select SCOPE_IDENTITY() as empid
my c# code is
private void button1_submit_Click(object sender, EventArgs e)
if (conn.State == ConnectionState.Closed)
//using (SqlCommand cmdd = new SqlCommand(query , cono))
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.