I am not sure if you have a question here or if you are wondering if there are any implications in doing things this way.
In any event, this is a fairly "normal" setup in that you have a seperation between your webserver and database server. What you would do is something like:
protected void Submit_Click(object sender, EventArgs e)
//Do some processing
//Build a connection to the database;
//Pass in the connection requirements for your remote database server
//in the connection string
//Do something else
If your client is using SQL Server you will need to make sure that their box is configured to allow remote connections.
Read this if you want to know how to get a correct reply for your question:
.: Wrox Technical Editor / Author :.
Wrox Books 24 x 7