Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Browse by Tags

All Tags » asp.net » .Net » ADO.NET
  • Limit Rows In DataTable or DataSet

    I wrote some quick and dirty ADO.NET code to go against an RSS feed instead of a flat XML file today.  In the process I had to figure a way to limit the number of rows returned by the function, which returns a DataTable.  The simplest method I found was this one, which uses the DataTable.Select() method.  Using this technique, you ...
    Posted to Steven Smith (Weblog) by ssmith on October 30, 2007
  • Managing XSD Files - if you must have them

    For an admin application I've been working on, we're using a third party reporting tool to serve up reports to our users over the Internet.  The reports have a nice designer that works with XSD files in Visual Studio.  Not particularly fond of XSDs as a means of data access, I thought I would limit the damage by having only one of them ...
    Posted to Steven Smith (Weblog) by ssmith on September 5, 2007
  • Force Refresh of DataSourceControl

    I had a situation where I was using a DataSourceControl (actually an LLBLGenProDataSource2,which inherits from DataSourceControl) bound to a grid, and I wanted the grid to refresh its contents whenever I added or deleted an item from it.  I discovered a neat trick noted here, which is that if you touch the SelectParameters collection of the ...
    Posted to Steven Smith (Weblog) by ssmith on August 25, 2007
  • LLBLGen v2 Released

    Frans announced yesterday that LLBLGen 2.0 has been released!  I’ve been using LLBLGen happily for several years now.  It is a very solid ORM tool and I’m looking forward to using the new version going forward.  You can read a list of new features and enhancements here.  If you haven’t used LLBLGen before, I ...
    Posted to Steven Smith (Weblog) by ssmith on July 3, 2006
  • New Site: DotNetSlackers

    A new site I'm using to push me updates of interesting blogs is DotNetSlackers.com.  Sign up for their mail service, and you'll get a single daily email with that day's posts arranged by keyword category.  I've been pretty lax in firing up my RSS aggregator client, so this is a good way for me to at least make sure I'm not missing ...
    Posted to Steven Smith (Weblog) by ssmith on October 10, 2005
  • Old Databases and Sql Query Notifications (cache invalidation)

    Julie and I were having issues with getting Sql Query Notifications to work for ASP.NET cache dependencies (for our DevConnections talks).  The trick was this: sp_dbcmptlevel yourdatabasename,90 Julie did most of the research on this one, with help from Sushil Chordia and Leonid Tsybert from Microsoft.  She has more on her blog, but ...
    Posted to Steven Smith (Weblog) by ssmith on September 7, 2005