Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 150,077 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,756 people online right now. Registration is fast and FREE... Join Now!




Delete Checkbox From Datagrid

 
Reply to this topicStart new topic

Delete Checkbox From Datagrid

krameshit
23 Apr, 2008 - 01:13 AM
Post #1

New D.I.C Head
*

Joined: 23 Apr, 2008
Posts: 1

Hi Guys,

I have one pbm in datagrid. Iadd checkbox in datagrid when we add data from the data table. Here last empty row in datagrid also have a checkbox. How can i remove this check box.


da = New SqlDataAdapter(str, con)
col = New DataColumn("Select", System.Type.GetType"System.Boolean"))
col.DefaultValue = False
dt2.Columns.Add(col)
da.Fill(dt2)
dgreservation.DataSource = dt2


This is the code i used to add a checkbox in data grid....

Please Help Me...

Thank you.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 11:16PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB.NET Help!

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month