Hello, I am working with a datagrid object in visual studio .net environment and sqlserver 2k.
I have 2, hopefully easy, questions. First, why is it that whenever I click on the datagrid in Design View or choose Edit Templates, that in the code it removes this line:
under
section of the code, which causes the datagrid to disappear. Second Is there a quick way to make the items align perfectly with the header? I have the Headers nicely spaced out and the items are all jumbled together. It looks horrendous. Thanks in advance!
I have 2, hopefully easy, questions. First, why is it that whenever I click on the datagrid in Design View or choose Edit Templates, that in the code it removes this line:
Code:
Me.SqlConnection.ConnectionString = Application("gLeedsDataSource")
Code:
#Region " Web Form Designer Generated Code "