get the value from text box

Mar 30 2010 9:18 AM
hi,,,this my query as given below

select * from tblEmp
where convert(datetime,convert(varchar(10),a.DueDate + <days>,101)) <= convert(datetime,convert(varchar(10),getdate(),101))



i want to get the values of <days> from textbox 
to execute this query and bind data in a grid..how can i do this.
please provide me code by example..
thank you

Answers (1)