Hi all,
I'm newbe need your help. I have code:
public void Material_Load(object sender, EventArgs e)
{
SqlConnection con;
SqlDataAdapter da;
DataSet ds;
con = new SqlConnection();
con.ConnectionString = "Data Source=GOD_LOVE_ME;Initial Catalog=ProjetDB;Integrated Security=True";
con.Open();
da = new SqlDataAdapter("select * from Material", con);
ds = new DataSet();
da.Fill(ds);
DG1.DataSource = ds;
}
but.. I can't select row or column, can u help me chnge this code?
Thanks.