Friday, June 23, 2006

Assigning a value to password textbox

Sometimes we need to display a page containing password in edit mode.
So here is the code in .NET for the same.

txtPassword.Attributes("value") = dsMember.Tables(0).Rows(0).Item("Password")
or simply txtPassword.Attributes("value") = "your password"

No comments: