i want auto-fill first , last name fields if user has email existing in database. there web service returns user's information using following querystring: http://localhost:5555/person/search?text=user@email.com
tap service , utilize it.
i'm trying write method create query string , see if email exists in database. if email exists, assign first , last name values appropriate text-box fields.
current method -- know method incorrect, i've got
public class person : page { public void getpersoninformation(object sender, eventargs e) { string querystring = request.querystring["text"]; if (querystring != null) { // should put here... } } }
question: how can method check database email? concern how assign first , last name values appropriate fields if email exist.
current form
additional info assume user types email exists. once user presses tab, auto-fill first , last name fields if email exists in database.
resource used: http://www.dotnetperls.com/querystring
Comments
Post a Comment