Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data grid problems

Status
Not open for further replies.

ksbrace

Programmer
May 13, 2000
501
US
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:
Code:
Me.SqlConnection.ConnectionString = Application("gLeedsDataSource")
under
Code:
#Region " Web Form Designer Generated Code "
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!
 
Excuse me, I meant to say DataList object. My apologies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top