scampercat

scampercat

  • NA
  • 189
  • 0

C# web form

Oct 13 2011 12:16 PM

I am currently working on adding a new page to an existing C# asp.net web forms 2010 application. Since I am new to working with C# webforms (but have the desktop expereince), I have the following questions/items to mention:

1. The new web page will use the master pages already setup and I am suppose to put all web objetswithin a webfrom table. **This is a requirement of the project.

2. When I am working with the webform table, I am using the designer to create more rows in the table when I need it. However on one row I want a label and a text box embedded in one row of the table. I can not figure out how to drag the label and textbox into the correct cells on the table. The only thing I figured out was to go into the source code side and copy the asp.net label and textboxes into the correct cells.

Thus can you tell me how to drag and drop items from the toolbox into the correct tables within the table?

3. Can you tell me how to drag a gridview control into the correct cell of the table?

4. If you were me, would you create separate tables for each line I am trying to setup in one orginal table?

5. In the source code, I would like the code to line up so I can match the label tags. When I am in source view, I do have the code line up. However, when I drop and drag an item from the toolbox onto the designer, my formatting gets messed up. Is there a way to keep this formatting?


Answers (6)