hi guyes,
i have one datagrid to show advisor list data with first checkbox column. i want to add checkbox to heder of that checkbox column
to selectall/deselectAll of checkbox column
so plz help
Loading

Vishnujeet KumarPosted Feb 8, 2013, 1:42 AM
http://dotnetgenetics.blogspot.in/2012/09/add-checkbox-in-wpf-datagrid.html
http://www.devcurry.com/2011/04/wpf-4-datagrid-delete-multiple-rows.html
Satyapriya NayakPosted Feb 7, 2013, 8:47 AM
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
Default.aspx.vb code
Imports System.Data.SqlClient
Imports System.Data
Partial Class _Default
Inherits System.Web.UI.Page
Dim strConnString As String = System.Configuration.ConfigurationManager.ConnectionStrings.Item("ConnectionString").ToString()
Dim con As New SqlConnection(strConnString)
Dim str As String
Dim com As SqlCommand
Dim sqlda As SqlDataAdapter
Dim ds As DataSet
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
con.Open()
str = "select * from student"
com = New SqlCommand(Str, con)
Dim reader As SqlDataReader
reader = com.ExecuteReader()
GridView1.DataSource = reader
GridView1.DataBind()
con.Close()
End Sub
End Class
Satyapriya NayakPosted Feb 7, 2013, 8:45 AM