How can I get this value from an ActiveRecord?... Can I do this without using ActiveRecord?
Which property must I access in?
Thanks,
Pd:I speak spanish, sorry because of my poor english
Thanks
Hi,
In Visual Basic it's like this :
Dim obj As Object = myRecord.Cells(1).Value
toto is the name of my grid.
1 is the index of the cell, if you want you can replace 1 by the name of the cell .
enjoy ,
Nathalie
To realise what Josh advises you I could suggest you the following:
1. Look at the xamDataGrid Class Object model at http://help.infragistics.com/Help/NetAdvantage/WPF/2008.1/CLR3.X/html/Infragistics3.Wpf.DataPresenter.v8.1~Infragistics.Windows.DataPresenter.XamDataGrid.html
2. Look at the DataRecord Class Object model at http://help.infragistics.com/Help/NetAdvantage/WPF/2008.1/CLR3.X/html/Infragistics3.Wpf.DataPresenter.v8.1~Infragistics.Windows.DataPresenter.DataRecord.html
3. To convert your code from C# into VB.Net you can use a free online converter - http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
Best Regards,
Yanko
myDataRecord? where does this object come from?... could you write it for Visual Basic?
You can access a Cell's value from a DataRecord by:
object val = myDataRecord.Cells[ idx ].Value;