Answer to Question #15758 in C# for kamal dhillon
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))
Submit it with all requirements as an assignment to our control panel and we'll assist you.
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!