0
我试图将数据从一个字符串到数据视图控制转移,可能有人演示如何可以这样做:把从字符串数据到数据视图
private void testing_Click(object sender, EventArgs e)
{
// Get a ScheduledTasks object for the computer named "DALLAS"
string machineName = (@"\\" + System.Environment.MachineName);
ScheduledTasks st = new ScheduledTasks(machineName);
// Get an array of all the task names
string[] taskNames = st.GetTaskNames();
st.Dispose();
}
什么数据出来这一套你想要显示吗? – Frosty840
@frosty840任务名称中的字符串名称 – James
您的意思是DataGridView? – dandan78