codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  CheckBox problem with ASP.Net DataGrid  frmsasp at 11:00 on Wednesday, September 21, 2005
 

Dear Friend,


I am facing problem with ASP.Net DataGrid.

I want to display words "Approved" if status field of a database contain value "A". Otherwise it will display CheckBox.

Below is a exmple of DataGrid.
-------------------------------------
|Sr.No.| Product Name | Approved |
|------+-----------------+----------|
|   1  | Product Name 1  |   [  ]   |
|      |                 |          |
|   2  | Product Name 3  | Approved |
|      | |          |
|   3  | Product Name 8  | Approved |
|      | |          |
|   4  | Product Name 4  |   [  ]   |
|      | |          |
|   5  | Product Name 2  |   [  ]   |
-------------------------------------









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Why Use Method?
•  Re: Help with filesystem object & displaying in a table
•  Re: Genetic Algorithm Help
•  Re: How to make an investment calculator
•  Re: line breaks in GUI
•  Re: Graph in Gui...
•  Graph in Gui...
•  Re: Counting zero values in a string
•  Re: Help!


Recent Articles
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net
Creating CSS Buttons


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005