
March 28th, 2003, 09:02 AM
|
|
Junior Member
|
|
Join Date: Mar 2003
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
help with databinding
You can bind a dataset to a datagrid like this.
this.dgResultsGrid.DataSource = ds;
this.dgResultsGrid.DataBind();
my colums are binded like this
<asp:Label id=Label1 runat="server" Text='<%# ((int)DataBinder.Eval(Container, "DataSetIndex")) + 1 %>'>
<asp:label id="Label3" runat="server">
<%# GetCharacterization(Container.DataItem)%>
</asp:label>
<asp:label id="Label2" runat="server">
<%# DataBinder.Eval(Container.DataItem, "Write")%>
</asp:label>
my questions
can i bind more then one tabel/datasetes to a datagrid?
can i bind per colum in my datagrid a different tabel/dataset?
|