No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi all i am using gridview control and i want to focus gridview after editing.please give me its solution ASAP. [code] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="SqlDataSource1"> <Columns> <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" /> </Columns> <EmptyDataTemplate> There is No data. </EmptyDataTemplate> </asp:GridView> [/code] |
|
hi i want to delete multiple report in grid view and i am facing some problem please help me as i am new to Asp.net. protected void LinkButton1_Click(object sender, EventArgs e) { foreach (GridViewRow row in GridView1.Rows) { CheckBox cb = (CheckBox)row.FindControl("chkSelect"); if (cb.Checked) { int rid = Convert.ToInt32(GridView1.DataKeys[row.RowIndex].Value); SqlDataSource1.DeleteParameters["id"].DefaultValue … |