@name varchar(20),@gender varchar(30),@education varchar(30)
as
begin
insert into sudha(name,gender,education)
select @name,@gender,,@education
end
==================================================
string qry="exec insert_selvi ' "+ TextBox1.Text;
qry+=" ' ' " + TextBox2.Text;
qry+=" ' ' " + TextBox3.Text;
qry+=" ' ";

Ish BandhuPosted Aug 6, 2012, 5:37 AM
Atul KumarPosted Aug 6, 2012, 5:36 AM
It should be (select name,gender,education from table)