请帮助我无法从数据库中检索我的密码到文本框
protected void ClintUsr_RowCommand(object sender, GridViewCommandEventArgs e)
{
ClintUsr.Columns[1].Visible = true;
ClintUsr.Columns[3].Visible = true;
ClintUsr.Columns[4].Visible = true;
if (e.CommandName == "Edit")
{
ImageButton Editimg = (ImageButton)e.CommandSource;
GridViewRow row = (GridViewRow)Editimg.NamingContainer;
LUser.Text = row.Cells[1].Text;
txtusrname.Text = row.Cells[2].Text;
// txtpass.Text = row.Cells[3].Text;
txtpass.Attributes["value"] = Convert.ToString(row.Cells[3]);
ddclientID.SelectedValue = row.Cells[4].Text;
ddactive.SelectedValue = row.Cells[6].Text;
ddactive.DataBind();
bind();
}
else
{
}
ClintUsr.Columns[1].Visible = false;
ClintUsr.Columns[3].Visible = false;
ClintUsr.Columns[4].Visible = false;
}
我正在开发一个网页,该网页从数据库中检索值并在网络表单上显示。但在“密码文本”框中,它显示为空。因为它设置为文本模式=密码。我怎么能显示密码唱java脚本。
答案 0 :(得分:0)
得到答复感谢所有
的协调 答案 SIGABRT