Hi,
There are examples that ship with Measurement Studio. There are examples for all of the different types of tasks (i.e. AI, AO, DI, DO, etc.) The examples for DO are here:
C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmx\Digital\Generate Values
You can look over these examples and see how they are writing to a specific line, or to a port(combination of lines). For your case you can write to two different lines. One of the lines can be the reset line, and the other line can be the data line.
I hope this helps. Have Fun!
George