hi,
thanks for replies..
i am storing the media element's source string(hosanna.mp3) in table..
and retrieving it from datagrid selection changed to the media element source..
check my code..
private void dgO_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
for (int i = 0; i < dsM.Tables[0].Rows.Count; i++)
{
txturi.Text= dsM.Tables[0].Rows[i][15].ToString();
mediaElement1.Source =New Uri(txturi.Text);
error is thrown at this point "New Uri(txturi.Text);"
}
}
is this rite;