Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Will Chamberlain #1
Compare DataGrid Column Values
I just created an application that displays data from 2 sources in a
datagrid. There are 2 repeaters nested in the datagrid (probably not the
best idea). The whole purpose of this application is to visually display
side-by-side data from these 2 sources so that the end-user can track
changes. What I am wanting to do now is to highlight, bold, etc... rows
where values are different.
Layout (currently have):
Column1(product) / Column2 (Source A) / Column3 (Source B)
Sample data (currently):
hairgel / 29.95 / 29.95
toothbrush / 29.95 / 39.95
I'd like to have:
hairgel / 29.95 / 29.95
toothbrush / 29.95 / <strong>39.95</strong>
The <strong /> wrapped around the 39.95 would indicate to the end-user
that there has been a change in price. What would be the easiest way to
go about comparing the values? Is there a way to get a datagrid row
count and loop through comparing column 1 and column 2's values?
If this sounds too confusing I will be more than happy to clarify.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Will Chamberlain Guest
-
HELP: Getting row column values in ASP.NET datagrid?
I have a datagrid bound to a dataset table. Unfortunately, the table's primary key consists of not 1, but 3 columns, so I cannot correctly set... -
Null values in a datagrid checkbox column
I have a checkbox column in a bound datagrid that returns an error when it hits a null value: I can't modify the sql query to anticipate a null... -
How To: handle DataGrid row Click Event that passes rows column values to server-side code behind function
I've looked through many posted messages, and have tried several things but have not seemed to solve this (what you'd think would be a simple)... -
Sum of a column values in a Datagrid
Hi, I would like to know if there is a way to print 'Sum' of all the values of one of the columns in a datagrid in an ASP.net application using... -
how to Add different controls(textBox,DropDownList or some ) in the same column,based upon the value in the previous column (Say second Colum which contain dropdown with some values) ?
I am new to ASP.NET. I am facing problem with datagrid. I will explain prob now. In the datagrid the first column is name in the second...



Reply With Quote

