Making a horizontal list with flow

Certified ASP.NET Programmer

Horizontal list with flow in ASP .Net can be done as per below listed steps

Style rules are important to the web page layout as it aligns the items. Basic formatting to the ListView elements can be added as
1. Open the Source view.
2. Add or edit in the

area

{
display: inline;
float: left;
}

The display:inline and float:left if applied to the list items (

  • ) changes it from a vertical to a horizontal display.

 

Learn the basics of For Loop | The For Loop Tutorial

Certified ASP.NET Programmer

The for Loop

For loop use an iteration variable. They are ideal when looping over many numbers in order with a definite terminating condition. No collection of elements is required. But we can use the variable to index a separate collection. This iteration variable allows more flexibility than for each.

Example
This example program loops using the for-loop construct in the C# language. The name of the variable “i” is a convention. Because of this, it is easier for other programmers to understand than unusual variable names in many cases.

The program shows an increment for-loop, a decrement for-loop, a for-loop that adds two the variable, and a for-loop that subtracts two from the variable. The example shows also the exact output of this program when it is executed in the Common Language Runtime.

using System;

class Program
{
static void Main()
{
//
// Shows five ‘for int i’ loops.
//
Console.WriteLine(“— For 1 —“);
for (int i = 0; i < 10; i++) { Console.WriteLine(i); } Console.WriteLine(“— For 2 —“); for (int i = 10 – 1; i >= 0; i–)
{
Console.WriteLine(i);
}
Console.WriteLine(“— For 3 —“);
for (int i = 0; i < 10; i += 2) { Console.WriteLine(i); } Console.WriteLine(“— For 4 —“); for (int i = 10 – 1; i >= 0; i -= 2)
{
Console.WriteLine(i);
}
Console.WriteLine(“— For 5 —“);
for (int i = 0; i < (20 / 2); i += 2)
{
Console.WriteLine(i);
}
}
}

Output

— For 1 —
0
1
2
3
4
5
6
7
8
9
— For 2 —
9
8
7
6
5
4
3
2
1
0
— For 3 —
0
2
4
6
8
— For 4 —
9
7
5
3
1
— For 5 —
0
2
4
6
8

The for-loop construct is followed by parentheses with three statements separated by semicolons. When the for-loops are encountered, the first of the three statements is executed. The for-loop shown first in the example will first has its “int i = 0” statement executed. The loop will start with its iteration variable set to zero.

Using Parameters in Queries

Certified ASP.NET Programmer

Using Parameters in Queries

The SqlDataSource control’s Configure Data Source wizard offers three avenues for defining the command to execute to retrieve database records:

By picking the columns from an existing table or view,
By entering a custom SQL statement, or
By choosing a stored procedure

When picking columns from an existing table or view, the parameters for the WHEREclause must be specified through the Add WHEREClause dialog box. When creating a custom SQL statement, however, you can enter the parameters directly into the WHEREclause (using @parameterNameto denote each parameter). A stored procedure consists of one or more SQL statements, and these statements can be parameterized. The parameters used in the SQL statements, however, must be passed in as input parameters to the stored procedure.

The SqlDataSource and AccessDataSource controls enable you to specify parameter placeholders in an SQL statement, such as the SelectCommand. The ObjectDataSource control uses parameters to determine the appropriate method signature to call for a particular data operation, such as the SelectMethod.

Data source controls typically include a parameter collection for each data operation. When selecting data, you can specify a SelectParameters collection, when updating a data item you can specify an UpdateParameters collection, and so on. The contents of the parameters collection for a particular action are then used to supply values to the underlying data source. When inserting, updating, or deleting data, the data source control creates parameters for bound fields, combines them with the explicitly specified parameters collection (if any), and then passes the resulting collection to the data source.

The following example shows a SqlDataSource control that retrieves information based on a value from a QueryString field.

ConnectionString=”<%$ ConnectionStrings:Northwind %>”
SelectCommand=”SELECT EmployeeID, LastName, FirstName FROM Employees
WHERE EmployeeID = @empId”>

The following example shows a SqlDataSource control that retrieves information based on a value from another control on the page.
Sales Representative
Sales Manager
Vice President, Sales

ConnectionString=”<%$ ConnectionStrings:Northwind%>”
SelectCommand=”SELECT LastName FROM Employees WHERE Title = @Title”>

The following example shows a SqlDataSource control that uses parameterized commands to query and modify data from a data-bound control. Parameters are explicitly specified in order to strongly type parameter values and to specify output parameters.
C#
VB

<%@ Page language=”C#” %>

Northwind Employees

Northwind Employees

 

 

 

 

 

SelectCommand=”SELECT EmployeeID, LastName + ‘, ‘ + FirstName AS FullName FROM Employees”
Connectionstring=”<%$ ConnectionStrings:NorthwindConnection %>”
RunAt=”server”>

