If you encounter problems or questions I advise to write a post to either Q&A section or into the forums. When writing the post try to be as specific as possible and to pinpoint your problem. This way you'll get the best assistance.
I am using WPF and you caan see that I am able to get the value of studentID without using output clause.
Why is this not working as it would work in Windows Forms Application.
Private Sub PaymentDataGrid_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Private Sub StudentsDataGrid_RowEditEnding(ByVal sender As Object, ByVal e As System.Windows.Controls.DataGridRowEditEndingEventArgs) Handles StudentsDataGrid.RowEditEnding
Dim item As DataRowView = CType(e.Row.Item, System.Data.DataRowView)
Dim stu As dsMain.StudentsRow = item.Row
Dim row As DataGridRow = e.Row
Dim N_Cell As TextBlock = CType(C_Name.GetCellContent(e.Row), TextBlock)
Dim FN_Cell As TextBlock = CType(C_FName.GetCellContent(e.Row), TextBlock)
Dim GFN_Cell As TextBlock = CType(C_GFName.GetCellContent(e.Row), TextBlock)
Dim RGN_Cell As TextBlock = CType(C_Reg.GetCellContent(e.Row), TextBlock)
Dim STN_Cell As TextBlock = CType(C_Stat.GetCellContent(e.Row), TextBlock)
Dim dsm As New dsMain
Dim tas As Students.dsMainTableAdapters.StudentsTableAdapter = New Students.dsMainTableAdapters.StudentsTableAdapter()
Dim ID As Integer = stu.studentID
Dim cv As BindingListCollectionView
cv = CType(StudentsDataGrid.ItemsSource, BindingListCollectionView)
Regarding to WPF, there's no difference compared to Forms. You're using the same framework functionality in both environments. However, if the problem is that you're not actually getting the data from the DataGrid, then WPF can be an affecting factor.
I think that the best way to get good answers and multiple opinions is to post this in the forums (as you did with the original question). This way lot's of people see the question and can add solutions and guidance
I m Searching for source code or help for REMOTELY APPLICATION INSTALLER that is able to intall any software remotly over connected machine in LAN as its remotly installer i need to add silently features for installing any software by this application that remote machine doesn't know abt it..
In short i want source code or application that contain mainly 2 features as below..
1)scan and list all connected(alive) machine in Lan(ip\name etc).
2)Intall software(.msi file)(silently) on selected machines from IP List.
M really very tied after searching n surfing for this code and nw i hope for positive reply..
thankx in advance..waiting 4 solution
i am very angry from codeproject editors. i am start writing a popular article (just 5 million fan in IRAN) and when it complete i click on publish button. but after many hours some editors say that its not clear and they mark it closed. Mad |
Also i must add that i use pictures and good explanation for beginners on that article.
url: Making Site Address Finder in C#[^]
I'm not sure why you decided to send the message to me. Codeproject editors are staff of the CodeProject, not ordinary members as I am...
However, to explain the concept: When an article is published, it goes into a publishing queue. At this point almost all the CodeProject authors can comment on the article and vote for publishing. So the community itself decides what is published and what is not.
After receiving this post I had a look at the article you have submitted. It looks promising as far as I can see, but the pictures seem to be missing for some reason. Also a full blown article would require more explanation.
I believe that when you make these corrections the article gets published properly.