tags:

views:

25

answers:

0

Hi, I have a GridView and i am bind a 4 tables data got with business entities to it .I have declared columns as Template columns .The table contain multiple columns with the same name .How do i bind the correct column in the EditTemplate without using the ItemDataBound ? Here is what exactly happens Æ

Here the code for the Item template i have written i need something similar to this ?

<%# ((Ebud.Entities.Table1)Container.DataItem).HasColumn ? ((Ebud.Entities.Table1)Container.DataItem).Name.ToString(): string.Empty %>

?

Regards, Francis P.