cristianvasuica
Programmer
Hi there..Could anyone please help me out because I am stuck with a MS SQL stored procedure execution.I am new to programming and I have to build an application about employee`s evidence.I use Delphi XE2 and MS SQL.So here it is: I have a stored procedure to select fields name, surname, email addres from table employees where @name='something'.. So i built a form and I dragged a sql connection, sql stored procedure, dataset provider , a client dataset and a datasource, a editbox, a grid, and a button. When i press click on the button I want to see the results of executing the stored procedure into my grid. I resolved with the grid`s columns(name, surname, emailadressa),but i dont know how to pass parametres; on SQLStoredProc component I have asigned on parametre @name=DBEdit1.Text and on the click event of the apply button SQLStoredProc.ExecProc; i have no compilation erros but when i try to enter values in the editbox i can not..and i dont know why..??..p.s. sorry for my bad english