473,395 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how to display a percentage field in gridview

how can i show a field in gridview as percentage,?
that is 12 should be displayed as 12%
and 12.4 should be as 12.4%
Nov 5 '12 #1
2 3125
zmbd
5,501 Expert Mod 4TB
Please show your work and use the <CODE/> format button when you post it.
Nov 5 '12 #2
Frinavale
9,735 Expert Mod 8TB
See if the DataColum.Expression Property can help you achieve what you are looking for.

If you already have the percentage calculated and you're having problems displaying it, you may be interested in using a TemplateField...

It would be easier to help you if you explained what you've tried so far to accomplish this.

-Frinny
Nov 5 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Tan | last post by:
Hi I am desperate for any help with display image in Gridview I have a gridview contain surname , forename ..... and image. I could not display image as my database store the column image as...
3
by: jim.murphy | last post by:
I am not sure If I can do this with a lookup, but what I would like to do is perhaps use lookup to retrieve a control date from an unassociated table to control what date is entered in another...
1
by: Martin.Coetsee | last post by:
Fellow developers, I need to find out how to display one of the fields listed in my gridview as a hyperlink. The field displays the physical file path of for example a pdf file. I want my users to...
1
by: manjith | last post by:
hai.. I want to edit a database with DATAGRID. The database contains MEMBERCODE(varchar), NAME(varchar), ACTIVE(boolean). I want to add a messages in gridview depends upon the ACTIVE field. i.e....
1
by: imranabdulaziz | last post by:
Dear All, I am using asp.net2.0, sql 2005 I am storing Image url in database. through that url i would like to show images in gridview I want to know is it possible to show images in gridview. ...
2
by: renatois | last post by:
DropDownList with custom Data Display in a GridView Hi all, I have a GridView that has a STATUS template field showing a DropDownList on Edit Mode with the users status that can be C, I, B, E. ...
3
by: eshwaramoorthy | last post by:
Hi to all, I have one gridview with checkboxes which contains values of type integer(empid) and string(name) and if i checked it, those respective values must be displayed in other gridview.pls hlp...
1
by: Bakarre | last post by:
To display a field from databse and calculate time different -------------------------------------------------------------------------------- Good day, i have problem to display a field from...
0
by: furtiveferret | last post by:
Hi I'm still a newbie here, so please bear with me. At the top of the page, I display a gridview as a small scrollbox with 3 sortable columns (customer, region & contact) & a select button for...
14
by: santoshkakani | last post by:
Hi friends i can any one help me merging 2 random tables into one and displaying in gridview for example table 1 Sid SName Dno and table 2 Dno Dname Daddress
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.