[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to unenable some rows of a datagrid?

Posted on 2004-04-21
2
Medium Priority
?
369 Views
Last Modified: 2010-04-07
When a datagrid is databinded and its source is a datatable, is it possible to enable or unenable some rows of it?

I mean, I have to show a list of items from a table in a datagrid MyDataGrid:

    Field01                    Field02          Field03
==================================
01  Title 01      False         textbox
02  - Item 01      True         textbox
03  - Item 02      True         textbox

If Field02 = False, then row 01 has to be shown but it has to be unenable, in order to avoid writing on textbox. Is it possible?
0
Comment
Question by:Rosa2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 10884399
you mean how to disable a certain row?
0
 
LVL 35

Accepted Solution

by:
YZlat earned 120 total points
ID: 10884408
if so, you'll have to loop through the datagrid rows and check if that particular column is false. If it is, disable every column in that row.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question