I posted this in the WinForm section, but then thought it might do better here;
I'm using VS2008 pro on xp pro sp2. I'm new to developing.
I am creating a winform for creating serial numbers.
Someone else in the sql forum has already given me code to create a stored procedure to generate the numbers. The stored procedure is named fsp_create_sn and is on our sql 2005 server.
I want the user to be able to put a number into a textbox- say 100- and then click a button that will create 100 serial numbers.
The code behind the button would actually take the 100 in the text box, pass that value to the stored procedure parameter, then execute the stored procedure which generates the 100 serial numbers.
Hi Damon. The following link shoudl help you understand the topic better...
Based on the example there your code might look something like this...
I hope this helps.
- Marcado como respuesta Xingwei Hu lunes, 12 de enero de 2009 8:05