String str = textbox2.text;
// DataGrid1.datasource = Directory.GetFiles (STR);
DataGrid1.datasource = Directory.getFiles (STR, "*. ASPX"); // Get list of files in the directory .ASPX suffix
DataGrid1.databind ();