Silverlight / WPF - Wpf,Wcf,Mvvm,Linq
Asked By Raghava reddy
10-Jan-12 12:39 AM
HI,
How to insert the data into tables using wpf,wcf,mvvmpattern and linq
Vickey F replied to Raghava reddy
Riley K replied to Raghava reddy
Your question is not so specific
Here are few steps
create an object model that resembles your data model (i.e. you need to create a class for each of your tables, declare their keys etc) - this can be automated (see here)
create a DataContext class that represents your database - you will need this to get and submit your changes to the database
after you've made changes to your object model, submit the changes to the database using the data context.
there are plenty of examples on the web, such as this one
http://msdn.microsoft.com/en-us/library/bb425822.aspx#linqtosql_topic7
Regards.
silverlight and wpf difference if one person has gain master in silverlight than wiil this help him in learning wpf Hi Malik, WPF has a more advanced and mature XAML support than Silverlight. Silverlight used to be called (WPF / E) and is a subset of the WPF XAML design. Therefore, it doesn't support
how to acess textbox value from datagrid in wpf. . ? Silverlight / WPF hello frnds <WPF:DataGridTemplateColumn Header = "Result"> <WPF:DataGridTemplateColumn.CellTemplate> <DataTemplate> <TextBox Text = "{Binding Path = testresult}" Name = "tb" / > < / DataTemplate> < / WPF:DataGridTemplateColumn.CellTemplate> < / WPF:DataGridTemplateColumn> how to get textbox value, selected row of data grid, as shown in above get in cs page . try this, http: / / stackoverflow.com / questions / 2443941 / get-textbox-binding-in-wpf-datagridtemplatecolumn Create New Account keywords: how, to, acess, textbox, value, from, datagrid, in, wpf. . ? description
Silverlight vs WPF? What is the difference between WPF & silverlight?when to use silverlight & when to use WPF? is it true WPF is only use for dektop application? WPF is for desktop applications- you create an .exe file when you build WPF applications. To
how to get DataTemplate text box vlaue from datagrid in wpf Silverlight / WPF HI all <WPF:DataGridTemplateColumn Header = "Result"> <WPF:DataGridTemplateColumn.CellTemplate> <DataTemplate> <TextBox Text = "{Binding Path = testresult}" Name = "txtResult" / > < / DataTemplate> < / WPF:DataGridTemplateColumn.CellTemplate> < / WPF:DataGridTemplateColumn> how to get txtResult value in CS page. in button click event. plz reply world!" ; } Create New Account keywords: how, to, get, DataTemplate, text, box, vlaue, from, datagrid, , in, wpf description: HI all how to get txtResult value in CS page. in button
wpf Silverlight / WPF i need to know how to bind a menu control using sql database. . Thanks. . . WPF (1) Binding (1) Menu (1) Control (1) http: / / www.codeproject.com / Articles / 37848 / WPF-Data-Bound-Menus http: / / stackoverflow.com / questions / 899204 / wpf-menuitem-header-and-headertemplate http: / / stackoverflow.com / questions / 1767961 wpf-bind-menu-item Hi you just go through the below link it is very clearly Add(newMenuItem); AddChildMenuItems(menuData, newMenuItemFromDB ); Hope it helps!! Regards D test Create New Account keywords: wpf description: i need to know how to bind a menu control using sql database. . Thanks