Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #72.9K
~3K People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for Marlon189

If I understand your question correctly, you can use a query like `query = String.Format("select ID from suppliers where Name_of_Supplier = {0}", txtSupplier.Text);` that should return the id

Member Avatar for Marlon189
0
3K
Member Avatar for johndohmen1963

The problem is that you enter a string into a cell formatted for a date. Just change `row.Cells(5).Value = Format(date1.ToString("yyyy - MM - dd dddd"))` into `row.Cells(5).Value = date1` that should work. `Me.DataGridView1.Columns("Doopdatum").DefaultCellStyle.Format = "yyyy - MM - dd dddd"` defines the display of the value, but the value is …

Member Avatar for r310070
0
438

The End.