How can the username and password been created from login control?

Drag and Drop the Login Control VS.NET toolbar under Login , change the form name to ‘Login.aspx’. In the web.config file: Add the codings given below <authentication mode='Forms'> <forms loginUrl='Login.aspx' protection='All'> <credentials passwordFormat='Clear'> <user name='Admin' password='Admin'/> <user name='Super' password='Super'/> <user name='User' password='User'/> </credentials> </forms> </authentication> When the user name and corresponding password mentioned above are given , then the login operation will be completed successfully.

What is an Literal Control.

The Literal control is similar to the Label control, except the Literal control does not enable you to apply a style to the displayed text.. <div> <asp:Literal ID='Literal1' runat='server'></asp:Literal> </div> protected void Page_Load(object sender, EventArgs e) { Literal1.Text = 'LiteralTextDemo'; } **Now the Resultant text will be in the format: **LiteralTextDemo****

How to make VS.Net use FlowLayout as the default layout rather than the GridLayout

For VB.NET, go to path C:\Program Files\Microsoft Visual Studio .NET\Vb7\VBWizards\WebForm\Templates\1033 Change the following line in the existing WebForm1.aspx <body MS_POSITIONING='[!output DEFAULT_HTML_LAYOUT]'> to <body> For C#, go to path C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards\CSharpWebAppWiz\Templates\1033 Change the following line in the existing WebForm1.aspx <body MS_POSITIONING='[!output DEFAULT_HTML_LAYOUT]'> to <body> Note:Before changing any templates it’s a good idea to make backup copies of them Or rather than above approach you can change the behavior for new files on a per project basis in Visual Studio by: Right clicking on the project name (Ex: ‘WebApplication1)’ in Solution Explorer, and select ‘Properties’. From project properties window, under Common Properties>Designer Defaults>Page Layout change ‘Grid’ to ‘Flow’.

How can I access a webpage from a windows form

Use the WebRequest class found in the System.Net namespace. //create the request object WebRequest req = WebRequest.Create(@'http://www.syncfusion.com'); //get the response and use the response WebResponse resp = req.GetResponse(); Stream stream = resp.GetResponseStream(); StreamReader sr = new StreamReader(stream); string s = sr.ReadToEnd(); textBox1.Text = s;