Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / November 2003

Tip: Looking for answers? Try searching our database.

Select rows in data grid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PNelson - 10 Nov 2003 16:25 GMT
Can anyone give me a reference to documentation on how to
create a datagrid which has a checkbox on each line, and
by checking this, that record is marked (say by background
color change) as selected? Please let me have this
reference refer to VB "code behind". I am sure this is
documented somewhere, but I can't find it.

 Thanks,

   Paul.
MSFT - 11 Nov 2003 02:45 GMT
Hi Paul,

You may take a look at following articel to see if it will help:

HOW TO: Loop Through and Examine CheckBox Control Values in a DataGrid
Column by Using ASP.NET and Visual Basic .NET

http://support.microsoft.com/default.aspx?scid=kb;EN-US;321881

Luke
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

P Nelson - 12 Nov 2003 15:59 GMT
Hi Luke,

The article you reference has helped me find what I need
to get (to a certain extent). The code in there doesn't
actually work completely. It references an index value
which the system can't find (is -1, I suspect, though I
can't get the debugger to work on VS.NET). I have bypassed
this problem by printing out the sample code's results as
response.write rather than using the stringbuilder in the
code. This has gotten me a good way forward, but I am sure
i will be asking more questions in the next few hours.

 Thanks,

   Paul.
>-----Original Message-----
S Gopikrishna - 11 Nov 2003 05:32 GMT
This can be achieved using TemplatedColumn with
JavaScript for highlighting the Row. The following link
will help you out

http://www.codeproject.com/aspnet/Multi-
select_Dataagrid.asp

Thanks,
Gopi

>-----Original Message-----
>Can anyone give me a reference to documentation on how to
[quoted text clipped - 8 lines]
>    Paul.
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.