2012-06-26 23 views

回答

0

您可以在數據集 找回它們並 dataset.tables [ 「表名或索引」]

實例訪問的每個表:

// SqlCommand cmd=new SqlCommand("ProcedureName","Connection"); 
// cmd.CommandType = CommandType.StoredProcedure; 
// SqlDataAdapter da=new SqlDataAdapter(cmd); 
// Dataset ds=new Dataset(); 
// da.Fill(ds); 
// Now after Filling the Dataset you can Retrieve it by 

dataset.tables["TableName or Index"] 
+0

@Daveshaw是的,謝謝,我明白了 – Anudeep

+0

@omer好的謝謝... – Anudeep

相關問題