Click to See Complete Forum and Search --> : Please help


shiningnav
08-26-2005, 04:39 AM
I m getting error in Data Grid

DataBinder.Eval: 'System.Data.Common.DbDataRecord' does not contain a property with the name S_NO.
n code is <asp:TemplateColumn HeaderText="Done">
<HeaderStyle Wrap="False" HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemTemplate>
<asp:CheckBox ID="deletethis" cssclass='<%# DataBinder.Eval(Container.DataItem,"S_NO")%> ' Runat="server" >
</asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:ButtonColumn DataTextField="S_NO" HeaderText="S_NO" CommandName="Select"> <HeaderStyle Wrap="False"></HeaderStyle>
<ItemStyle Wrap="False" ForeColor="Blue"></ItemStyle>
<FooterStyle Wrap="False"></FooterStyle>
</asp:ButtonColumn>

Please let me know how to sort out this problem.

shiningnav
08-26-2005, 04:43 AM
Hi all i want to sort data Grid according to the Date in other wise date wise...
Can u ppl help me .....
i need this urgetly.....it's in ASP.NET with VB.NET

Mitsu03
08-26-2005, 08:49 AM
wtf they took post from me thats really messed up....

shiningnav
08-27-2005, 01:20 AM
Hi , I m new to ASP.NET...i using Data Grid n facing following problems with data grid...I described above but i m explaining again
I want to sort data in data grid date wise ...in ascending form...n one more thing i m using checkboxes in datagrid n want to select checked rows.Facing problem in that .I can delete checked rows but not able to use selected data.
I need help...hope I'll get help ....
Regards