Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

V Sen

@V Sen
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • help
    V V Sen

    Datagrid with checkbox using asp.net.so i will select checkbox and the show to datagird datas show in lable,datagrid using paging concept,I need select checkbox in page 1 some datas and then select page 2 in some datas.but i can't any one only.Any body know,tell immediately...and thanks......... Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim ldstdateset As New DataSet Dim lobjdatatier As New TicDataTier ldstdateset = lobjdatatier.ExecStoredProc("TIC_GET_tTic_MM_Modules", lstrparameter, "Gmdataset") Me.MyDataGrid1.DataSource = ldstdateset.Tables(0) Me.MyDataGrid1.DataBind() End Sub Private Sub MyDataGrid1_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles MyDataGrid1.PageIndexChanged Me.MyDataGrid1.CurrentPageIndex = e.NewPageIndex Me.MyDataGrid1.DataBind() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer = 0 Dim mySelection As StringBuilder = New StringBuilder mySelection.Append("Selected Row(s):<hr><br>") Dim GridItem As DataGridItem For Each GridItem In MyDataGrid1.Items Dim myCheckbox As CheckBox = CType(GridItem.Cells(0).Controls(1), CheckBox) If myCheckbox.Checked = True Then i = i + 1 mySelection.AppendFormat("{0}<br>", GridItem.Cells(1).Text) ' mySelection.Append("<hr>") mySelection.AppendFormat("{0}<br>", GridItem.Cells(2).Text) End If Next mySelection.Append("<br>") mySelection.Append("<hr>") mySelection.AppendFormat("Total selected Value is: {0}<br>", i.ToString()) Me.Label1.Text = mySelection.ToString.Trim() End Sub Private Sub MyDataGrid1_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles MyDataGrid1.PageIndexChanged Me.MyDataGrid1.CurrentPageIndex = e.NewPageIndex Me.MyDataGrid1.DataBind() End Sub And once again thanks regards, sen.V

    ASP.NET csharp asp-net design help

  • SOME BODY PLEASE HELP ME
    V V Sen

    I need Datagrid with checkbox and delete in row.(database already created)so help delete to select data is delete....urgently

    .NET (Core and Framework) help

  • Scrollbar
    V V Sen

    HI, COrrect this is simple but best........ First u select list box and then go to properties u select the scrollAlways Visible can be True mode and then working for scrollbar ok...... :rose: V.sen...

    Visual Basic question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups