xml
<?xml version="1.0" encoding="utf-8" ?><root>
<ModuleType TypeName="Inte易做图ce Layout Settings" Flag="0">
<Moudle>
<ModuleName>Portal Settings</ModuleName>
<ModulePage>../JHSoft.Web.WorkFlat/DoorIndex.aspx</ModulePage>
</Moudle>
<ModuleType>
能帮我解释一下是什么意思吗,谢谢,我不太明白,我是菜鸟! --------------------编程问答-------------------- 貌似 你这 有个小错误, 不完整, 其实 就是看 结点 了 ModuleType 这个结点没有闭合 ,所以不清楚他包含 什么结点 , Moudle 包含两个结点(ModuleName,ModulePage)
--------------------编程问答-------------------- 谢谢
<ModuleType TypeName="Inte易做图ce Layout Settings" Flag="0">
<Moudle>
<ModuleName>Portal Settings </ModuleName>
<ModulePage>../JHSoft.Web.WorkFlat/DoorIndex.aspx </ModulePage>
</Moudle>
</ModuleType>
还能帮我个忙吗
这个程序老是报错:就是说那个插入语句中,指定的参数已超出有效值的范围。
我的不是自定义的datagridview,我的有10列,怎么会超出范围了,能帮我解决下吗,我有点急,谢谢
protected void CheckBox_CheckedChanged(object sender, EventArgs e)
{
for (int i = 0; i < DGView.Items.Count; i++)
{
CheckBox check = (CheckBox)DGView.Items[i].FindControl("CheckBox");
//string insert = ((TextBox)(DGView.Items[i].Cells[3].ToString()));
//string update=((TextBox)(DGView.Items[i].Cells[4].ToString()));
//string delete=((TextBox)(DGView.Items[i].Cells[5].ToString() ));
if (check.Checked == true)
{
string sql = "update tb_authority set insert_into='" + ((TextBox)(DGView.Items[i].Cells[3].Controls[0])).Text.ToString().Trim() + "',update_base='" + ((TextBox)(DGView.Items[i].Cells[4].Controls[0])).Text.ToString().Trim() + "',delete_base='" + ((TextBox)(DGView.Items[i].Cells[5].Controls[0])).Text.ToString().Trim() + "' where seq_no='" + DGView.Items[i].Cells[1].Text.Trim() + "'";
if (sl.Exesql(sql))
{
Response.Write("<script>alert('yes')</script>");
newbind();
}
else
{
Response.Write("<script>alert('yes')</script>");
}
}
}
}
public void newbind()
{
SqlConnection con = DB.createConnetion();
if (con.State == ConnectionState.Closed)
{
con.Open();
}
string sql = "select * from tb_authority";
SqlCommand cmd = new SqlCommand(sql, con);
SqlDataAdapter ds = new SqlDataAdapter(cmd);
da = new DataSet();
ds.Fill(da);
this.DGView.DataSource = da;
this.DGView.DataBind();
con.Close();
}
} --------------------编程问答-------------------- 帮up
补充:.NET技术 , .NET Framework