I am getting the result in table from my query say as Resulteddata.
it has six column say urlpath,name,title,description,modifieddate,createddate.
i want to display one of the column say "name" as linkcolumn and rest as normal so that clicking on name will linked to the urlpath column and will display the urlpath on other tab.
how to achieve that my code is below.
in c# windows application.
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\\foldername\\databasename.mdb"); OleDbCommand cmd = new OleDbCommand(); cmd.CommandText = "select * from Resulteddata"; cmd.Connection = con; OleDbDataAdapter da = new OleDbDataAdapter(); da.SelectCommand = cmd; DataTable dt = new DataTable(); da.Fill(dt); dataGridView1.DataSource = dt;
how to make the name column as linkcolumn in datagridview in c# windows application.