SelectCommand=”SELECT EmployeeID, LastName, FirstName, Address, City, Region, PostalCode
FROM Employees WHERE EmployeeID = @EmpID”

InsertCommand=”INSERT INTO Employees(LastName, FirstName, Address, City, Region, PostalCode)
VALUES (@LastName, @FirstName, @Address, @City, @Region, @PostalCode);
SELECT @EmpID = SCOPE_IDENTITY()”

UpdateCommand=”UPDATE Employees SET LastName=@LastName, FirstName=@FirstName, Address=@Address,
City=@City, Region=@Region, PostalCode=@PostalCode
WHERE EmployeeID=@EmployeeID”

DeleteCommand=”DELETE Employees WHERE EmployeeID=@EmployeeID”

ConnectionString=”<%$ ConnectionStrings:NorthwindConnection %>”
OnInserted=”EmployeeDetailsSqlDataSource_OnInserted”
RunAt=”server”>

 

 

 

 

 

 

–MSDN

Certified Visual Basic 2005 Programmer

Certify and Increase Opportunity.
Be
Govt. Certified Visual Basic 2005 Programmer

1. Visual Studio

1.1 How do I do that?
1.2 Code, Debug, and Continue Without Restarting Your Application
1.3 Look Inside an Object While Debugging
1.4 Diagnose and Correct Errors on the Fly
1.5 Rename All Instances of Any Program Element
1.6 Use IntelliSense Filtering and AutoCorrect
1.7 Edit Control Properties in Place
1.8 Call Methods at Design Time
1.9 Insert Boilerplate Code Using Snippets
1.10 Create XML Documentation for Your Code

2. The Visual Basic Language

2.1 Use the My Objects to Program Common Tasks
2.2 Get Application Information
2.3 Use Strongly Typed Resources
2.4 Use Strongly Typed Configuration Settings
2.5 Build Typesafe Generic Classes
2.6 Make Simple Data Types Nullable
2.7 Use Operators with Custom Objects
2.8 Split a Class into Multiple Files
2.9 Extend the My Namespace
2.10 Skip to the Next Iteration of a Loop
2.11 Dispose of Objects Automatically
2.12 Safeguard Properties with Split Accessibility
2.13 Evaluate Conditions Separately with Short-Circuit Logic

3. Windows Applications

3.1 Use Office-Style Toolbars
3.2 Add Any Control to a ToolStrip
3.3 Add Icons to Your Menu
3.4 Put the Web in a Window
3.5 Validate Input While the User Types
3.6 Create Text Boxes that Auto-Complete
3.7 Play a Windows System Sound
3.8 Play Simple WAV Audio
3.9 Create a Windows Explorer-like Split Window
3.10 Take Control of Window Layout
3.11 Where can I learn more?
3.12 Control When Your Application Shuts Down
3.13 Prevent Your Application from Starting Twice
3.14 Communicate Between Forms
3.15 Improve Redraw Speeds for GDI+
3.16 Handle Asynchronous Tasks Safely
3.17 Use a Better Data-Bound Grid
3.18 Format the DataGridView
3.19 Add Images and Controls to the DataGridView

4. Web Applications

4.1 Create a Web Application in Visual Studio
4.2 Administer a Web Application
4.3 Bind to Data Without Writing Code
4.4 Bind Web Controls to a Custom Class
4.5 Display Interactive Tables Without Writing Code
4.6 Display Records One at a Time
4.7 Achieve a Consistent Look and Feel with Master Pages
4.8 Add Navigation to Your Site
4.9 Easily Authenticate Users
4.10 Determine How Many People Are Currently Using Your Web Site
4.11 Use Role-Based Authorization
4.12 Store Personalized Information

5. Files, Databases, and XML

5.1 Get Drive Information
5.2 Get File and Directory Information
5.3 Copy, Move, and Delete Files
5.4 Read and Write Files
5.5 Compress and Decompress Data
5.6 Collect Statistics on Your Data Connections
5.7 Batch DataAdapter Commands for Better Performance
5.8 Bulk-Copy Rows from One Table to Another
5.9 Write Database-Agnostic Code
5.10 Use the New XPathDocument and XPathNavigator
5.11 Edit an XML Document with XPathNavigator

6. .NET Platform Services

6.1 Easily Log Events
6.2 Ping Another Computer
6.3 Get Information About a Network Connection
6.4 Upload and Download Files with FTP
6.5 Test Group Membership of the Current User
6.6 Encrypt Secrets for the Current User
6.7 Unleash the Console
6.8 Time Your Code
6.9 Deploy Your Application with ClickOnce

Certified Ubuntu Professional

Certify and Increase Opportunity.
Be
Govt. Certified Ubuntu Professional

1. Getting Started

1.1. Installation
1.2. Burning The CD image
1.3. Installing Ubuntu—Getting Started
1.4. Installing From CD/DVD
1.5. Using the Windows Installer

2. The Linux Desktop

