Search by ProductId or Product Description

  • Hello Phil,

    May be you could set a default value for the ProductId or Description when the form opens, which would limit the number of finds.

    Regards,

    John Marsh

    www.sql.lu
    SQL Server Luxembourg User Group

  • Hello Phil,

    I guess it is an ASP.Net Web page? It’s been a while since I worked with them, but I would assume that in the code behind, the DataGrid’s Load method is being called, from inside one of the page initialisation events e.g. onLoad.

    If you commented out that DataGrid.Load statement then would you end up with an empty DataGrid on first display of the page?

    Regards,

    John Marsh

    www.sql.lu
    SQL Server Luxembourg User Group

  • Thanks John I will take a look. I used the standard controls available within MS VWD 2008(no coding on my part!).

    Many Thanks,

    Phil.

    -------------------------------------------------------------------------------------
    A neutron walks into a bar. "I'd like a beer" he says. The bartender promptly serves up a beer. "How much will that be?" asks the neutron. "For you?" replies the bartender, "no charge."

    Two hydrogen atoms walk into a bar. One says, 'I think I've lost an electron.' The other says 'Are you sure?' The first says, 'Yes, I'm positive... '

    Tommy Cooper

Viewing 3 posts - 16 through 17 (of 17 total)

You must be logged in to reply to this topic. Login to reply