I need Help about make something on my Form

May 5 2009 9:09 PM

i have one form ,,, this form contain 2 textboxs (CustNo , Full Name) and 1 Button its function to open connection and insert Data into Database with Table Called MainTable1 this table Include 2 Columns (CustNo,FullName)

i want make an automatic Counter with new number for each FullName i will insert from the textbox and i want the CustNo Textbox is showe up on my form this new number thats also will Insert to The Table

it will be looklike that scenario

am the customer and open the insert win form and its give me CustNo textbox with automatic number and i will write the FullName only and both of this data will inserted when i click the insert button to the database ,,, the automatic number and the Fullname i wrote by my hand and i want then in the same row because this number will be the FullName Refrence

ok hope that i explained well what i need thanks anyway


Answers (8)