Home All Groups Group Topic Archive Search About
Author
15 Feb 2007 3:40 PM
Chris
Can someone help me figuere out how to get the returned data frm the code
beow. How do I get each column of data returned into a variable. I basically
get the selcted value in a datagrid view, then I want to run a query on that
to get another column in that record.

commandCol = scriptDataGridView[4, rowNum].FormattedValue.ToString();

string sCommand = "SELECT CommandString FROM Commands WHERE CommandName = "
+ commandCol;                     

this.commandsTableAdapter.FillByCommandName(this.fixed1DataSet.Commands,
sCommand);

Now how do I access each returned value?

AddThis Social Bookmark Button