No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
guys, i have this function: [code] Public Function GetDataSource(ByVal dataItem As Object) As DataTable Dim intNo As String = DataBinder.Eval(dataItem, "Item_No") Dim blahdt As DataTable = tempdt [COLOR=Red]'blahdt.DefaultView.RowFilter = "Item_No='" & intNo & "'"[/COLOR] [COLOR=Navy]'blahdt.Select("Item_No='" & intNo & "'")[/COLOR] Return blahdt End Function [/code] i want to filter my datatable, … |
|
Guys, i have been struggling with this for past three days... here is what i have... aspx page [CODE]<form id="Form1" method="post" runat="server"> <asp:repeater id="titleRepeater" runat="server" EnableViewState="False"> <ItemTemplate> <b><%# DataBinder.Eval(Container.DataItem,"Item_No") %> <br> </b> <asp:DataGrid ID="maingrid" Runat="server" AutoGenerateColumns=True DataSource='<%# GetDataSource( Container.DataItem )%>' OnItemDataBound="maingrid_showformatting" ShowFooter=True > </asp:DataGrid> <br> </ItemTemplate> </asp:repeater></form>[/CODE] codebehind [code] Private … |
|
Hello All, i know how to add rows(sub headings) to the stand alone datagrid...i have followed the tutorials at [url]http://aspnet.4guysfromrolla.com/articles/072603-1.aspx[/url] but how can i do the similar thing for each child grid inside the master-child datagrid. to create master-child datagrid i followed the tutorials at [url]http://aspnet.4guysfromrolla.com/demos/MasterDetail.aspx[/url] can someone provide some … |
|
Hello Guys, here is what i am trying to do...i am trying to add some rows(subheading rows) to the child grid inside the master datagrid and not sure where to do it... i have filled my datasets as below for master and child grids [code] oDA.Fill(oDataSet, "items") oDA.SelectCommand.CommandText = sql2 … |