create checked rows from gridview to database in 3 tier

January 29, 2010 – 1:00 am

create checked rows from gridview to database in 3 tier
Hi. I would like to create those checked rows in gridview with a button click. For example, an user checks 2 rows in the gridview, and clicks on the create button. I would want the selected row/s to be created to the database. How would I go about doing this? I’m not sure if you understand my…

Problem in adding image in word doc in C#
Hi, I’m generating word doc on the fly by using html in asp .net with C#. And I want to add image at top but after creation of word doc I’m not able to see that image. I don’t want to use Word or any third party dll. Please Help me out Below is code snippet :

News Story Will U.S. States Start Collecting More Internet Sales Taxes?
As increasing numbers of states are running into budgetary problems, some of them are starting to look at taxing Internet sales. When the Internet first started becoming a commercial entity, Internet sales were exempted from sales taxes in order to help encourage new commercial companies to form…

TestDriven.Net Options Pane

options

In the latest version of TestDriven.Net you will find a new options pane. The options are as follows:

Hide trace/debug output when running all tests in project/solution

In the past this setting has always been hardwired to true. It means you can add trace information to a test without cluttering up the Test output pane when all tests are executed. An alternative way to ensure a message will always appear in the output is to use Console.WriteLine rather than Trace.WriteLine . This also means the verbose Gallio/MbUnit test run output will show up when executing all tests in a project.

Cache test process between test runs

By default the external test process will be cached when the Run Test(s) command is used. This process appears in the tool tray as a rocket icon which can be used to kill the process. This is fine unless one of your tests starts leaking leaking native resources (such as leaving open a file handle). The best solution is to fix the resource leak, but you now have to option to work around the issue by killing the test process at the end of each test run. This can be useful if the resource leak is in a 3rd party DLL which can t be easily be changed.

Categories

This option supports the most common use of test categories; you can choose to include or exclude a selection of categories. This is useful if you want to exclude long running tests or if your machine isn t configured to execute integration tests. This feature is currently only supported by the NUnit runner that comes with TestDriven.Net, but I believe it will be supported by a a future version of Gallio.

You can specify your NUnit test categories like this:

    [Test, Category("LongRunning")] 
    public void LongRunning() 
    { 
        Thread.Sleep(10000); 
    } 

There are lots of features in TestDriven.Net that could be exposed as options. I ll try to resist this temptation as much as possible, but I m sure a few more will creep in. ;-)

You must be logged in to post a comment.