2.1 Get Under the Hood of the GNOME Desktop
2.2 Tweak the KDE Desktop
2.3 Switch to a Lighter Window Manager
2.4 Install Java
2.5 Search Computer
2.6 Access Remote Filesystems
2.7 Tweak Desktop Like a Pro
2.8 Sync Palm PDA
2.9 Sync Pocket PC
2.10 Customize the Right-Click Contextual Menu
2.11 Download and Share Files with the Best PP Software
2.12 Make Own PDFs
2.13 Blog with Ubuntu

3. Multimedia

3.1 Install Multimedia Plug-ins
3.2 Watch Videos
3.3 Play DVDs
3.4 Buy Songs at the iTunes Music Store
3.5 Get a Grip on CD Ripping
3.6 Burn CDs and DVDs
3.7 Automate Audio CD Burning
3.8 Rip and Encode DVDs
3.9 Create a Video DVD
3.10 Connect to a Digital Camera

4. Mobile Ubuntu

4.1 Put Laptop to Sleep
4.2 Hibernate Laptop
4.3 Prolong Battery Life
4.4 Get Proprietary Wireless Cards Working
4.5 Roam Wirelessly
4.6 Make Laptop Settings Roam with Network
4.7 Make Bluetooth Connections
4.8 Expand Laptop
4.9 Hotswap Laptop’s Optical Drive

5. X11

5.1 Configure Multibutton Mice
5.2 Enable Multimedia Keyboard
5.3 Assign GNOME Keyboard Shortcuts
5.4 Hotkeys
5.5 Start Hotkeys Automatically
5.6 Configure a Touchpad
5.7 Connect Multiple Displays
5.8 Change the Ubuntu Splash Screen
5.9 Enable -D Video Acceleration
5.10 Make Fonts Pretty
5.11 . Install Microsoft Core Fonts
5.12 . Install Macintosh and Windows TrueType Fonts

6. Package Management

6.1 Manage Packages from the Command Line
6.2 Manage Packages with Synaptic
6.3 Manage Packages with Adept
6.4 Install and Remove Standalone .deb Files
6.5 Search for Packages from the Command Line
6.6 Install Software from Source
6.7 Modify the List of Package Repositories
6.8 Cache Packages Locally with Apt-cacher
6.9 Create an Ubuntu Package
6.10 Compile a Source Package
6.11 Convert Non-Ubuntu Packages
6.12 Create Own Package Repository
6.13 Convert Debian to Ubuntu\

7. Security

7.1 Limit Permissions with sudo
7.2 Manage Security Updates
7.3 Protect Network with a Firewall
7.4 Use an Encrypted Filesystem to Protect Data
7.5 Encrypt Email and Important Files
7.6 Surf the Web Anonymously
7.7 Keep Windows Malware off System

8. Administration

8.1 Edit Configuration Files
8.2 Manage Users and Groups
8.3 Mount Any Filesystem
8.4 Control Startup Services
8.5 Build Kernels the Ubuntu Way
8.6 Back Up System
8.7 Clone an Installation
8.8 Rescue an Unbootable System
8.9 Check the Captain’s Log
8.10 Mount Removable Devices with Persistent Names
8.11 Mount Remote Directories Securely and Easily
8.12 Make Videos of Tech-Support Questions
8.13 Synchronize Files Across Machines

9. Virtualization and Emulation

9.1 Run Windows Applications
9.2 Play Windows Games
9.3 Run Ubuntu Inside Windows
9.4 Use Xen to Host Virtual Machines
9.5 Create an Ubuntu/Xen Virtual Machine
9.6 Split Machine’s Personality

10. Small Office/Home Office Server

10.1 Install and Configure an Ubuntu Server
10.2 Build a File Server
10.3 Administer Server Remotely
10.4 Build a Web Server
10.5 Build an Email Server
10.6 Build a Caching Proxy Server
10.7 Build a DHCP Server
10.8 Build a Domain Name Server

Software Testing | JMeter Tutorial

1. Introduction

2. Getting Started
2.1 Installation & Running Jmeter

3. Building a Test Plan

4. Elements of a Test Plan
4.1 Controllers
4.2 Listeners & Timers
4.3 Assertions & Execution Order
4.4 Properties and Variables

5. Building a Web Test Plan

5.1 Adding Users
5.2 Adding Default HTTP Request Properties
5.3 Adding a Listener & Logging in to a web-site

6. Building an Advanced Web Test Plan

7. Building a Database Test Plan

7.1 Adding JDBC Requests

8. Building an FTP Test Plan
8.2 Adding Default FTP Request Properties

9. Building an LDAP Test Plan
9.1 Adding LDAP Requests

10. Building an Extended LDAP Test Plan

10.1 Adding LDAP Requests

11. Building a Webservice Test Plan

11.1 Adding WebService Requests

12. Listeners

13. Remote Testing

 

Test Your Software Testing Skills By Taking Our JMeter Practice Tests On This Link

Apply For JMeter Certification