Hi
I’m a beginner in C#, so I would to be patient with me please.
I have two connected tables, I filled the first one (with primary key) with data as usual by adding textboxes to a form and so on.. .I have no problem with it, but the problem is with the second one –the child- (of Foreign key) which is connected to gridview.How can I fill the foreign key field’s column in the data grid, in other words , how can I transfer the primary key value from the 1rst table in the form1 to the foreign key field's column of gridview in the 2nd form.
Any help would be greatly appreciated.