Thank you guys for the suggestions. I was able to get things working
using a DataView on my DataTable. (it looks like DataView and
DataRowView implement the INotifyPropertyChanged necessary for data
binding)
To create the DataView I'm now calling the DataTable's DefaultView
property.
On a side note, is it possible to implement some sort of build-loop in
wpf? (sorry, asp programmer here, I know wpf doesn't do loops) The
wpf DataGrid is able to build itself based on rows in a DataTable. My
situation is a bit more complex, I'm displaying a 8x12 grid of custom
controls, where each control is bound to a row.
thank you all for your help,
-Josh
On May 4, 9:50 pm, Ernesto Borrego <
ernesto.borr...@gmail.com> wrote:
> Millejos,
>
> As Rory noted, I would recommend StackOverflow to get some assistance.
>
> Without knowing about your architecture or the details of your error (would
> be helpful), it looks like you are using
ADO.NET as your data access
> technology. If you are able to Read the data, then it seems that your SQL
> Select statement is working fine. If you are having difficulties with CUD
> operations (Create, Update, Delete), then you should check their
> corresponding SQL statements/procedures. If you are using Visual Studio as
> your IDE, press F5 and you should be able to debug through your code.
>
> Hope this helps.
>
> -----------------------------------------------------------------
>
>
>
> On Tue, May 4, 2010 at 2:57 PM, Rory Plaire <
codekai...@gmail.com> wrote:
> > Hi millejos,
>
> > Have you tried Stackoverflow.com for this kind of question? Ususally you
> > can find one already posted, or if not, you get get answers pretty quickly.
>
> > If you still need help, talk to me off list. I have enough WPF experience
> > to help.
>
> > -rory
>
> > On Tue, May 4, 2010 at 12:49 PM, millejos <
mille...@gmail.com> wrote:
>
> >> I work in Corvallis and am new to .Net, I'm trying to databind in WPF
> >> and running out of options and out of time, is there anyone who could
> >> talk me through or point me to an example?
>
> >> My data is in strongly typed DataTables,
>
> >> I need to reflect the data live in some custom controls, currently
> >> WPF.
>
> >> I'm trying to bind my custom WPF control to a DataRowView type
>
> >> It works fine until I update a column in the DataRowView, the changes
> >> are not reflected live
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Corvallis Dot Net User Group" group.
> >> To post to this group, send email to
cd...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >>
cdnug+un...@googlegroups.com <
cdnug%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>
http://groups.google.com/group/cdnug?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Corvallis Dot Net User Group" group.
> > To post to this group, send email to
cd...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
cdnug+un...@googlegroups.com <
cdnug%2Bunsu...@googlegroups.com>.
> For more options, visit this group athttp://
groups.google.com/group/cdnug?hl=en.