Tag: 灯箱

如何隐藏随机生成的gridview行

HI编码器我有一个gridview,其中数据来自数据库..现在所有行的id都是我想要它只显示我的gridview的第一行并隐藏其他的其他但不是它们的值我只是wana隐藏它们。 我想要他们的价值,因为我有一个灯箱。 这是我的代码: <asp:Label ID="lblpptId" runat="server" Text='’> <asp:Label ID="lblPriority" runat="server" Text='’> <a id="imageLink" href='https://stackoverflow.com/questions/21379242/how-to-hide-randomly-generated-row-of-gridview/’ title=” rel=”lightbox[Brussels]” runat=”server”>Start PPT 编辑:: protected void Page_Load(object sender, EventArgs e) { BindModule(); } protected void BindModule() { try { con.Open(); string id = Request.QueryString[“pptId”].ToString(); //Query to get Imagesurl and Description from database SqlCommand command = new SqlCommand(“select * from Image_Master […]