Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
engcanada
Starting Member
39 Posts |
Posted - 2012-04-21 : 18:49:11
|
| Hi,I am new to razor and I am stuck to create a condition in the webmatrix grid as follows:WHAT I NEED TO DO INSIDE THE GRID BELOW IS... if(@item.payment=1 ) {<text><b>view</b></text>;}else{<text>view</text>;} BUT I CAN'T... any help!@grid.GetHtml( columns: grid.Columns( grid.Column("Details", format: @<text>view</text>, header: "Details"),)) |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2012-04-21 : 19:04:45
|
| You'd be better off asking this on a forum that deals with those products, SQLTeam is a Microsoft SQL Server site. |
 |
|
|
|
|
|