users table
userid PK + autoincrement
name
surname
i wrote a procedure
ALTER PROCEDURE insertUser
@userid int,
@name varchar(50),
@surname varchar(50),
AS
SET NOCOUNT ON
insert into users (userid,name,surname) values (@userid,@name,@surname,)
in aspx file i write
cmd.Parameters.AddWithValue("@userid", ????????);
cmd.Parameters.AddWithValue("@name", TextBox2.Text);
cmd.Parameters.AddWithValue("@surname", TextBox3.Text);
what can i assign for userid column for add with parameters...