Hi @tharakadilshan,
Try using the following and see if it helps.
Patch(
colDridData,
Defaults(colDridData),
{
No_of_Pax: No_of_Pax_DropDown.Selected.Value,
Country: Country_DropDown.Selected.Value,
DMC: DMC_DropDown.Selected.Value,
TO_Agent: TO_Agent_DropDown.Selected.Value,
Hotel: Hotel_DropDown.Selected.Value,
Remarks: Remarks_LBL.Text
}
);
If the above code shows error try using the following.
Patch(
colDridData,
Defaults(colDridData),
{
No_of_Pax: No_of_Pax_DropDown.Selected.No_of_Pax,
Country: Country_DropDown.Selected.Country,
DMC: DMC_DropDown.Selected.DMC,
TO_Agent: TO_Agent_DropDown.Selected.TO_Agent,
Hotel: Hotel_DropDown.Selected.Hotel,
Remarks: Remarks_LBL.Text
}
);
If you found my answer helpful, please consider giving it a thumbs-up or a like. Your feedback is greatly appreciated!
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.