Hi all
i have created a headbidingsource and detailbindingsource (Parent and Child) .
when i am create a simple data from in that form if i used datagridview for detailbindingsource insertcommand it's working but if i remoce datagridview and bind it to textbox . then couldnot be insert a single record in the detailbindingsource and even there is no error appear
detailbindingsource.DataSource = HeadBindSource
detailbindingsource.DataMember = "relation1"
DataGridView1.DataSource = detailbindingsource 'it is working
Me.txtaddress1.DataBindings.Add("text", detailbindingsource, "address1") 'insert command failed
so please suggest me,where i am doing to wrong
thanks in advance
Arjun
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only