plz help(reg Insert checkbox in datagrid columns dynamically)

  • Thread starter Thread starter sanju
  • Start date Start date
S

sanju

hi ..

i am displaying 20 records using dataset in a datagrid.after displaying 20
company names from a table a user need to select multiple companies and
send a email to particular manager. i want to insert checkbox dynamically
with each company name so that user can select and send email.

i tried many ways but <asp:datagrid is not accepting to insert checkbox..

can one plz provide some help plz

Sub Page_Load
Dim conn1 as SQLConnection
If not IsPostBack then
dgleads.DataSource =GetLeads()
dgleads.DataBind()
....................
....................
..................

<FORM id="Form1" runat="server">
<asp:datagrid id="dgleads" Runat="Server" AutoGenerateColumns="False"
PagerStyle-Mode="NumericPages">
<asp:HyperLinkColumn DataNavigateUrlField="Leadid"
DataTextField="OrganisationName" HeaderText="Org Name">
</asp:HyperLinkColumn>

thank u
 
sanju said:
hi ..

i am displaying 20 records using dataset in a datagrid.after displaying 20
company names from a table a user need to select multiple companies and
send a email to particular manager. i want to insert checkbox dynamically
with each company name so that user can select and send email.

i tried many ways but <asp:datagrid is not accepting to insert checkbox..

can one plz provide some help plz

Sub Page_Load
Dim conn1 as SQLConnection
If not IsPostBack then
dgleads.DataSource =GetLeads()
dgleads.DataBind()
...................
...................
.................

<FORM id="Form1" runat="server">
<asp:datagrid id="dgleads" Runat="Server" AutoGenerateColumns="False"
PagerStyle-Mode="NumericPages">
<asp:HyperLinkColumn DataNavigateUrlField="Leadid"
DataTextField="OrganisationName" HeaderText="Org Name">
</asp:HyperLinkColumn>

thank u
 
Back
Top