i get the IDE to write all the donkey code for me in those situations.. I jsut go to whichever tableadapter is most relevant, make a new query (it doesnt matter what type) and finish the wizard, then goto the properties of the new query, set the type to StoredProcedure and change the name to whatever my sproc is caled. The IDE looks it up in the DB and makes a parameters collection for me that is all laid out. All i have to do is map the parameters to columns in the datatable, if im going to be using it in that way