Incase of Default or Empty i want to supply some value
string[] str = {string.Empty, "hello", "world" };
var select = str.Select(s => s).DefaultIfEmpty("nodata");
GridView1.DataSource = Select;
GridView1.DataBind();
why did not my grid fill with
nodata
hello
world
instead i receive
hello
world