displays multi upload pdf files in a single row gridview

Jan 24 2015 12:42 PM
 no Name file Status
 1 hothorasman file1,file2 ok
 

help me,

this my code to bind gridview

private void show()

{

MySqlConnection con = new MySqlConnection(strConnString);

DataTable dtbl = new DataTable();

string sql = "SELECT * FROM tbl_peraturan";

con.Open();

MySqlDataAdapter adap = new MySqlDataAdapter(sql, con);

adap.Fill(dtbl);

GridView1.DataSource = dtbl;

GridView1.DataBind();

con.Close();

}

 

Answers (2)