Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
GeneralLinking combo box to list box Pin
totig12-Jun-03 3:31
totig12-Jun-03 3:31 
GeneralRe: Linking combo box to list box Pin
kevinrc12-Jun-03 5:07
kevinrc12-Jun-03 5:07 
GeneralRe: Linking combo box to list box Pin
totig12-Jun-03 5:49
totig12-Jun-03 5:49 
GeneralRe: Linking combo box to list box Pin
kevinrc12-Jun-03 6:40
kevinrc12-Jun-03 6:40 
GeneralDatagrid data entry problem in WinForm Pin
Chris#12-Jun-03 3:31
Chris#12-Jun-03 3:31 
GeneralRe: Yes, the NumLock light is on Pin
Chris#12-Jun-03 5:25
Chris#12-Jun-03 5:25 
GeneralRe: Datagrid data entry problem in WinForm Pin
A.Wegierski12-Jun-03 19:50
A.Wegierski12-Jun-03 19:50 
GeneralDatabinder question Pin
Peter Cresswell12-Jun-03 2:36
Peter Cresswell12-Jun-03 2:36 
Hi,

Should I be able to bind to a sub-property of a DataItem in a data grid?
i.e:

<br />
<%# DataBinder.Eval(Container.DataItem, "Product.Title") %><br />


It doesn't work for me. I get this message:
<br />
Exception Details: System.Web.HttpException: DataBinder.Eval:<br />
'POM.ProductDetails' does not contain a property with the name Title.<br />


But POM.ProductDetails does contain a Title Property!

The only way I can get it to work is to use a helper i.e.:

<br />
public string GetProductTitle(object Product)<br />
{<br />
     POM.ProductDetails product = (POM.ProductDetails)Product;<br />
     return product.Title;<br />
}<br />


This seems to be a very long way of doing it, especially if I have to do it
for every property!

Any ideas?
GeneralMemory leak woes. Pin
EvilDingo12-Jun-03 2:28
EvilDingo12-Jun-03 2:28 
GeneralRe: Memory leak woes. Pin
Philip Fitzsimons12-Jun-03 3:34
Philip Fitzsimons12-Jun-03 3:34 
GeneralRe: Memory leak woes. Pin
CBoland12-Jun-03 6:35
CBoland12-Jun-03 6:35 
GeneralRe: Memory leak woes. Pin
totig12-Jun-03 22:17
totig12-Jun-03 22:17 
GeneralCreating an instance of type using string litteral Pin
Venkatraman11-Jun-03 23:42
Venkatraman11-Jun-03 23:42 
GeneralRe: Creating an instance of type using string litteral Pin
Rocky Moore12-Jun-03 0:05
Rocky Moore12-Jun-03 0:05 
GeneralRe: Creating an instance of type using string litteral Pin
shaunAustin12-Jun-03 0:12
shaunAustin12-Jun-03 0:12 
GeneralRe: Creating an instance of type using string litteral Pin
Venkatraman12-Jun-03 0:38
Venkatraman12-Jun-03 0:38 
GeneralRe: Creating an instance of type using string litteral Pin
Kannan Kalyanaraman12-Jun-03 0:12
Kannan Kalyanaraman12-Jun-03 0:12 
GeneralRe: Creating an instance of type using string litteral Pin
Venkatraman12-Jun-03 0:19
Venkatraman12-Jun-03 0:19 
GeneralRe: Creating an instance of type using string litteral Pin
CBoland12-Jun-03 6:43
CBoland12-Jun-03 6:43 
GeneralAbout loading an image from resource... Pin
Weiye Chen11-Jun-03 23:22
Weiye Chen11-Jun-03 23:22 
GeneralRe: About loading an image from resource... Pin
Rocky Moore11-Jun-03 23:52
Rocky Moore11-Jun-03 23:52 
General'System.ObjectDisposedException' Pin
dratti11-Jun-03 19:13
dratti11-Jun-03 19:13 
GeneralRe: 'System.ObjectDisposedException' Pin
shaunAustin11-Jun-03 21:49
shaunAustin11-Jun-03 21:49 
GeneralRe: 'System.ObjectDisposedException' Pin
CBoland12-Jun-03 6:49
CBoland12-Jun-03 6:49 
GeneralInputbox Pin
Nick Seng11-Jun-03 17:22
Nick Seng11-Jun-03 17:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.