|
|
Thanks!
|
|
|
|
|
Just noticed this post, you're welcome
|
|
|
|
|
Hi Mika
THANK YOU!
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)
SavePayment()
End Sub
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)
stu.Name = N_Cell.Text
stu.FathersName = FN_Cell.Text
stu.GrandFathersName = GFN_Cell.Text
stu.Registeredfor = RGN_Cell.Text
stu.Status = STN_Cell.Text
item.EndEdit()
Dim dsm As New dsMain
Dim tas As Students.dsMainTableAdapters.StudentsTableAdapter = New Students.dsMainTableAdapters.StudentsTableAdapter()
tas.Update(ds_Main.Students)
Dim ID As Integer = stu.studentID
Dim cv As BindingListCollectionView
cv = CType(StudentsDataGrid.ItemsSource, BindingListCollectionView)
cv.Refresh()
item.CreateChildView("FK_Payment_Students")
End Sub
|
|
|
|
|
Hi,
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
Best regards
|
|
|
|
|
Hi There,
I just realised the full potential of this Forum, Its good to know there is an active Moderator/Mentor that keep an eye on how things running, special thanks for editing my post,
I am still learning the functions and the interface.
Keep up the good work.
regards,
There are things which we can never understand
|
|
|
|
|
Thank you for helping me clean up my, "Tips"…
Was my Newbie-ness showing?
|
|
|
|
|
You're welcome
No I didn't notice anything like that
|
|
|
|
|
hi,
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
|
|
|
|
|
You posted this just on Q&A. Since I'm no expert in this field, I cannot help you but hopefully someone spots your question on the forum and gives you a good answer.
Best regards
|
|
|
|
|
Nice to meet you! You are cool and refreshing (maybe both means the same....) hmmm anyway you give a kind of relaxed feeling!
Regards, Bruno
|
|
|
|
|
Thanks Bruno
|
|
|
|
|
Hi Mika, I was looking at the top developers on this amazing web-brain-network and I was wondering if you are familiar with DOM and would like to help me on this matter.
Gmail - DIV vs BUTTONS - How to invoke CLICK?
Thanks in advance for any help on this regards.
Geo
|
|
|
|
|
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#[^]
/* LIFE RUNS ON CODE */
|
|
|
|
|
Hi,
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.
|
|
|
|
|
thank you and sorry for my fast messaging. (because i saw your name in top of article that you vote for closing my article.)
anyway i am going to work more on my article to make it better(images).
Again thanks for your response
Regards
-Amir Mohammad Nasrollahi
/* LIFE RUNS ON CODE */
|
|
|
|
|
No problem at all Hopefully you get the article published soon
|
|
|
|
|
/* LIFE RUNS ON CODE */
|
|
|
|
|
Hi Mika
Hope you are doing well,
I got the same issue which you faced with Visual studio 2013 Update 4,below is the link for your referencehttp://www.codeproject.com/Questions/848882/Key-usage-permission-with-VS-Update)
I am worried, do you got any resolution for this? please let me know at your earliest convenience. Your help is much needed.
Looking to hear from you.
Thanks
|
|
|
|
|
|
Hi dear Mika,
I submitted an article yesterday and your co-worker close it because of some problems. There is no main problem about it, But here is the question:
Why did you close another of my article that submitted more than one month ago?
Here is the link:
Finding All Online IP Addresses - Simple Method[^]
Please solve my problem.
Thanks.
Resistance
|
|
|
|
|
Hi,
Both articles were reported by several members as plagiarism. The state of the article is currently
Closed because This item is a copy of an existing article and does not provide adequate reference to the original.
In order to correct the situation, you should either add proper references or change the content of the article.
On the other hand if you feel that the article isn't plagiarized, then you should post a message to Bugs and suggestions[^]
|
|
|
|
|
Hi, I came across an article about "Callback contract in WCF" (https:
|
|
|
|