karthik v r

karthik v r

  • NA
  • 5
  • 0

C# MASTER DETAIL FORM - NEED TO DELETE ONLY DETAIL RECORDS

Jul 31 2012 10:28 AM
HI
I DEVELOPED A MASTER DETAIL FORM USING WIZARD . THE PROBLEM  IS WHEN I DELETE ONE RECORD FROM DETAIL DATAGRIDVIEW , ALL RECORDS FROM BOTH DETAIL AND MASTER DATAGRID VIEW ( FOR THE PARTICULAR ID ) IS GETTING DELETED. I WANT ONLY THE PARTICULAR DETAIL RECORD TO GET DELETED
WHEN I FOCUS THE CURSOR ON THE DETAIL RECORD . IF I PLACE THE CURSOR ON THE MASTER RECORD AND THEN CLICK DELETE COMMAND THEN BOTH MASTER RECORD AND DETAIL RECORDS SHOULD BE DELETED. HOW TO IMPLEMENT THIS FUNCTIONALITY.
PLEASE HELP!EN


THANK U
KARTHIK