I
Iwan Petrow
Hi,
I have two tables with relation:
Table1:
T1_id
T2_id (foreign key,allow null)
.....
Table2
T2_id
.....
I show two tables in Web form with controls binded to a dataset (I use
a Web service to get this dataset). But when T2_id (in Table1) is null,
there is not a "row" for Table2 in the dataset. When controls binds to
corresponding values - I have exception IndexOutOfRange. When I have
this situation I want the controls to show empty strings.
How could I do this?
Thanks.
I have two tables with relation:
Table1:
T1_id
T2_id (foreign key,allow null)
.....
Table2
T2_id
.....
I show two tables in Web form with controls binded to a dataset (I use
a Web service to get this dataset). But when T2_id (in Table1) is null,
there is not a "row" for Table2 in the dataset. When controls binds to
corresponding values - I have exception IndexOutOfRange. When I have
this situation I want the controls to show empty strings.
How could I do this?
Thanks.