.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 16th, 2001, 08:36 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
How to delete the seleted items from the datagrid in asp.net

Originally posted by : Prashant (prash_shenoy@yahoo.com)Hi all, I am dynamically creating the check boxes in datagrid. while displaying I am binding some of the fields using bindcolumn attribute of the datagrid. The Problem which i am facing is that I am not able to iterate through all the fields in the datagrid. Which property should i use to iterate through all the fields in the datagrid. I want to delete multiple items from the datagrid. How to check this in the client/Server what all i have selected to delete. Sample page*********** gridtest.aspx page *************** DIM chk1 as checkboxdim TxtBox as textbox for i=0 to datagrid1.items.count -1 chk1 = datagraid1.item(i).findcontrol("checkbox1") ************** 'This is not checking whether the chaeckbox is checked or nor ************** if chk1.checked = true then *************** ' how to get the value of second and third ' column in the grid ***************** next ' here i have writtenm the code for binding the column and used the cjheck box

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > How to delete the seleted items from the datagrid in asp.net


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway