Of course! If you're using the sound from the drum module that comes with the electronic drums, you just have to plug the audio output into the PC's audio card's input. Use an audio software to record and you're done.
If you want to trigger other sounds from software (drum softsamplers etc), connect the midi out from your drum module to the midi in of your PC's midi interface. In the sequencing software, select your VST plug-in software, make sure your midi channel is selected correctly (drums are usually at channel 10 by default) and you're done. Of course, if you are using Gigastudio, things are slightly different in terms of software routing.