Click here to Skip to main content
16,011,905 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Silverlight + WCF Communication Pin
Mark Salsbery11-Jun-09 10:22
Mark Salsbery11-Jun-09 10:22 
QuestionHow to get images in Application's folder Pin
Nekkantidivya10-Jun-09 2:40
Nekkantidivya10-Jun-09 2:40 
AnswerRe: How to get images in Application's folder Pin
User 27100910-Jun-09 5:00
User 27100910-Jun-09 5:00 
AnswerRe: How to get images in Application's folder Pin
ABitSmart10-Jun-09 5:03
ABitSmart10-Jun-09 5:03 
AnswerRe: How to get images in Application's folder Pin
varun 200924-Feb-10 20:35
varun 200924-Feb-10 20:35 
QuestionWPF Datagrid? Pin
S Rajput9-Jun-09 15:37
S Rajput9-Jun-09 15:37 
AnswerRe: WPF Datagrid? Pin
Christian Graus9-Jun-09 15:48
protectorChristian Graus9-Jun-09 15:48 
GeneralRe: WPF Datagrid? Pin
S Rajput9-Jun-09 16:37
S Rajput9-Jun-09 16:37 
Thanks for reply Christian.This is what i have done,

dvMatrix = GetDataSource.DefaultView

dgMatrix.ItemsSource = dvMatrix

Datasource1 = GetDataSource()

So, I am assigning itemsource using GetDataSource method which returns me a datatable. I will store it in a public datatable variable(DataSource1).

So inside the btnSave_click event,
Dim dt As DataTable
Dim dr1 As DataRow

dt = Datasource1 'i am using the datatable- DataSource1

Dim jk = dt.Rows.Count

For Each dr1 In dt.Rows

strFrom = dr1("PortsFrom")
strTo = dr1("PortsTo")
....
next

Problem is, i am still getting original grid content not the modified content.
Is there something i need to do inside dgMatrix_RowEditEnding function to update the datasource??
GeneralRe: WPF Datagrid? Pin
Christian Graus9-Jun-09 17:17
protectorChristian Graus9-Jun-09 17:17 
GeneralRe: WPF Datagrid? Pin
S Rajput9-Jun-09 19:08
S Rajput9-Jun-09 19:08 
GeneralRe: WPF Datagrid? Pin
S Rajput9-Jun-09 19:33
S Rajput9-Jun-09 19:33 
GeneralRe: WPF Datagrid? Pin
Christian Graus9-Jun-09 20:33
protectorChristian Graus9-Jun-09 20:33 
GeneralRe: WPF Datagrid? Pin
S Rajput9-Jun-09 20:58
S Rajput9-Jun-09 20:58 
GeneralRe: WPF Datagrid? Pin
Pete O'Hanlon9-Jun-09 21:53
mvePete O'Hanlon9-Jun-09 21:53 
GeneralRe: WPF Datagrid? Pin
Christian Graus9-Jun-09 22:24
protectorChristian Graus9-Jun-09 22:24 
QuestionGaussian Blur Effect Pin
Etienne_1239-Jun-09 6:50
Etienne_1239-Jun-09 6:50 
AnswerRe: Gaussian Blur Effect Pin
#realJSOP9-Jun-09 9:03
professional#realJSOP9-Jun-09 9:03 
AnswerRe: Gaussian Blur Effect Pin
Christian Graus9-Jun-09 10:51
protectorChristian Graus9-Jun-09 10:51 
AnswerRe: Gaussian Blur Effect Pin
Pete O'Hanlon9-Jun-09 23:06
mvePete O'Hanlon9-Jun-09 23:06 
GeneralRe: Gaussian Blur Effect Pin
Etienne_12310-Jun-09 3:49
Etienne_12310-Jun-09 3:49 
GeneralRe: Gaussian Blur Effect Pin
#realJSOP10-Jun-09 8:12
professional#realJSOP10-Jun-09 8:12 
QuestionNavigationEventArgs.Uri and LoadCompleted event Pin
Gary Wheeler9-Jun-09 5:32
Gary Wheeler9-Jun-09 5:32 
QuestionCopy Paste event handler at design time Pin
Vinod C S9-Jun-09 5:20
Vinod C S9-Jun-09 5:20 
AnswerRe: Copy Paste event handler at design time Pin
Christian Graus9-Jun-09 10:53
protectorChristian Graus9-Jun-09 10:53 
AnswerRe: Copy Paste event handler at design time Pin
User 27100910-Jun-09 5:07
User 27100910-Jun-09 5:07 

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.