Use the following code and debug and check thw value of price variable
protected void ImageButton2_Click1(object sender, ImageClickEventArgs e)
{
string data = Server.UrlDecode(Request.QueryString["BehCode3"]);
string price = RadioButton2.Checked ? TextBox1.Text : "noprice";
SqlCommand _cmd = new SqlCommand("insertproduct", _cn);
_cmd.CommandType = CommandType.StoredProcedure;
_cn.Open();
_cmd.Parameters.AddWithValue("@Name", txtname.Text);
_cmd.Parameters.AddWithValue("@Model", txtmodel.Text);
_cmd.Parameters.AddWithValue("@Price", price);
_cmd.Parameters.AddWithValue("@behcode", data);
_cmd.ExecuteNonQuery();
_cn.Close();
}
ALTER procedure [dbo].[insertproduct]
@Name nvarchar(30),@Model nvarchar(30),@Behcode nvarchar(10)
,@price nvarchar(30)
as
begin
insert into House_p (Name,Model,Price,Date,BehCode)
values (@Name,@Model,@price,GETDATE(),@Behcode)
end