tag:blogger.com,1999:blog-28102956628106145952024-03-13T13:38:59.691-07:00CodeanswerMy blog share the my c# knowledge to others and get response from others.Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comBlogger305125tag:blogger.com,1999:blog-2810295662810614595.post-30023695545908950232020-03-19T04:57:00.002-07:002020-03-19T04:57:29.108-07:00Covid - 19 (Coronavirus) - live Update - <div dir="ltr" style="text-align: left;" trbidi="on"><iframe width="1140" height="541.25" src="https://app.powerbi.com/reportEmbed?reportId=8fdc2cae-feae-4c06-98c3-a50736e1fb8f&autoAuth=true&ctid=3e992caa-86cf-4feb-adf9-27c29ec93c02&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly93YWJpLWluZGlhLWNlbnRyYWwtYS1wcmltYXJ5LXJlZGlyZWN0LmFuYWx5c2lzLndpbmRvd3MubmV0LyJ9" frameborder="0" allowFullScreen="true"></iframe><br />
<span class="fullpost"> </span></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-55106526743703269892016-10-18T03:25:00.001-07:002016-10-18T03:25:55.553-07:00Action Method in Mvc<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
In this section, you will learn about the action method of controller class.<br />
<br />
All the public methods of a Controller class are called Action methods. They are like any other normal methods with the following restrictions:<br />
<br />
Action method must be public. It cannot be private or protected<br />
Action method cannot be overloaded<br />
Action method cannot be a static method.<br />
The following is an example of Index action method of StudentController<br />
<br />
Action Method in ASP.NET MVC<br />
Action Method<br />
As you can see in the above figure, Index method is a public method and it returns ActionResult using the View() method. The View() method is defined in the Controller base class, which returns the appropriate ActionResult.<br />
<br />
Default Action method:<br />
<br />
Every controller can have default action method as per configured route in RouteConfig class. By default, Index is a default action method for any controller, as per configured default root as shown below.<br />
<br />
Default Route:<br />
<br />
routes.MapRoute(<br />
name: "Default",<br />
url: "{controller}/{action}/{id}/{name}",<br />
defaults: new { controller = "Home", <br />
action = "Index", <br />
id = UrlParameter.Optional<br />
});<br />
<br />
However, you can change the default action name as per your requirement in RouteConfig class.<br />
<br />
ActionResult:<br />
<br />
MVC framework includes various result classes, which can be return from an action methods. There result classes represent different types of responses such as html, file, string, json, javascript etc. The following table lists all the result classes available in ASP.NET MVC.<br />
<br />
<table class="table table-striped table-bordered table-condensed"><thead>
<tr> <th class="col-xs-6"><br />
<strong>Result Class</strong></th> <th class="col-xs-6"><br />
<strong>Description</strong></th> </tr>
</thead> <tbody>
<tr> <td>ViewResult</td> <td>Represents HTML and markup.</td> </tr>
<tr> <td>EmptyResult</td> <td>Represents No response.</td> </tr>
<tr> <td>ContentResult</td> <td>Represents string literal.</td> </tr>
<tr> <td>FileContentResult/ FilePathResult/ FileStreamResult</td> <td>Represents the content of a file</td> </tr>
<tr> <td>JavaScriptResult</td> <td>Represent a JavaScript script.</td> </tr>
<tr> <td>JsonResult</td> <td>Represent JSON that can be used in AJAX</td> </tr>
<tr> <td>RedirectResult</td> <td>Represents a redirection to a new URL</td> </tr>
<tr> <td>RedirectToRouteResult</td> <td>Represent another action of same or other controller</td> </tr>
<tr> <td>PartialViewResult</td> <td>Returns HTML from Partial view</td> </tr>
<tr> <td>HttpUnauthorizedResult</td> <td>Returns HTTP 403 status</td> </tr>
</tbody> </table>
<br />
The Index() method of StudentController in the above figure uses View() method to return ViewResult (which is derived from ActionResult). The View() method is defined in base Controller class. It also contains different methods, which automatically returns particular type of result as shown in the below table.<br />
<br />
<table class="table table-striped table-bordered table-condensed"><thead>
<tr>
<th class="col-xs-4"><br />
<strong>Result Class</strong></th>
<th class="col-xs-4"><br />
<strong>Description</strong></th>
<th class="col-xs-4"><br />
<strong>Base Controller method</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>ViewResult</td>
<td>Represents HTML and markup.</td>
<td>View()</td>
</tr>
<tr>
<td>EmptyResult</td>
<td>Represents No response.</td>
<td></td>
</tr>
<tr>
<td>ContentResult</td>
<td>Represents string literal.</td>
<td>Content()</td>
</tr>
<tr>
<td>FileContentResult,<br />
<br />
FilePathResult,<br />
<br />
FileStreamResult</td>
<td>Represents the content of a file</td>
<td>File()</td>
</tr>
<tr>
<td>JavaScriptResult</td>
<td>Represent a JavaScript script.</td>
<td>JavaScript()</td>
</tr>
<tr>
<td>JsonResult</td>
<td>Represent JSON that can be used in AJAX</td>
<td>Json()</td>
</tr>
<tr>
<td>RedirectResult</td>
<td>Represents a redirection to a new URL</td>
<td>Redirect()</td>
</tr>
<tr>
<td>RedirectToRouteResult</td>
<td>Represent another action of same or other controller</td>
<td>RedirectToRoute()</td>
</tr>
<tr>
<td>PartialViewResult</td>
<td>Returns HTML</td>
<td>PartialView()</td>
</tr>
<tr>
<td>HttpUnauthorizedResult</td>
<td>Returns HTTP 403 status</td>
<td></td>
</tr>
</tbody>
</table>
<br />
Action method Parameters:<br />
<br />
Every action methods can have input parameters as normal methods. It can be primitive data type or complex type parameters as shown in the below example.<br />
<br />
Example: Action method parameters<br />
<br />
[HttpPost]<br />
public ActionResult Edit(Student std)<br />
{<br />
// update student to the database<br />
<br />
return RedirectToAction("Index");<br />
}<br />
<br />
[HttpDelete]<br />
public ActionResult Delete(int id)<br />
{<br />
// delete student from the database whose id matches with specified id<br />
<br />
return RedirectToAction("Index");<br />
}<br />
<br />
Action method parameters can be Nullable type.<br />
<br />
By default, the values for action method parameters are retrieved from the request's data collection. The data collection includes name/values pairs for form data or query string values or cookie values. Model binding in ASP.NET MVC automatically maps the URL query string or form data collection to the action method parameters if both names are matching. Visit model binding section for more information on it.<br />
<span class="fullpost"> </span></div>
<br /></div>
Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-78950867168068482692016-10-18T03:19:00.001-07:002016-10-18T03:19:23.934-07:00ASP.NET MVC Version History<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="table-responsive">
<br />
<div style="background-color: white; box-sizing: border-box; color: #494949; font-family: Verdana, Geneva, Tahoma, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.6; margin-bottom: 20px; text-align: justify;">
Microsoft had introduced ASP.NET MVC in .Net 3.5, since then lots of new features have been added.</div>
<div style="background-color: white; box-sizing: border-box; color: #494949; font-family: Verdana, Geneva, Tahoma, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.6; margin-bottom: 20px; text-align: justify;">
The following table list brief history of ASP.NET MVC.</div>
<div class="table-responsive" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; min-height: 0.01%; overflow-x: auto;">
</div>
<br />
<table class="table table-striped table-bordered table-condensed"><thead>
<tr> <th class="col-xs-2"><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">MVC Version</span></th> <th class="col-xs-2"><span style="font-family: Courier New, Courier, monospace;">Visual Studio</span></th> <th class="col-xs-2"><span style="font-family: Courier New, Courier, monospace;">.Net Version</span></th> <th class="col-xs-2"><span style="font-family: Courier New, Courier, monospace;">Release date</span></th> <th class="col-xs-4 "><span style="font-family: Courier New, Courier, monospace;">Features</span></th> </tr>
</thead> <tbody>
<tr> <td><span style="font-family: Courier New, Courier, monospace;">MVC 1.0</span></td> <td><span style="font-family: Courier New, Courier, monospace;">VS2008</span></td> <td><span style="font-family: Courier New, Courier, monospace;">.Net 3.5</span></td> <td><span style="font-family: Courier New, Courier, monospace;">13-Mar-2009</span></td> <td><span style="font-family: Courier New, Courier, monospace;"><br /></span>
<ul>
<li><span style="font-family: Courier New, Courier, monospace;">MVC architecture with webform engine</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Routing</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">HTML Helpers</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Ajax Helpers</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Auto binding</span></li>
</ul>
</td> </tr>
<tr> <td><span style="font-family: Courier New, Courier, monospace;">MVC 2.0</span></td> <td><span style="font-family: Courier New, Courier, monospace;">VS 2008,</span></td> <td><span style="font-family: Courier New, Courier, monospace;">.Net 3.5/4.0</span></td> <td><span style="font-family: Courier New, Courier, monospace;">10-Mar-2010</span></td> <td><span style="font-family: Courier New, Courier, monospace;"><br /></span>
<ul>
<li><span style="font-family: Courier New, Courier, monospace;">Area</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Asynchronous controller</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Html helper methods with lambda expression</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">DataAnnotations attributes</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Client side validation</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Custom template</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Scaffolding</span></li>
</ul>
</td> </tr>
<tr> <td><span style="font-family: Courier New, Courier, monospace;">MVC 3.0</span></td> <td><span style="font-family: Courier New, Courier, monospace;">VS 2010</span></td> <td><span style="font-family: Courier New, Courier, monospace;">.Net 4.0</span></td> <td><span style="font-family: Courier New, Courier, monospace;">13-Jan-2011</span></td> <td><span style="font-family: Courier New, Courier, monospace;"><br /></span>
<ul>
<li><span style="font-family: Courier New, Courier, monospace;">Unobtrusive javascript validation</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Razor view engine</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Global filters</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Remote validation</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Dependency resolver for IoC</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">ViewBag </span></li>
</ul>
</td> </tr>
<tr> <td><span style="font-family: Courier New, Courier, monospace;">MVC 4.0</span></td> <td><span style="font-family: Courier New, Courier, monospace;">VS 2010 SP1,</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">VS 2012</span></td> <td><span style="font-family: Courier New, Courier, monospace;">.NET 4.0/4.5</span></td> <td><span style="font-family: Courier New, Courier, monospace;">15-Aug-2012</span></td> <td><span style="font-family: Courier New, Courier, monospace;"><br /></span>
<ul>
<li><span style="font-family: Courier New, Courier, monospace;">Mobile project template</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Bundling and minification</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Support for Windows Azure SDK</span></li>
</ul>
</td> </tr>
<tr> <td><span style="font-family: Courier New, Courier, monospace;">MVC 5.0</span></td> <td><span style="font-family: Courier New, Courier, monospace;">VS 2013</span></td> <td><span style="font-family: Courier New, Courier, monospace;">.NET 4.5</span></td> <td><span style="font-family: Courier New, Courier, monospace;">17-oct-2013</span></td> <td><span style="font-family: Courier New, Courier, monospace;"><br /></span>
<ul>
<li><span style="font-family: Courier New, Courier, monospace;">Authentication filters</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">Bootstrap support</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">New scaffolding items</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">ASP.Net Identity</span></li>
</ul>
</td> </tr>
<tr> <td><span style="font-family: Courier New, Courier, monospace;"><b>MVC 5.2</b> - Current</span></td> <td><span style="font-family: Courier New, Courier, monospace;">VS 2013</span></td> <td><span style="font-family: Courier New, Courier, monospace;">.NET 4.5</span></td> <td><span style="font-family: Courier New, Courier, monospace;">28-Aug-2014</span></td> <td><span style="font-family: Courier New, Courier, monospace;"><br /></span>
<ul>
<li><span style="font-family: Courier New, Courier, monospace;">Attribute based routing</span></li>
<li><span style="font-family: Courier New, Courier, monospace;">bug fixes and minor features upate</span></li>
</ul>
</td> </tr>
</tbody> </table>
</div>
<span class="fullpost"> </span></div>
Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-69538316851258744112016-10-13T08:14:00.003-07:002016-10-13T08:14:39.066-07:00Angular Tutorial - Part 1: Introduction to Angular.js<span class="fullpost"> <br />
In this article we will look at the basics of Angular.Js. This is the first part of an article series. The main objective of this series is to learn about Angular and see how Angular helps us in developing more flexible, maintainable and testable client side web applications and that too without compromising with the productivity.<br />
<br />
Link to complete series<br />
<br />
</span><br />
<br />
Angular Tutorial - Part 1: Introduction to Angular.js<br />
Angular Tutorial - Part 2: Understanding Modules and Controllers<br />
Angular Tutorial - Part 3: Understanding and using Directives<br />
Angular Tutorial - Part 4: Understanding and implementing Filters<br />
Angular Tutorial - Part 5: Understanding and implementing Services<br />
Angular Tutorial - Part 6: Building and Validating Data Entry Forms<br />
Angular Tutorial - Part 7: Understanding Single page applications and Angular routing<br />
Background<br />
If we take a look back in time and see how our software applications have evolved then we can clearly see how the application development and development model has evolved. Almost two decade ago most software applications were getting built as standalone applications. These applications were targeted at a single user and ran on their operating systems.<br />
<br />
Then came the need to share data across multiple users and a need to store data at a central location. This need gave birth to distributed applications. Distributed applications ran as standalone applications on the user’s machine giving him a rich user interface (les call it desktop like experience) to work with, and behind the scenes, these applications sent data to a server.<br />
<br />
<a href="http://www.codeproject.com/Articles/993297/Angular-Tutorial-Part-Introduction-to-Angular-js">Read More </a>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-20391172920661353872016-10-13T08:13:00.000-07:002016-10-13T08:13:01.032-07:00Introduction to AngularIntroduction to Angular<br />
So what is Angular, and why would you want to use it? The simplest answer to that question is that Angular is a JavaScript library, but it's so much more than that. It's probably more accurate to categorize it as an MV* framework. Angular isn't just an MV* framework, it's an opinionated MV* framework. What is opinionated software? Well, opinionated software guides you into certain ways of doing things. Opinionated software has a vision. It may limit itself to solving fewer problems, but generally, software with opinions solves those problems with less fuss. That doesn't mean that there isn't more than one way to solve a problem with Angular. For example, take DOM manipulation. Angular wants you to only manipulate your DOM inside of directives, but with Angular, inside of a directive you can use jQuery, Zepto, any other library, or even just raw JavaScript to manipulate your DOM. That doesn't mean that you can't manipulate the DOM from within any other piece of an Angular application, but Angular definitely has an opinion about whether or not you should, and it gently guides you into doing things a certain way.<br />
<br />
Let’s make sure that we understand exactly what an MV* framework is.<br />
<br />
<span class="fullpost"> <br />
<br />
<a href="http://www.codeproject.com/Tips/1009848/Introduction-to-Angular">Read More</a><br />
<br />
</span>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-49754208531127014182016-10-13T08:11:00.002-07:002016-10-13T08:11:27.808-07:00TaskTimer, Reducing Your Exposure To The InternetIntroduction<br />
Internet is a great tool, but it often distracts us. This can be said of computer clutter in general--all the icons and files in close proximity make it too easy for us to dart off into an unexpected adventure. TaskTimer is a tool to limit our exposure to the distractions by tempering our access to the internet and by periodically reminding us to focus on a chosen task. It appears as a tray icon and is completely configured in one step by setting a desired nag message, the approximate frequency with which you'd like to see the nag message, and, finally, the target internet adapter (e.g. Wi-Fi) you'd like for the program to turn on and off, based on your needs.<br />
<br />
Turning on TaskTimer will block all access to your immediate network, including your internet connection. Then, until you close the application, you will only be able to access the internet for the limited amount of time that you request for your internet goal. Likewise, there is additional functionality to encourage staying focused on non-internet goals as well. Exiting TaskTimer will re-enable your internet access.<br />
<br />
Background<br />
It is well known that webpages and advertisements are designed to maximize our exposure to marketing material. Users may not even notice how much time they engage with content they never planned to consume. The result is hours upon hours of wasted time every day--hours that could have been spent productively enhancing one's skill set or one's social connections. The first step in making changes for the better is to understand and accept this potential challenge.<br />
<br />
Currently, there is no stand-alone solution to the problem of internet overindulgence. There are multiple websites that offer to keep track of your time online--even services that store a log of tasks you worked on--but these are still services, interested in keeping you online and not offline. TaskTimer takes the alternative approach that only freeware could take in that it asks for no contribution at all from the user. It respects the users decision about being offline, and enforces the user's intended goal of being online for only a limited amount of time, after which the internet gets shut off, prompting a re-examination of whether it's worth it for the user to continue browsing.<br />
<span class="fullpost"> <br />
Using the code<br />
Written in C# .NET Framework 4.0, the code for TaskTimer is attached as a Visual Studio project. Although currently fully-functional, it's highly likely that one may desire some additional feature(s), in which case they should feel free to change / enhance TaskTimer.<br />
<br />
The core functionality uses System.Timers.Timer to monitor for changes every 15 seconds. Upon launching the application, ApplicationContext.cs stores the user's current internet configuration (IP address, etc.) into container class InternetDetails.cs. The user interface, Form.cs, displays the list of internet adapters in your computer that could be controlled by the program. The user is encouraged to store their settings before closing the initial popup window, although it is possible to close the UI and the program by selecting "Close Program" from the icon created in the task-bar. Pressing the "Save and Turn Off Internet" button will, indeed, turn off internet access.<br />
<br />
</span><br />
<a href="http://www.codeproject.com/Articles/1137106/TaskTimer-Reducing-Your-Exposure-To-The-Internet"><br />
By Reference</a>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-18434631149089851562016-10-13T08:05:00.002-07:002016-10-13T08:05:46.680-07:00Using .NET libraries from JAVA<br />
Recent popularization of net offerings seems to resolve virtually any interoperability issue between JAVA and .Web programs because of platform independence and universal transport channel. And that is actual, the pliability and universality of internet offerings founded options in mixture with good-defined requisites makes this technology a winner in virtually eighty% might be even ninety% of cases. However fairly there are no cons? <br />
<br />
Of direction there are and circumstances unresolvable with internet carrier come out on occasion in many crucial initiatives. The major purpose why internet offerings does no longer slot in each case is regularly performance, protection and development costs. The determination the right way to clear up these disorders mostly relies on system architects and it might be probably the most essential choice in challenge entailing quite a lot of specific consequences. <br />
<br />
How you can identify in case your case will have to be solved with net offerings? <br />
<br />
If you are the one to make a decision you must recollect as a minimum following aspects. Let’s say we now have .Web library with some legacy business common sense or relevant encryption/buying and selling algorithm or .Net simplest API to corporate CRM, here is how we could analyse this:<br />
<br />
<span class="fullpost"> <br />
<br />
examine in case your requirement is worth constructing dedicated customer-server infrastructure. Will you ought to run go desktop executions? Don't forget that net provider is consumer server. In our case we might must construct web provider on .Internet side and wrap selected approaches in our WCF SVC or ASMX interface. If it’s just one approach and dll located on the identical laptop as our JAVA software is it worth to host internet server and consume it on neighborhood host? Obviously not.<br />
Examine if you could have enough money it. Each web provider name has rather colossal overhead on each request message if we use xml protocol every easy approach is wrapped in xml envelope and handed in http request ingesting internet server resources, and together with all different delays of transport channel, serialization/deserialization and internet request processing correctly if it is trading algorithm that locations transactions on currency trading or inventory market we must restrict it… identical in all other circumstances have been we make various requests in short time or we just rely on speed we must now not add that so much of buzz into our communication.<br />
Investigate if it’s no longer too simple. If the library that we use comprises single system for encrypting or calculating anything, must we make: web provider, consumer, host web server, permit http conversation, build .Web net mission simply to load one approach from one dll and get in touch with it as soon as in lifetime of our JAVA challenge? No.<br />
Investigate if it’s now not too elaborate. Regularly the amount of code that we need to reuse in JAVA could be oppositely too massive. Wrapping countless numbers of methods in web carrier and passing hundreds of execution places by way of web provider customer would rate us rather a lot in progress and additional maintenance. Simple illustration would be the case were we want to construct JAVA software with WPF interface, i will be able to’t assume exposing all WPF framework classes by way of internet offerings enforcing call-backs and constructing out of it responsive UI.<br />
<br />
We could anticipate that up to now we have now determined if our solution must and would be implemented with net offerings interoperability technique, but what must we do if it does now not fit in there? Most of builders most often don't meet such problems but as a result if they do it’s rough to find a excellent solution. It is not that effortless to get JAVA and .Web work collectively by way of our possess, with out spending for it extra time than entire our undertaking is deliberate for. And of course we must remember that it isn't a excellent apply to reinvent the wheel. <br />
<br />
What are the possible choices to make use of .Internet libraries from JAVA application? <br />
<br />
Most of us does no longer comprehend that there are some native JAVA to .Web bridges to be had in the marketplace whereas these solutions does exactly this what web carrier does not so they fill our gap of 20% circumstances perfectly. <br />
<br />
Native JAVA to .Net Bridge leverages JAVA native methods invocation capabilities with native platform exact verbal exchange channels and direct invocations on .Web objects. In this approach we get .Net procedure being hosted natively for our JAVA utility giving us entry to any .Internet library directly from JAVA code like they were native JAVA objects. When you consider that of direct invocation passing between tactics we get instant execution with out delays, overhead and further infrastructure. <br />
<br />
Moreover we get a few additional advantages, these are: efficient call-backs mechanism if you want to with no trouble subscribe cross platform movements, entry to any .Net library without any wrappers and implementation on .Web side, lifecycle of objects and methods bound into one runtime and no client server solutions accordingly no additional side merchandise to keep and display. <br />
JAVA to .Internet interop market is not large. There are simplest few carriers who managed to supply efficient and flexible adequate solutions that could be nontoxic for initiatives of any measurement. <br />
<br />
Picking out proper bridge will have to be pushed by using simplicity of usage, performance and flexibility. This year there used to be new answer launched called Javonet. It appears to be very appealing because of a number of causes. The mission was once firstly born as tutorial study for object database techniques at Polish-jap Institute of information science. From very beginnig it was aimed on high efficiency. <br />
<br />
For the duration of commercialization it was improved with very programmer-pleasant API and many valuable aspects. Javonet offers access to any .Net library nonetheless it's customized, part of .Net framework or delivered by using 1/3 celebration firms. There aren't any changes in .Net code required and libraries can be loaded from neighborhood directories or GAC. And it supports both x86 and x64. <br />
<br />
Having entry to any library instantly we are able to just reference them from our JAVA code and work on objects and courses from such library like they have been native JAVA objects. Javonet API exposes specified NObject variable for JAVA which works as manage to .Net object. For the reason that all invocations and references are performed in runtime we will initialize and make use of any object, process, property or discipline making use of reflection-type syntax by way of supplying names in steady strings. <br />
<br />
JAVA to .Web bridge like Javonet handles internally rubbish collector moves and exceptions with a purpose to seize .Internet exceptions on JAVA side and if our NObject control is collected on JAVA aspect corresponding object will get disposed on .Net aspect as good. All these points makes such bridging resolution a huge leading edge technological know-how that gives you us all-in-one framework for making use of .Net code from JAVA. <br />
<br />
The possibilities of these options are worth exploring as high efficiency and easy utilization results in new strategies of how we would apply this in our tasks. In tutorial and samples we will read step by step publications make full JAVA software with WinForms or WPFinterface or how you can lengthen .Internet category in JAVA, typically even for tremendously experienced builders these sort of solutions looks like magic. <br />
<br />
I totally encourage all JAVA builders to become aware of and test these solutions to preserve in intellect new choices how CLR and JVM interoperability issues would be resolved in state-of-the-art world.</span>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-31145720767061533372016-10-12T05:47:00.002-07:002016-10-12T05:47:48.317-07:00SOLVING EQUATIONS WITH EXCEL<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/aH_bvGK9bR41tnjYIwB3e9sOAtsWLoclACEw/s1600/Solving_equations_with_Excel1x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="268" src="https://3.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/aH_bvGK9bR41tnjYIwB3e9sOAtsWLoclACEw/s320/Solving_equations_with_Excel1x1.jpg" width="320" /></a></div>
<div class="WordSection1">
<div class="MsoNormal" style="line-height: 101%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 101%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Excel and Lotus
software are equipped with functions that allow the user to identify the root
of an equation. By root, we mean the values of <b><i>x</i></b> such that a
given equation cancels itself out.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 101%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 13.3pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Let us consider the case where we wish to
obtain the root of the function</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: .55pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-table-layout-alt: fixed;">
<tbody>
<tr style="height: 42.3pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 115.0pt;" valign="bottom" width="153"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 26.0pt;" valign="bottom" width="35"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 35.0pt;" valign="bottom" width="47"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 31.0pt;" valign="bottom" width="41"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 5.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">2</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 17.0pt;" valign="bottom" width="23"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 24.0pt;" valign="bottom" width="32"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 7.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">3</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 184.0pt;" valign="bottom" width="245"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 155.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">4</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">,</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 42.3pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 14.65pt; mso-yfti-irow: 1;">
<td style="height: 14.65pt; padding: 0in 0in 0in 0in; width: 115.0pt;" valign="bottom" width="153"><div class="MsoNormal" style="line-height: 14.6pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">i.e.,
solve the equation</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 14.65pt; padding: 0in 0in 0in 0in; width: 26.0pt;" valign="bottom" width="35"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 14.65pt; padding: 0in 0in 0in 0in; width: 35.0pt;" valign="bottom" width="47"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 14.65pt; padding: 0in 0in 0in 0in; width: 31.0pt;" valign="bottom" width="41"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 14.65pt; padding: 0in 0in 0in 0in; width: 17.0pt;" valign="bottom" width="23"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td colspan="2" style="height: 14.65pt; padding: 0in 0in 0in 0in; width: 208.0pt;" valign="bottom" width="277"><div align="right" class="MsoNormal" style="line-height: 14.6pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">. You will see in the following illustration,</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 14.65pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr>
<td rowspan="2" style="padding: 0in 0in 0in 0in; width: 115.0pt;" valign="bottom" width="153"><div class="MsoNormal" style="line-height: 14.2pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">that the
first step of all</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td colspan="6" style="padding: 0in 0in 0in 0in; width: 317.0pt;" valign="bottom" width="423"><div align="right" class="MsoNormal" style="line-height: .4pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-size: 1.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Excel solutions is to correctly define the function we want to find</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: 1.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 14.25pt; mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="height: 14.25pt; padding: 0in 0in 0in 0in; width: 26.0pt;" valign="bottom" width="35"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 12.9pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">2</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 14.25pt; padding: 0in 0in 0in 0in; width: 35.0pt;" valign="bottom" width="47"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 6.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">3</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 14.25pt; padding: 0in 0in 0in 0in; width: 31.0pt;" valign="bottom" width="41"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 4.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">4</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 14.25pt; padding: 0in 0in 0in 0in; width: 17.0pt;" valign="bottom" width="23"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">0</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 14.25pt; padding: 0in 0in 0in 0in; width: 24.0pt;" valign="bottom" width="32"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 14.25pt; padding: 0in 0in 0in 0in; width: 184.0pt;" valign="bottom" width="245"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 14.25pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: .4pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">the root of, and to assign the variable
to one specific cell.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shapetype id="_x0000_t75"
coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_s1026" type="#_x0000_t75" style='position:absolute;
margin-left:106.25pt;margin-top:14.25pt;width:221.05pt;height:109.85pt;
z-index:-251656192;mso-position-horizontal-relative:text;
mso-position-vertical-relative:text' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image001.jpg"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/5zrBe70GSigzDl-zDoCT4-1iDOfjqKBcgCLcB/s1600/Solving_equations_with_Excel1x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="268" src="https://4.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/5zrBe70GSigzDl-zDoCT4-1iDOfjqKBcgCLcB/s320/Solving_equations_with_Excel1x1.jpg" width="320" /></a></div>
<span style="height: 146px; margin-left: 142px; margin-top: 19px; mso-ignore: vglayout; position: absolute; width: 295px; z-index: 251660277;"></span><!--[endif]--><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span><br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 17.7pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 100%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 100%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">We assigned the
cell B1 to contain the value of variable <b><i>x</i></b>. In cell B2, we define
the function. Note that B1 <i><u>plays the part of</u></i> in the formula. By
inserting values in cell B1, you will notice that the result of the function
will change. Therefore, finding the root of a function implies finding the
value of such that the function is zero. Our goal is to have cell B1 vary (the
value of <b><i>x</i></b>) until the cell B2 (that contains the value of the
function) is 0.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 100%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 18.15pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 103%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">It would be too
long to find an answer by trial and error. Select in Excel the function Solver
(Tools menu). The following dialog box will appear.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 103%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/aH_bvGK9bR41tnjYIwB3e9sOAtsWLoclACEw/s1600/Solving_equations_with_Excel1x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="268" src="https://3.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/aH_bvGK9bR41tnjYIwB3e9sOAtsWLoclACEw/s320/Solving_equations_with_Excel1x1.jpg" width="320" /></a></div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 383.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</div>
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><br clear="all" style="mso-break-type: section-break; page-break-before: always;" />
</span>
<br />
<div class="WordSection2">
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shape id="_x0000_s1027" type="#_x0000_t75"
style='position:absolute;margin-left:163.5pt;margin-top:1in;width:286.5pt;
height:158.9pt;z-index:-251655168;mso-position-horizontal-relative:page;
mso-position-vertical-relative:page' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image003.jpg"
o:title="" chromakey="white"/>
<w:wrap anchorx="page" anchory="page"/>
</v:shape><![endif]--><!--[if !vml]--><span style="height: 212px; margin-left: 218px; margin-top: 96px; mso-ignore: vglayout; position: absolute; width: 382px; z-index: 251661301;"><br /></span><!--[endif]--><a href="https://www.blogger.com/null" name="page2"></a><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.55pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 104%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;">
<b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Set Target Cell: </span></b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">we ask you to identify the position of the function you wish to carry
out<b> </b>an operation on. In our example, the function was placed in cell B2.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 104%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.8pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 104%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;">
<b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Equal to</span></b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">: To identify the operation you wish to carry out with the function
located at B2<b> </b>(max ? min ? value ?). We want the function to take on the
value 0.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 104%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 104%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;">
<b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">By Changing Cells</span></b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">: To identify cells that contain the variables of the function. In our<b>
</b>example, B1 is the cell containing the value of <b><i>x</i></b>.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 104%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.7pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 104%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;">
<span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">By clicking
on <b>Solve</b>, Excel will execute the operation you asked it to and will give
you the solution <b><i>x</i></b> = 0,85078105.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 104%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shape id="_x0000_s1028" type="#_x0000_t75"
style='position:absolute;margin-left:74.3pt;margin-top:41.8pt;width:284.45pt;
height:129.05pt;z-index:-251654144;mso-position-horizontal-relative:text;
mso-position-vertical-relative:text' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image005.jpg"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="height: 172px; margin-left: 99px; margin-top: 56px; mso-ignore: vglayout; position: absolute; width: 379px; z-index: 251662325;"><br /></span><!--[endif]--><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-tCqo6nsIgUg/V_4veOCcybI/AAAAAAAAA_Q/OkJZ9NFdfMESqHMlYsCsXGVk34YyxDbpACEw/s1600/Solving_equations_with_Excel2x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://4.bp.blogspot.com/-tCqo6nsIgUg/V_4veOCcybI/AAAAAAAAA_Q/OkJZ9NFdfMESqHMlYsCsXGVk34YyxDbpACEw/s320/Solving_equations_with_Excel2x1.jpg" width="157" /></a></div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.6pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 101%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;">
<span style="font-size: 12.0pt; line-height: 101%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">One of the
limits of the Excel Solver is that it will only give one root even though we
know there is a second one. For now, we use the discriminant</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 101%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: .05pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-table-layout-alt: fixed;">
<tbody>
<tr style="height: 15.2pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="height: 15.2pt; padding: 0in 0in 0in 0in; width: 154.0pt;" valign="bottom" width="205"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td rowspan="2" style="height: 15.2pt; padding: 0in 0in 0in 0in; width: 69.0pt;" valign="bottom" width="92"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 61.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">√</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 15.2pt; padding: 0in 0in 0in 0in; width: 8.0pt;" valign="bottom" width="11"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td rowspan="2" style="height: 15.2pt; padding: 0in 0in 0in 0in; width: 38.0pt;" valign="bottom" width="51"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 7.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">4</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 15.2pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 12.05pt; mso-yfti-irow: 1;">
<td style="height: 12.05pt; padding: 0in 0in 0in 0in; width: 154.0pt;" valign="bottom" width="205"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 12.05pt; padding: 0in 0in 0in 0in; width: 8.0pt;" valign="bottom" width="11"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 12.05pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 30.55pt; mso-yfti-irow: 2;">
<td style="height: 30.55pt; padding: 0in 0in 0in 0in; width: 154.0pt;" valign="bottom" width="205"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">That gives the second root (</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td colspan="2" style="height: 30.55pt; padding: 0in 0in 0in 0in; width: 77.0pt;" valign="bottom" width="103"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 4.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">2</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 30.55pt; padding: 0in 0in 0in 0in; width: 38.0pt;" valign="bottom" width="51"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 22.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">).</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 30.55pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 51.95pt; mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="height: 51.95pt; padding: 0in 0in 0in 0in; width: 154.0pt;" valign="bottom" width="205"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td colspan="3" style="height: 51.95pt; padding: 0in 0in 0in 0in; width: 115.0pt;" valign="bottom" width="153"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 28.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">2,35078108</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 51.95pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: .3pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:line id="_x0000_s1029" style='position:absolute;
z-index:-251653120;mso-position-horizontal-relative:text;
mso-position-vertical-relative:text' from="223.2pt,-93.1pt" to="268.95pt,-93.1pt"
o:allowincell="f" strokeweight=".27514mm"/><![endif]--><!--[if !vml]--><span style="mso-ignore: vglayout; position: relative; z-index: 251663349;"><span style="height: 2px; left: 297px; position: absolute; top: -125px; width: 63px;"><img height="2" src="file:///C:/Users/SAN-15/AppData/Local/Temp/OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0/msohtmlclip1/01/clip_image007.png" v:shapes="_x0000_s1029" width="63" /></span></span><!--[endif]--><!--[if gte vml 1]><v:line
id="_x0000_s1030" style='position:absolute;z-index:-251652096;
mso-position-horizontal-relative:text;mso-position-vertical-relative:text'
from="185.3pt,-76.85pt" to="269pt,-76.85pt" o:allowincell="f" strokeweight=".27514mm"/><![endif]--><!--[if !vml]--><span style="mso-ignore: vglayout; position: relative; z-index: 251664373;"><span style="height: 2px; left: 246px; position: absolute; top: -103px; width: 114px;"><img height="2" src="file:///C:/Users/SAN-15/AppData/Local/Temp/OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0/msohtmlclip1/01/clip_image008.png" v:shapes="_x0000_s1030" width="114" /></span></span><!--[endif]--><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 383.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</div>
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><br clear="all" style="mso-break-type: section-break; page-break-before: always;" />
</span>
<br />
<div class="WordSection3">
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shape id="_x0000_s1031" type="#_x0000_t75"
style='position:absolute;margin-left:151.5pt;margin-top:1in;width:310.55pt;
height:141.6pt;z-index:-251651072;mso-position-horizontal-relative:page;
mso-position-vertical-relative:page' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image009.jpg"
o:title="" chromakey="white"/>
<w:wrap anchorx="page" anchory="page"/>
</v:shape><![endif]--><!--[if !vml]--><span style="height: 189px; margin-left: 202px; margin-top: 96px; mso-ignore: vglayout; position: absolute; width: 414px; z-index: 251665397;"><br /></span><!--[endif]--><a href="https://www.blogger.com/null" name="page3"></a><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://2.bp.blogspot.com/-6nXFB6QmqY4/V_4veOk0xtI/AAAAAAAAA_I/Vk0K7liOUtgoZ3ymvb0Jftjru9jUcA_OACEw/s1600/Solving_equations_with_Excel3x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="146" src="https://2.bp.blogspot.com/-6nXFB6QmqY4/V_4veOk0xtI/AAAAAAAAA_I/Vk0K7liOUtgoZ3ymvb0Jftjru9jUcA_OACEw/s320/Solving_equations_with_Excel3x1.jpg" width="320" /></a></div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 15.4pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 103%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Unfortunately, the
discriminant will be of no use with other types of functions and we will not be
able to count on it to help us.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 103%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 11.55pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<b><i><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Exponential and logarithmic equations
using Excel</span></i></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.15pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 125%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 125%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Besides for finding
the root of polynomial equations, the Excel Solver can solve equations
containing exponential or logarithmic functions. The software will be all the
more useful in this case since solving this type of algebraic equations is
often impossible. For example, there are no solution methods that will find the
value of such that the equation </span><span style="font-family: "cambria" , "serif"; font-size: 12.0pt; line-height: 125%;">4</span><span style="font-size: 12.0pt; line-height: 125%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;"> is solved<b>.</b>
The method to follow will be identical to the one presented in the case of
roots, except for the following detail : the equation must be rewritten so that
all terms are regrouped on the left side of the equality. For example, instead
of resolving the equation </span><span style="font-family: "cambria" , "serif"; font-size: 12.0pt; line-height: 125%;">4</span><span style="font-size: 12.0pt; line-height: 125%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;"> , we want the
solution of </span><span style="font-family: "cambria" , "serif"; font-size: 12.0pt; line-height: 125%;">4 0.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 125%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<b><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Example</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: .65pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-table-layout-alt: fixed;">
<tbody>
<tr style="height: 41.7pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="height: 41.7pt; padding: 0in 0in 0in 0in; width: 292.0pt;" valign="bottom" width="389"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Solve the following equation with the
help of the solver:</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 41.7pt; padding: 0in 0in 0in 0in; width: 34.0pt;" valign="bottom" width="45"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">4 </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: .3pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<b><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Solution</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.05pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Firstly, we need to rewrite the equality
so that the terms are regrouped on the left side :</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: .55pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 272%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none; text-indent: 29.6pt;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt; line-height: 272%;">4
0</span><span style="font-size: 12.0pt; line-height: 272%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">. Then, it
is important to correctly define the equation we want to resolve,</span><span style="font-family: "cambria" , "serif"; font-size: 12.0pt; line-height: 272%;"> </span><span style="font-size: 12.0pt; line-height: 272%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">as well as attributing the variable to a specific cell.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 272%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-3xYTv64IkmU/V_4ve-ssUOI/AAAAAAAAA_Y/gs_FobaJ6kEXlvQ0nnBrt3GZJ2sMbcVHQCEw/s1600/Solving_equations_with_Excel4x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://1.bp.blogspot.com/-3xYTv64IkmU/V_4ve-ssUOI/AAAAAAAAA_Y/gs_FobaJ6kEXlvQ0nnBrt3GZJ2sMbcVHQCEw/s320/Solving_equations_with_Excel4x1.jpg" width="230" /></a></div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.7pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 383.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</div>
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><br clear="all" style="mso-break-type: section-break; page-break-before: always;" />
</span>
<br />
<div class="WordSection4">
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shape id="_x0000_s1032" type="#_x0000_t75"
style='position:absolute;margin-left:179.3pt;margin-top:1in;width:254.35pt;
height:124.45pt;z-index:-251650048;mso-position-horizontal-relative:page;
mso-position-vertical-relative:page' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image011.jpg"
o:title="" chromakey="white"/>
<w:wrap anchorx="page" anchory="page"/>
</v:shape><![endif]--><!--[if !vml]--><span style="height: 166px; margin-left: 239px; margin-top: 96px; mso-ignore: vglayout; position: absolute; width: 339px; z-index: 251666421;"><br /></span><!--[endif]--><a href="https://www.blogger.com/null" name="page4"></a><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 18.2pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 101%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 101%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Once again, we have
designated the cell B1 to contain the value of the variable . The cell B2
contains the expression equal to 0. It is defined in function to B1, which
substitutes the variable .</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 101%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 13.3pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 103%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Select in Excel the
function Solver (Tools menu). A dialog box will appear in which you need to
fill in information.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 103%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shape id="_x0000_s1033" type="#_x0000_t75"
style='position:absolute;margin-left:73.5pt;margin-top:13.25pt;width:286.5pt;
height:158.9pt;z-index:-251649024;mso-position-horizontal-relative:text;
mso-position-vertical-relative:text' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image003.jpg"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><span style="height: 212px; margin-left: 98px; margin-top: 18px; mso-ignore: vglayout; position: absolute; width: 382px; z-index: 251667445;"><br /></span><!--[endif]--><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-3xYTv64IkmU/V_4ve-ssUOI/AAAAAAAAA_Y/gs_FobaJ6kEXlvQ0nnBrt3GZJ2sMbcVHQCEw/s1600/Solving_equations_with_Excel4x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://1.bp.blogspot.com/-3xYTv64IkmU/V_4ve-ssUOI/AAAAAAAAA_Y/gs_FobaJ6kEXlvQ0nnBrt3GZJ2sMbcVHQCEw/s320/Solving_equations_with_Excel4x1.jpg" width="230" /></a></div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 15.8pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<b><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Equal to</span></b><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">: To identify the operation you wish to
carry out with (max ? min ? value ?).</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 13.95pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 104%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Variable cells</span></b><span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">: To identify cells
that contain the variables of the function. In our<b> </b>example, B1 is the
cell containing the value of <b><i>x</i></b>.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 104%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 11.15pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .25in; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Target cell
to define: the function was placed in cell B2. </span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 99%; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .25in; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 99%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Equal to: We want the function located in B2 to take on the value 0. </span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 99%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: .45pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .25in; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Variable cells: B1 is the cell that will contain the value of .</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 13.85pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 104%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;">
<span style="font-size: 12.0pt; line-height: 104%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">By clicking
on <b>Solve</b>, Excel will execute the operation you asked it to and will give
you the following answer:</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 104%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 16.2pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 383.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</div>
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><br clear="all" style="mso-break-type: section-break; page-break-before: always;" />
</span>
<br />
<div class="WordSection5">
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shape id="_x0000_s1034" type="#_x0000_t75"
style='position:absolute;margin-left:174pt;margin-top:1in;width:265.45pt;
height:141.6pt;z-index:-251648000;mso-position-horizontal-relative:page;
mso-position-vertical-relative:page' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image014.jpg"
o:title="" chromakey="white"/>
<w:wrap anchorx="page" anchory="page"/>
</v:shape><![endif]--><!--[if !vml]--><span style="height: 189px; margin-left: 232px; margin-top: 96px; mso-ignore: vglayout; position: absolute; width: 354px; z-index: 251668469;"><br /></span><!--[endif]--><a href="https://www.blogger.com/null" name="page5"></a><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://3.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/aH_bvGK9bR41tnjYIwB3e9sOAtsWLoclACEw/s1600/Solving_equations_with_Excel1x1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="268" src="https://3.bp.blogspot.com/-7_0Y00_9O7c/V_4vyZ83pQI/AAAAAAAAA_c/aH_bvGK9bR41tnjYIwB3e9sOAtsWLoclACEw/s320/Solving_equations_with_Excel1x1.jpg" width="320" /></a></div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.65pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-padding-alt: 0in 0in 0in 0in; mso-table-layout-alt: fixed;">
<tbody>
<tr style="height: 15.05pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="height: 15.05pt; padding: 0in 0in 0in 0in; width: 74.0pt;" valign="bottom" width="99"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">The value of</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 15.05pt; padding: 0in 0in 0in 0in; width: 80.0pt;" valign="bottom" width="107"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td colspan="2" style="height: 15.05pt; padding: 0in 0in 0in 0in; width: 121.0pt;" valign="bottom" width="161"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 2.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">makes the equations</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 15.05pt; padding: 0in 0in 0in 0in; width: 30.0pt;" valign="bottom" width="40"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 15.05pt; padding: 0in 0in 0in 0in; width: 127.0pt;" valign="bottom" width="169"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">true. Let
us recall though</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 15.05pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 4.3pt; mso-yfti-irow: 1;">
<td rowspan="2" style="height: 4.3pt; padding: 0in 0in 0in 0in; width: 74.0pt;" valign="bottom" width="99"><div class="MsoNormal" style="line-height: 14.6pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">that
Excel only</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td colspan="5" style="height: 4.3pt; padding: 0in 0in 0in 0in; width: 358.0pt;" valign="bottom" width="477"><div align="right" class="MsoNormal" style="line-height: 4.25pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-size: 4.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">gives one solution to any given equation, even though it may have
more</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 4.3pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 10.35pt; mso-yfti-irow: 2;">
<td style="height: 10.35pt; padding: 0in 0in 0in 0in; width: 80.0pt;" valign="bottom" width="107"><div align="right" class="MsoNormal" style="line-height: 10.35pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 11.5pt;">0,35740306</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 10.35pt; padding: 0in 0in 0in 0in; width: 78.0pt;" valign="bottom" width="104"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 10.35pt; padding: 0in 0in 0in 0in; width: 43.0pt;" valign="bottom" width="57"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 10.35pt; padding: 0in 0in 0in 0in; width: 30.0pt;" valign="bottom" width="40"><div align="right" class="MsoNormal" style="line-height: 10.35pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 11.5pt;">4</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 10.35pt; padding: 0in 0in 0in 0in; width: 127.0pt;" valign="bottom" width="169"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 10.35pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 11.6pt; mso-yfti-irow: 3;">
<td colspan="2" style="height: 11.6pt; padding: 0in 0in 0in 0in; width: 154.0pt;" valign="bottom" width="205"><div class="MsoNormal" style="line-height: 11.6pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">than one.
A second solution</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 11.6pt; padding: 0in 0in 0in 0in; width: 78.0pt;" valign="bottom" width="104"><div class="MsoNormal" style="line-height: 11.6pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 1.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">exists when</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 11.6pt; padding: 0in 0in 0in 0in; width: 43.0pt;" valign="bottom" width="57"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 11.6pt; padding: 0in 0in 0in 0in; width: 30.0pt;" valign="bottom" width="40"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 11.6pt; padding: 0in 0in 0in 0in; width: 127.0pt;" valign="bottom" width="169"><div align="right" class="MsoNormal" style="line-height: 11.6pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">, as is indicated in the</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 11.6pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 66.9pt; mso-yfti-irow: 4; mso-yfti-lastrow: yes;">
<td colspan="2" style="height: 66.9pt; padding: 0in 0in 0in 0in; width: 154.0pt;" valign="bottom" width="205"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">following image:</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 66.9pt; padding: 0in 0in 0in 0in; width: 78.0pt;" valign="bottom" width="104"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td colspan="3" style="height: 66.9pt; padding: 0in 0in 0in 0in; width: 200.0pt;" valign="bottom" width="267"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 115.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">2,15329217</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 66.9pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<!--[if gte vml 1]><v:shape id="_x0000_s1035" type="#_x0000_t75"
style='position:absolute;margin-left:94.5pt;margin-top:-34.95pt;width:243.95pt;
height:169.6pt;z-index:-251646976;mso-position-horizontal-relative:text;
mso-position-vertical-relative:text' o:allowincell="f">
<v:imagedata src="file:///C:\Users\SAN-15\AppData\Local\Temp\OICE_C3DEB354-9A90-44A0-B7CA-E75A740F242C.0\msohtmlclip1\01\clip_image016.jpg"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><span style="mso-ignore: vglayout; position: relative; z-index: 251669493;"><span style="height: 226px; left: 126px; position: absolute; top: -47px; width: 325px;"><br /></span></span><!--[endif]--><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-l4kc57hp2B8/V_4wchb0hoI/AAAAAAAAA_g/HGFaOMXLphUzTOBq9LushEX0gh9HU4b7gCLcB/s1600/last.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="179" src="https://1.bp.blogspot.com/-l4kc57hp2B8/V_4wchb0hoI/AAAAAAAAA_g/HGFaOMXLphUzTOBq9LushEX0gh9HU4b7gCLcB/s320/last.png" width="320" /></a></div>
<br />
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 17.05pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 103%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-align: justify; text-autospace: none; text-justify: inter-ideograph;">
<span style="font-size: 12.0pt; line-height: 103%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">The techniques
allowing us to find these other solutions will be the subject of future
discussions.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 103%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 10.0pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 18.35pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 383.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</div>
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><br clear="all" style="mso-break-type: section-break; page-break-before: always;" />
</span>
<br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<a href="https://www.blogger.com/null" name="page6"></a><b><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Exercise</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 13.95pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: 102%; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; punctuation-wrap: simple; text-autospace: none;">
<span style="font-size: 12.0pt; line-height: 102%; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">With the
help of Excel, find at least one value of <b><i>x</i></b> such that the
following equations are satisfied.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 102%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: .1pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: .25in; mso-padding-alt: 0in 0in 0in 0in; mso-table-layout-alt: fixed;">
<tbody>
<tr style="height: 28.75pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="height: 28.75pt; padding: 0in 0in 0in 0in; width: 14.0pt;" valign="bottom" width="19"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">a)</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td colspan="2" rowspan="2" style="height: 28.75pt; padding: 0in 0in 0in 0in; width: 50.0pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 4.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">ln</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td colspan="2" rowspan="2" style="height: 28.75pt; padding: 0in 0in 0in 0in; width: 22.0pt;" valign="bottom" width="29"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 1.0pt; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">2</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 28.75pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 17.65pt; mso-yfti-irow: 1;">
<td style="height: 17.65pt; padding: 0in 0in 0in 0in; width: 14.0pt;" valign="bottom" width="19"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">b)</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 17.65pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 12.3pt; mso-yfti-irow: 2;">
<td rowspan="2" style="height: 12.3pt; padding: 0in 0in 0in 0in; width: 14.0pt;" valign="bottom" width="19"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">c)</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td rowspan="2" style="height: 12.3pt; padding: 0in 0in 0in 0in; width: 40.0pt;" valign="bottom" width="53"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 4.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">ln 1</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 12.3pt; padding: 0in 0in 0in 0in; width: 10.0pt;" valign="bottom" width="13"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border: none; height: 12.3pt; padding: 0in 0in 0in 0in; width: .25in;" valign="bottom" width="24"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 12.3pt; padding: 0in 0in 0in 0in; width: 4.0pt;" valign="bottom" width="5"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 12.3pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 9.4pt; mso-yfti-irow: 3;">
<td style="height: 9.4pt; padding: 0in 0in 0in 0in; width: 10.0pt;" valign="bottom" width="13"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td rowspan="2" style="height: 9.4pt; padding: 0in 0in 0in 0in; width: .25in;" valign="bottom" width="24"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">2</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 9.4pt; padding: 0in 0in 0in 0in; width: 4.0pt;" valign="bottom" width="5"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 9.4pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 9.1pt; mso-yfti-irow: 4;">
<td style="height: 9.1pt; padding: 0in 0in 0in 0in; width: 14.0pt;" valign="bottom" width="19"><div class="MsoNormal" style="line-height: 9.1pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<span style="font-size: 9.5pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">d)</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td colspan="2" style="height: 9.1pt; padding: 0in 0in 0in 0in; width: 50.0pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: 9.1pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 32.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 10.0pt;">√</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 9.1pt; padding: 0in 0in 0in 0in; width: 4.0pt;" valign="bottom" width="5"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td style="height: 9.1pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
<tr style="height: 35.1pt; mso-yfti-irow: 5; mso-yfti-lastrow: yes;">
<td style="height: 35.1pt; padding: 0in 0in 0in 0in; width: 14.0pt;" valign="bottom" width="19"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
<td colspan="2" style="height: 35.1pt; padding: 0in 0in 0in 0in; width: 50.0pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 4.0pt; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">ln</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td colspan="2" style="height: 35.1pt; padding: 0in 0in 0in 0in; width: 22.0pt;" valign="bottom" width="29"><div align="right" class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-align: right; text-autospace: none;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">3</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
</td>
<td style="height: 35.1pt; padding: 0in 0in 0in 0in; width: 0in;" valign="bottom" width="0"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: .3pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-pagination: none; text-autospace: none;">
<b><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">Solution</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.05pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-list: l0 level1 lfo1; mso-pagination: none; punctuation-wrap: simple; tab-stops: list .5in; text-align: justify; text-autospace: none; text-indent: -18.1pt; text-justify: inter-ideograph;">
<!--[if !supportLists]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;">a.<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">1,68957994 <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 7.35pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-list: l0 level1 lfo1; mso-pagination: none; punctuation-wrap: simple; tab-stops: list .5in; text-align: justify; text-autospace: none; text-indent: -18.1pt; text-justify: inter-ideograph;">
<!--[if !supportLists]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;">b.<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">0,76822112 <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 7.3pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-list: l0 level1 lfo1; mso-pagination: none; punctuation-wrap: simple; tab-stops: list .5in; text-align: justify; text-autospace: none; text-indent: -18.1pt; text-justify: inter-ideograph;">
<!--[if !supportLists]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;">c.<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">0,44754188 <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 7.3pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-layout-grid-align: none; mso-line-height-rule: exactly; mso-pagination: none; text-autospace: none;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-layout-grid-align: none; mso-list: l0 level1 lfo1; mso-pagination: none; punctuation-wrap: simple; tab-stops: list .5in; text-align: justify; text-autospace: none; text-indent: -18.1pt; text-justify: inter-ideograph;">
<!--[if !supportLists]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri; mso-hansi-font-family: Calibri;">d.<span style="font-size: 7pt; font-stretch: normal; font-variant-numeric: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-hansi-font-family: Calibri;">0,82461277 <o:p></o:p></span></div>
<span class="fullpost">
</span></div>
Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-53595401220687733002016-03-17T03:03:00.001-07:002016-03-17T03:03:30.566-07:00OepnRowSet Example<div dir="ltr" style="text-align: left;" trbidi="on">
DECLARE @WorkingTempTbl Varchar(20)<br />
SET @WorkingTempTbl = 'FL_HUM_Census';<br />
<br />
DECLARE @SourceFileName Varchar(200)<br />
SET @SourceFileName = 'D:\JSAOBDSL_2015-06-01'<br />
<br />
DECLARE @SqlTempTbl varchar(MAX)<br />
<br />
SET @SqlTempTbl = '<br />
Insert into ' + @WorkingTempTbl + '(<br />
RECORDTYPE)<br />
Select RECORDTYPE from OPENROWSET( BULK ''' + @SourceFileName + ''' ,FORMATFILE = ''D:\GetRowCount.xml'')'<br />
<br />
Exec @SqlTempTbl<br />
<br />
<br />
BULK INSERT FL_HUM_Census <br />
select * FROM 'D:\JSAOBDSL_2015-06-01.csv' <br />
WITH (FORMATFILE = 'D:\JSAOBDSL_19cols.xml');<br />
GO<br />
SELECT * FROM FL_HUM_Census;<br />
truncate Table FL_HUM_Census<br />
GO<br />
<br />
INSERT into FL_HUM_Census <br />
SELECT * FROM OPENROWSET<br />
( BULK 'D:\Sample_OpenRowSet\JSAOBDSL_2015-06-18.csv', <br />
FORMATFILE = 'D:\JSAOBDSL_19cols.xml',FIRSTROW = 2)t;<br />
<br />
Select * from ETLTableMetaData<br />
Select * from ETLTables<br />
<br />
<span class="fullpost">
</span></div>
Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-83488287827691553152016-03-17T02:37:00.002-07:002016-03-17T02:37:47.569-07:00SQL Server db_executor role to grant execute permission<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I was answering to a question on a SQL Server public forum,
that how to grant only execute permission on a database for some users?
Yes, It’s very easy to grant execute permission to a user but somehow I
feel there should have some built-in roles like db_datareader or
db_datawriter for the same? Anyway it’s not that difficult to create
one. Let’s create a role and name it db_execproc, then add role-members.<br />
<div class="bar show">
<div class="toolbar">
<a class="item about" href="http://sqlindia.com/sql-server-db_executor-role-to-grant-execute-permission/#about" style="height: 16px; width: 16px;" title="?"></a></div>
<div class="toolbar">
</div>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="plain">USE [DBA] </code><code class="comments">--Change the database name</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="plain">GO</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="comments">--It will drop the role if it is already exists.</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="keyword">DECLARE</code> <code class="plain">@RoleName sysname</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="keyword">set</code> <code class="plain">@RoleName = N</code><code class="string">'db_execproc'</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="plain">IF @RoleName <> N</code><code class="string">'public'</code> <code class="color1">and</code> <code class="plain">(</code><code class="keyword">select</code> <code class="plain">is_fixed_role </code><code class="keyword">from</code> <code class="plain">sys.database_principals </code><code class="keyword">where</code> <code class="keyword">name</code> <code class="plain">= @RoleName) = 0</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="keyword">BEGIN</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">DECLARE</code> <code class="plain">@RoleMemberName sysname</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">DECLARE</code> <code class="plain">Member_Cursor </code><code class="keyword">CURSOR</code> <code class="keyword">FOR</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">select</code> <code class="plain">[</code><code class="keyword">name</code><code class="plain">]</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">from</code> <code class="plain">sys.database_principals </code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">where</code> <code class="plain">principal_id </code><code class="color1">in</code> <code class="plain">( </code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">select</code> <code class="plain">member_principal_id</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">from</code> <code class="plain">sys.database_role_members</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">where</code> <code class="plain">role_principal_id </code><code class="color1">in</code> <code class="plain">(</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">select</code> <code class="plain">principal_id</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">FROM</code> <code class="plain">sys.database_principals </code><code class="keyword">where</code> <code class="plain">[</code><code class="keyword">name</code><code class="plain">] = @RoleName </code><code class="color1">AND</code> <code class="plain">type = </code><code class="string">'R'</code><code class="plain">))</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">OPEN</code> <code class="plain">Member_Cursor;</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">FETCH</code> <code class="keyword">NEXT</code> <code class="keyword">FROM</code> <code class="plain">Member_Cursor</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">into</code> <code class="plain">@RoleMemberName</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code> </td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">DECLARE</code> <code class="plain">@SQL NVARCHAR(4000)</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="plain">WHILE @@FETCH_STATUS = 0</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">BEGIN</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code> </td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">SET</code> <code class="plain">@SQL = </code><code class="string">'ALTER ROLE '</code><code class="plain">+ QUOTENAME(@RoleName,</code><code class="string">'['</code><code class="plain">) +</code><code class="string">' DROP MEMBER '</code><code class="plain">+ QUOTENAME(@RoleMemberName,</code><code class="string">'['</code><code class="plain">)</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">EXEC</code><code class="plain">(@SQL)</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code> </td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">FETCH</code> <code class="keyword">NEXT</code> <code class="keyword">FROM</code> <code class="plain">Member_Cursor</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">into</code> <code class="plain">@RoleMemberName</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">END</code><code class="plain">;</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">CLOSE</code> <code class="plain">Member_Cursor;</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="spaces"> </code><code class="keyword">DEALLOCATE</code> <code class="plain">Member_Cursor;</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="keyword">END</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="plain">/****** Object: DatabaseRole [db_execproc] Script </code><code class="keyword">Date</code><code class="plain">: 3/5/2016 8:40:20 PM ******/</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="keyword">DROP</code> <code class="plain">ROLE [db_execproc]</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="plain">GO</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="plain">/****** Object: DatabaseRole [db_execproc] Script </code><code class="keyword">Date</code><code class="plain">: 3/5/2016 8:40:20 PM ******/</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="keyword">CREATE</code> <code class="plain">ROLE [db_execproc]</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="plain">GO</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="comments">--Grant EXECUTE permission at the schema level to the role.</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"><code class="keyword">GRANT</code> <code class="keyword">EXECUTE</code> <code class="keyword">ON</code> <code class="keyword">SCHEMA</code><code class="plain">::dbo </code><code class="keyword">TO</code> <code class="plain">db_execproc;</code></td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="plain">GO</code></td></tr>
</tbody></table>
</div>
<div class="line alt2">
<table><tbody>
<tr><td class="content"> </td></tr>
</tbody></table>
</div>
<div class="line alt1">
<table><tbody>
<tr><td class="content"><code class="comments">--EXEC sp_addrolemember N'db_execproc', N'TestUser'; -- Add user here</code></td></tr>
</tbody></table>
</div>
<code class="plain">GO</code><span class="fullpost">
</span></div>
Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-34153305996621343652016-03-17T02:31:00.001-07:002016-03-17T02:31:57.835-07:00Correlated or Derived JOIN in SQL Server<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
</o:OfficeDocumentSettings>
</xml><![endif]-->
<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">You must be wondering what is this correlated join in SQL Server? Let
me clarify it’s not a type of join like INNER or OUTER, it is a kind
of usage or play around with joins. Some call it derived join
too. Anyway it really does not matter what it is called. The concept is
important to understand here. <a href="http://sqlindia.com/sql-joins/" target="_blank"><span style="color: blue;">Different types of JOINs in SQL Server</span></a></span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Couple of months ago, I was interviewing a guy. My first question was, find the
top 3 business by Amount from Business table, he was kind of happy
because he thought it’s a very silly and common question.
I saw that happiness and tweaked the question a little bit, I asked him to
get me the same out put but by doing a LEFT JOIN with Employee then
INNER JOIN between Employee and Location tables.</span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Let’s do the practical. We have 3 tables, named Employee, Location and
Business. In Business table, we have the business data. Let’s find the top 3
businesses by Amount made so far by our employees using the joins mentioned
above.</span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Business:</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 374px;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt; width: 55.5pt;" width="74"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BusinessID</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 147.0pt;" width="196"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BusinessName</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 35.25pt;" width="47"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">EmpID</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 42.75pt;" width="57"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Amount</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">1</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">92 Per-cents %% team</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">4750</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">2</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">K-Land fund trust</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">2</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">16750</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">3</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Robert@BigStarBank.com</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">18100</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 4;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">5</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BIG 6’s Foundation%</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">4</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">22090</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 5;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">6</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">TALTA_Kishan International</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">3</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">18100</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 6;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Ben@MoreTechnology.com</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">10</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">41000</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 7;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">8</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">www.@-Last-U-Can-Help.com</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">25000</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 8;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">9</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Thank you @.com</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">21500</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 9;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">10</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Just Mom</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">5</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">9900</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 10;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Big Giver Tom</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">19000</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 11;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">12</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Mega Mercy</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">9</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">55000</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 12;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">13</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Hope Reaches</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">29000</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 13; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">14</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Everyone Wins</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">4</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">12500</span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Employee:</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 333px;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt; width: 35.25pt;" width="47"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">EmpID</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 51.0pt;" width="68"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">LastName</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 53.25pt;" width="71"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">FirstName</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: .75in;" width="72"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">LocationID</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 56.25pt;" width="75"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">ManagerID</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">2</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Brown</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Barry</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">1</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">3</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Osako</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Lee</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">2</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">4</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Kinnison</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Dave</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">1</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 4;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">5</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Bender</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Eric</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">1</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 5;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Lonning</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">David</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">NULL</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 6;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">9</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Newton</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">James</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">2</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">3</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 7;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">10</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">O’Haire</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Terry</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">2</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">3</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 8; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">11</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Smith</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Sally</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">1</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">NULL</span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Location</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 313px;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt; width: .75in;" width="72"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">LocationID</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 88.5pt;" width="118"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">street</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 63.75pt;" width="85"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">city</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 28.5pt;" width="38"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">state</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">1</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">545 Pike</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Seattle</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">WA</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">2</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">222 Second AVE</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Boston</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">MA</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">4</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">444 Ruby ST</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Spokane</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">WA</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 4;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">5</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">1595 Main</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Philadelphia</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">PA</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 5; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">6</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">915 Wallaby Drive</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Sydney</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">NULL</span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">TOP 3 Business by Amount, our desired output:</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 286px;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt; width: 136.5pt;" width="182"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BusinessName</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 42.75pt;" width="57"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Amount</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 35.25pt;" width="47"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">EmpID</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Mega Mercy</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">55000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">9</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Ben@MoreTechnology.com</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">41000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">10</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Hope Reaches</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">29000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">To get the above result, we can simply write a SELECT
TOP(3) statement on Business table and then ORDER BY Amount DESC like
shown below.</span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">SELECT</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">TOP</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">(3) BusinessName, Amount from</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">[dbo].[Business]</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">ORDER</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BY</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Amount DESC</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Remember, I had tweaked the question and asked him to write the query by
doing LEFT JOIN between Business and Employee tables then INNER JOIN between
Employee and Location tables. Usually someone will write a query like below.</span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">--Wrong</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">SELECT</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">TOP</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">(3) b.BusinessName, b.Amount FROM</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Business b</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">LEFT</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">JOIN</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Employee e</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> ON</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">e.EmpID =
b.EmpID</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">INNER</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">JOIN</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Location l</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> ON</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">l.LocationID =
e.LocationID</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">ORDER</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BY</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">b.Amount DESC</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Output: (Wrong)</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 286px;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt; width: 136.5pt;" width="182"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BusinessName</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 42.75pt;" width="57"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Amount</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 35.25pt;" width="47"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">EmpID</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Mega Mercy</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">55000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">9</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Ben@MoreTechnology.com</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">41000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">10</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BIG 6’s Foundation%</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">22090</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">4</span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">We know <i>BIG 6’s Foundation% (22090)</i> is not our 3rd highest
business. The reason <i>Hope Reaches(29000) </i>did not come in the
result set because <i>EmpID 7 </i> owns that business and <i>EmpID
7 </i>has no relative data in the location table, LocationID is
NULL for EmpID 7 in the Employee table.</span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Note: In the above query we are fine up to LEFT JOIN between
Business and Employee tables but the INNER JOIN with Location phrased out the
whole result set at the end with only matching records between Employee and
Location tables. Our EmpID 7 is the owner of the 3rd highest business
unfortunately he works from home so his business is filtered out and
the next highest business is displayed.</span></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Now answering the question.. There are number of ways to get the desired
result set but probably the most natural is to use an interesting capability of
joins.</span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">--Right</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">SELECT</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">TOP</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">(3) b.BusinessName, b.Amount, b.EmpID FROM</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Business b</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">LEFT</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">JOIN</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">(</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> Employee e</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> INNER</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">JOIN</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Location l</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> ON</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">l.LocationID =
e.LocationID</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> )</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes;">
<td colspan="2" style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> ON</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">e.EmpID =
b.EmpID</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">ORDER</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BY</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"> </span><span style="font-size: 10.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">b.Amount DESC</span><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Output: (Right)</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
<table border="0" cellpadding="0" class="MsoNormalTable" style="mso-cellspacing: 1.5pt; mso-yfti-tbllook: 1184; width: 286px;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="padding: .75pt .75pt .75pt .75pt; width: 136.5pt;" width="182"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">BusinessName</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 42.75pt;" width="57"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Amount</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt; width: 35.25pt;" width="47"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">EmpID</span></b><span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";"></span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Mega Mercy</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">55000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">9</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Ben@MoreTechnology.com</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">41000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">10</span></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">Hope Reaches</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">29000</span></div>
</td>
<td style="padding: .75pt .75pt .75pt .75pt;"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">7</span></div>
</td>
</tr>
</tbody></table>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;">
<span style="font-size: 12.0pt; mso-bidi-font-family: Calibri; mso-bidi-language: GU; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: "Times New Roman";">In the above query, we isolated the EMPLOYEE and LOCATION join
within parenthesis to their own pendent logical phase. Which is why the
LEFT JOIN is not filtered out by the location anymore.</span></div>
<div class="MsoNormal">
<br /></div>
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>GU</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
<w:DontFlipMirrorIndents/>
<w:OverrideTableStyleHps/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:Shruti;
mso-bidi-theme-font:minor-bidi;
mso-bidi-language:AR-SA;}
</style>
<![endif]--></div>
Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-52830226976272119222012-04-01T23:57:00.003-07:002012-04-01T23:57:49.109-07:00J query Datatable in asp.net c#, Optimoze Gridview with datatable J query<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
<b>Controller </b><br />
<br />
<b>HomeController.cs</b><br />
<br />
<b>using System;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Mvc;<br />using JQueryDataTables.Models;<br />using JQueryDataTables.Models.Repository;<br /><br />namespace JQueryDataTables.Controllers<br />{<br /> public class HomeController : Controller<br /> {<br /> /// <summary><br /> /// Action that handles initiall request and returns empty view<br /> /// </summary><br /> /// <returns>Home/Index view</returns><br /> public ActionResult Index()<br /> {<br /> return View();<br /> }<br /><br /><br /> /// <summary><br /> /// Returns data by the criterion<br /> /// </summary><br /> /// <param name="param">Request sent by DataTables plugin</param><br /> /// <returns>JSON text used to display data<br /> /// <list type=""><br /> /// <item>sEcho - same value as in the input parameter</item><br /> /// <item>iTotalRecords - Total number of unfiltered data. This value is used in the message: <br /> /// "Showing *start* to *end* of *iTotalDisplayRecords* entries (filtered from *iTotalDisplayRecords* total entries)<br /> /// </item><br /> /// <item>iTotalDisplayRecords - Total number of filtered data. This value is used in the message: <br /> /// "Showing *start* to *end* of *iTotalDisplayRecords* entries (filtered from *iTotalDisplayRecords* total entries)<br /> /// </item><br /> /// <item>aoData - Twodimensional array of values that will be displayed in table. <br /> /// Number of columns must match the number of columns in table and number of rows is equal to the number of records that should be displayed in the table</item><br /> /// </list><br /> /// </returns><br /> public ActionResult AjaxHandler(JQueryDataTableParamModel param)<br /> {<br /> var allCompanies = DataRepository.GetCompanies();<br /> IEnumerable<Company> filteredCompanies;<br /> //Check whether the companies should be filtered by keyword<br /> if (!string.IsNullOrEmpty(param.sSearch))<br /> {<br /> //Used if particulare columns are filtered <br /> var nameFilter = Convert.ToString(Request["sSearch_1"]);<br /> var addressFilter = Convert.ToString(Request["sSearch_2"]);<br /> var townFilter = Convert.ToString(Request["sSearch_3"]);<br /><br /> //Optionally check whether the columns are searchable at all <br /> var isNameSearchable = Convert.ToBoolean(Request["bSearchable_1"]);<br /> var isAddressSearchable = Convert.ToBoolean(Request["bSearchable_2"]);<br /> var isTownSearchable = Convert.ToBoolean(Request["bSearchable_3"]);<br /><br /> filteredCompanies = DataRepository.GetCompanies()<br /> .Where(c => isNameSearchable && c.Name.ToLower().Contains(param.sSearch.ToLower())<br /> ||<br /> isAddressSearchable && c.Address.ToLower().Contains(param.sSearch.ToLower())<br /> ||<br /> isTownSearchable && c.Town.ToLower().Contains(param.sSearch.ToLower()));<br /> }<br /> else<br /> {<br /> filteredCompanies = allCompanies;<br /> }<br /><br /> var isNameSortable = Convert.ToBoolean(Request["bSortable_1"]);<br /> var isAddressSortable = Convert.ToBoolean(Request["bSortable_2"]);<br /> var isTownSortable = Convert.ToBoolean(Request["bSortable_3"]);<br /> var sortColumnIndex = Convert.ToInt32(Request["iSortCol_0"]);<br /> Func<Company, string> orderingFunction = (c => sortColumnIndex == 1 && isNameSortable ? c.Name :<br /> sortColumnIndex == 2 && isAddressSortable ? c.Address :<br /> sortColumnIndex == 3 && isTownSortable ? c.Town :<br /> "");<br /><br /> var sortDirection = Request["sSortDir_0"]; // asc or desc<br /> if (sortDirection == "asc")<br /> filteredCompanies = filteredCompanies.OrderBy(orderingFunction);<br /> else<br /> filteredCompanies = filteredCompanies.OrderByDescending(orderingFunction);<br /><br /> var displayedCompanies = filteredCompanies.Skip(param.iDisplayStart).Take(param.iDisplayLength);<br /> var result = from c in displayedCompanies select new[] { Convert.ToString(c.ID), c.Name, c.Address, c.Town };<br /> return Json(new<br /> {<br /> sEcho = param.sEcho,<br /> iTotalRecords = allCompanies.Count(),<br /> iTotalDisplayRecords = filteredCompanies.Count(),<br /> aaData = result<br /> },<br /> JsonRequestBehavior.AllowGet);<br /> }<br /><br /> }<br />}<br /> </b><br />
<br />
<b>Models </b><br />
<b><br /></b><br />
<b>Company.cs</b><br />
<b><br /></b><br />
<b>namespace JQueryDataTables.Models<br />{<br /> /// <summary><br /> /// Company class contains information that shoudl be shown in table<br /> /// </summary><br /> public class Company<br /> {<br /> static int nextID = 17;<br /><br /> public Company()<br /> {<br /> ID = nextID++;<br /> }<br /> public int ID { get; set; }<br /> public string Name { get; set; }<br /> public string Address { get; set; }<br /> public string Town { get; set; }<br /> }<br /><br />}</b><br />
<br />
<br />
<b>JQueryDataTableParamModel.cs</b><br />
<br />
<br />
<b><br /><br />namespace JQueryDataTables.Models<br />{<br /> /// <summary><br /> /// Class that encapsulates most common parameters sent by DataTables plugin<br /> /// </summary><br /> public class JQueryDataTableParamModel<br /> {<br /> /// <summary><br /> /// Request sequence number sent by DataTable, same value must be returned in response<br /> /// </summary> <br /> public string sEcho{ get; set; }<br /><br /> /// <summary><br /> /// Text used for filtering<br /> /// </summary><br /> public string sSearch{ get; set; }<br /><br /> /// <summary><br /> /// Number of records that should be shown in table<br /> /// </summary><br /> public int iDisplayLength{ get; set; }<br /><br /> /// <summary><br /> /// First record that should be shown(used for paging)<br /> /// </summary><br /> public int iDisplayStart{ get; set; }<br /><br /> /// <summary><br /> /// Number of columns in table<br /> /// </summary><br /> public int iColumns{ get; set; }<br /><br /> /// <summary><br /> /// Number of columns that are used in sorting<br /> /// </summary><br /> public int iSortingCols{ get; set; }<br /><br /> /// <summary><br /> /// Comma separated list of column names<br /> /// </summary><br /> public string sColumns{ get; set; }<br /><br /> }<br />}</b><br />
<br />
<br />
<b>View</b><br />
<br />
<br />
<b>Inde.chtml</b><br />
<br />
<b>@{<br /> Layout = null;<br />}<br /><br /><!DOCTYPE html><br /><html><br /> <head><br /> <title>JQuery DataTables/ASP.NET MVC Integration</title><br /> <link href="@Url.Content("~/Content/dataTables/demo_table.css")" rel="stylesheet" type="text/css" /><br /> <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script><br /> <script src="@Url.Content("~/Scripts/jquery.dataTables.min.js")" type="text/javascript"></script><br /> <script src="@Url.Content("~/Scripts/index.js")" type="text/javascript"></script><br /> </head><br /><br /> <body><br /> <div id="container"><br /> <div id="demo"><br /> <h2>Index</h2><br /> <table id="myDataTable" class="display"><br /> <thead><br /> <tr><br /> <th>ID</th><br /> <th>Company name</th><br /> <th>Address</th><br /> <th>Town</th><br /> </tr><br /> </thead><br /> <tbody> <br /> </tbody><br /> </table><br /> </div><br /> </div><br /> </bod</b><br />
<br />
<br />
<b>Use JQueryDataTables.dll library</b><br />
<br />
<br />
<br />
</div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-50172189451787256822012-04-01T23:52:00.001-07:002012-04-01T23:53:13.158-07:00Dynamically generating thumbnail images in ASP.NET with C#<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
<b> <img src="CreateThumbnail.aspx?image=upload/product/<%# Eval("image") %>&width=50" /> </b><br />
<br />
<b> CreateThumbnail.aspx.cs</b><br />
<br />
using System;<br />
using System.Data;<br />
using System.Configuration;<br />
using System.Collections;<br />
using System.Web;<br />
using System.Web.Security;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;<br />
using System.Web.UI.WebControls.WebParts;<br />
using System.Web.UI.HtmlControls;<br />
using System.Drawing;<br />
using System.Drawing.Imaging;<br />
<br />
public partial class CreateThumbnail : System.Web.UI.Page<br />
{<br />
private void Page_Load(object sender, System.EventArgs e)<br />
{<br />
string Image = Request.QueryString["Image"];<br />
if (Image == null)<br />
{<br />
this.ErrorResult();<br />
return;<br />
}<br />
string sSize = Request["Size"];<br />
int Size = 120;<br />
if (sSize != null)<br />
<br />
Size = Int32.Parse(sSize);<br />
<br />
string Path = Server.MapPath(Request.ApplicationPath) + "\\" + Image;<br />
Bitmap bmp = Thumbnail(Path, Size, Size);<br />
<br />
if (bmp == null)<br />
{<br />
this.ErrorResult();<br />
return;<br />
}<br />
string OutputFilename = null;<br />
OutputFilename = Request.QueryString["OutputFilename"];<br />
if (OutputFilename != null)<br />
{<br />
<br />
if (this.User.Identity.Name == "")<br />
{<br />
<br />
bmp.Dispose();<br />
this.ErrorResult();<br />
<br />
}<br />
try<br />
{<br />
<br />
bmp.Save(OutputFilename);<br />
<br />
}<br />
<br />
catch (Exception ex)<br />
{<br />
bmp.Dispose();<br />
this.ErrorResult();<br />
return;<br />
}<br />
<br />
}<br />
Response.ContentType = "image/jpeg";<br />
bmp.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);<br />
bmp.Dispose();<br />
<br />
}<br />
private void ErrorResult()<br />
{<br />
Response.Clear();<br />
Response.StatusCode = 404;<br />
Response.End();<br />
}<br />
public static Bitmap Thumbnail(string lcFilename, int lnWidth, int lnHeight)<br />
{<br />
System.Drawing.Bitmap bmpOut = null;<br />
try<br />
{<br />
Bitmap loBMP = new Bitmap(lcFilename);<br />
ImageFormat loFormat = loBMP.RawFormat;<br />
decimal lnRatio;<br />
int lnNewWidth = 0;<br />
int lnNewHeight = 0;<br />
if (loBMP.Width < lnWidth && loBMP.Height < lnHeight)<br />
<br />
return loBMP;<br />
if (loBMP.Width > loBMP.Height)<br />
{<br />
<br />
lnRatio = (decimal)lnWidth / loBMP.Width;<br />
<br />
lnNewWidth = lnWidth;<br />
<br />
decimal lnTemp = loBMP.Height * lnRatio;<br />
<br />
lnNewHeight = (int)lnTemp;<br />
<br />
}<br />
<br />
else<br />
{<br />
<br />
lnRatio = (decimal)lnHeight / loBMP.Height;<br />
<br />
lnNewHeight = lnHeight;<br />
<br />
decimal lnTemp = loBMP.Width * lnRatio;<br />
<br />
lnNewWidth = (int)lnTemp;<br />
<br />
}<br />
<br />
<br />
bmpOut = new Bitmap(lnNewWidth, lnNewHeight);<br />
<br />
Graphics g = Graphics.FromImage(bmpOut);<br />
<br />
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;<br />
<br />
g.FillRectangle(Brushes.White, 0, 0, lnNewWidth, lnNewHeight);<br />
<br />
g.DrawImage(loBMP, 0, 0, lnNewWidth, lnNewHeight);<br />
<br />
<br />
<br />
loBMP.Dispose();<br />
<br />
}<br />
<br />
catch<br />
{<br />
<br />
return null;<br />
<br />
}<br />
<br />
<br />
<br />
return bmpOut;<br />
<br />
}<br />
<br />
<br />
<br />
}</div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-85093489438041750562012-04-01T23:48:00.003-07:002012-04-01T23:50:05.337-07:00Product Catelog App class in asp.net c# -7<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
<b>view_product.aspx</b><br />
<br />
<b><%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"<br /> CodeFile="view_product.aspx.cs" Inherits="view_product" Title="Untitled Page" %><br /><br /><asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"><br /></asp:Content><br /><asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"><br /> <table><br /> <tr><br /> <td width="63%" align="right" valign="top"><br /> <table width="90%" border="0" align="right" cellpadding="0" cellspacing="0" style="padding: 40px 0 0 0;<br /> margin-top: 10px;"><br /> <tr><br /> <td width="90%" align="right" valign="top"><br /> <table width="90%" border="0" align="right" cellpadding="0" cellspacing="0" style="margin-bottom: 25px;"><br /> <tr><br /> <td align="left"><br /> <table width="98%" align="left" cellpadding="0" cellspacing="0" style="margin: 25px 0 0 0;"><br /> <tr><br /> <td align="left" valign="top" class="style13"><br /> VIEW PRODUCT<br /> </td><br /> <td width="198" height="35" align="right" valign="middle" class="style4"><br /> </td><br /> </tr><br /> </TBODY><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td align="left"><br /> <table width="535" border="0" align="center" cellpadding="0" cellspacing="0"><br /> <tr><br /> <td height="10"><br /> </td><br /> </tr><br /> <tr><br /> <td><br /> <table align="center" border="0" cellpadding="0" cellspacing="0" width="535"><br /> <tr><br /> <td height="10"><br /> <table style="width: 100%"><br /> <tr><br /> <td align="left" style="width: 50%"><br /> <asp:TextBox ID="txtsearch" Text="Search by ProductName" runat="server" OnClick="this.value = ''; this.style.color = 'black'" OnBlur="javascript:changeText(this.id)"></asp:TextBox><br /> <asp:Button ID="Submit" runat="server" Text="Button" OnClick="Submit_Click" /><br /> </td><br /> <td align="right" style="width: 50%"><br /> <asp:DropDownList ID="drpcategory" runat="server" OnSelectedIndexChanged="drpcategory_SelectedIndexChanged"><br /> </asp:DropDownList><br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="top" width="520"><br /> <table border="0" cellpadding="0" cellspacing="0" width="90%"><br /> <tr><br /> <td align="center" colspan="3" height="15" valign="middle"><br /> <h1><br /> <asp:GridView ID="gvcategory" runat="server" AllowPaging="True" AutoGenerateColumns="False"<br /> CellPadding="5" DataKeyNames="CategoryId" OnPageIndexChanging="gvcategory_PageIndexChanging"<br /> OnRowDeleting="gvcategory_RowDeleting" OnRowEditing="gvcategory_RowEditing" Width="80%"><br /> <HeaderStyle CssClass="Head" /><br /> <RowStyle CssClass="rowtext" /><br /> <Columns><br /> <asp:TemplateField HeaderText="ID" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="7%"><br /> <ItemTemplate><br /> <%#Container.DataItemIndex+1 %><br /> </ItemTemplate><br /> <ItemStyle HorizontalAlign="Center" Width="7%" /><br /> </asp:TemplateField><br /> <asp:BoundField DataField="CategoryName" HeaderText="CategoryName" ItemStyle-HorizontalAlign="Left"><br /> <ItemStyle HorizontalAlign="Left" /><br /> </asp:BoundField><br /> <asp:BoundField DataField="productname" HeaderText="ProductName" ItemStyle-HorizontalAlign="Left"><br /> <ItemStyle HorizontalAlign="Left" /><br /> </asp:BoundField><br /> <asp:BoundField DataField="productcode" HeaderText="ProductCode" ItemStyle-HorizontalAlign="Left"><br /> <ItemStyle HorizontalAlign="Left" /><br /> </asp:BoundField><br /> <asp:TemplateField HeaderText="ProductImage"><br /> <ItemTemplate><br /> <img src="CreateThumbnail.aspx?image=upload/product/<%# Eval("image") %>&width=50" /><br /> </ItemTemplate><br /> </asp:TemplateField><br /> <asp:CommandField ControlStyle-CssClass="link" ItemStyle-HorizontalAlign="Center"<br /> ShowEditButton="True"><br /> <ControlStyle CssClass="link" /><br /> <ItemStyle HorizontalAlign="Center" /><br /> </asp:CommandField><br /> <asp:CommandField ControlStyle-CssClass="link" ItemStyle-HorizontalAlign="Center"<br /> ShowDeleteButton="True"><br /> <ControlStyle CssClass="link" /><br /> <ItemStyle HorizontalAlign="Center" /><br /> </asp:CommandField><br /> </Columns><br /> </asp:GridView><br /> </h1><br /> </td><br /> </tr><br /> <tr><br /> <td align="center" colspan="3" valign="middle"><br /> <table border="0" cellpadding="0" cellspacing="0" width="82%"><br /> <tr><br /> <td width="60"><br /> &nbsp;<br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" colspan="3" height="60" valign="middle"><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="middle"><br /> &nbsp;<br /> </td><br /> <td><br /> &nbsp;<br /> </td><br /> <td align="left" valign="middle"><br /> <a class="thickbox" style="border: none;">&nbsp;</a><br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td><br /> &nbsp;<br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="top"><br /> &nbsp;<br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="top"><br /> &nbsp;<br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> </table><br /></asp:Content></b><br />
<br />
<br />
<b></b><br />
<b></b><br />
<b></b><br />
<b></b><br />
<span style="font-family: Verdana,sans-serif;">view_product.aspx.cs</span><b></b><br />
<b></b><br />
<b></b><br />
<b></b><br />
<b>using System;<br />using System.Collections;<br />using System.Configuration;<br />using System.Data;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Xml.Linq;<br /><br />public partial class view_product : System.Web.UI.Page<br />{<br /> BALProductMaster bal = new BALProductMaster();<br /> DALProductMaster dal = new DALProductMaster();<br /> BALCategoryMaster catbal = new BALCategoryMaster();<br /> DALCategoryMaster catdal = new DALCategoryMaster();<br /><br /> protected void Page_Load(object sender, EventArgs e)<br /> {<br /> if (!IsPostBack)<br /> {<br /> drpcategory.DataSource = catdal.SelectCategory();<br /> drpcategory.DataBind();<br /> drpcategory.SelectedItem.Text = "category";<br /> drpcategory.SelectedValue = "id";<br /> gvbind();<br /> }<br /> }<br /> public void gvbind()<br /> {<br /> DataTable dt = dal.Select_ProductMaster();<br /> gvcategory.DataSource = dt;<br /> gvcategory.DataBind();<br /> ViewState["dtpro"] = dt;<br /> }<br /> protected void gvcategory_RowEditing(object sender, GridViewEditEventArgs e)<br /> {<br /> string productid = gvcategory.DataKeys[e.NewEditIndex].Value.ToString();<br /> Response.Redirect("Add_product.aspx?id=" + productid);<br /> }<br /> protected void gvcategory_RowDeleting(object sender, GridViewDeleteEventArgs e)<br /> {<br /> int productid = int.Parse(gvcategory.DataKeys[e.RowIndex].Value.ToString());<br /> bal.ProductID = productid;<br /> dal.delete_ProductMaster(bal);<br /> gvbind();<br /> }<br /> protected void gvcategory_PageIndexChanging(object sender, GridViewPageEventArgs e)<br /> {<br /> gvcategory.PageIndex = e.NewPageIndex;<br /> gvcategory.DataSource = (DataTable)ViewState["dtpro"];<br /> gvcategory.DataBind();<br /> }<br /> protected void drpcategory_SelectedIndexChanged(object sender, EventArgs e)<br /> {<br /> catbal.CategoryId = int.Parse(drpcategory.SelectedValue.ToString());<br /> DataTable dt = dal.selectR_ProductMasterByCategoryId(catbal);<br /> gvcategory.DataSource = dt;<br /> gvcategory.DataBind();<br /> ViewState["dtpro"] = dt;<br /> }<br /> protected void Submit_Click(object sender, EventArgs e)<br /> {<br /> string search = txtsearch.Text.ToString();<br /> DataTable dt = dal.Select_ProductMasterSearch(search);<br /> gvcategory.DataSource = dt;<br /> gvcategory.DataBind();<br /> ViewState["dtcat"] = dt;<br /> }<br />}<br /><br /> </b></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-34045405996413574282012-04-01T23:46:00.003-07:002012-04-01T23:49:55.339-07:00Product Catelog App class in asp.net c# -6<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
add_product.aspx<br />
<br />
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"<br />
CodeFile="add_product.aspx.cs" Inherits="add_product" Title="Untitled Page" %><br />
<br />
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"><br />
</asp:Content><br />
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"><br />
<table><br />
<tr><br />
<td width="63%" align="right" valign="top"><br />
<table width="90%" border="0" align="right" cellpadding="0" cellspacing="0" style="padding: 40px 0 0 0;<br />
margin-top: 10px;"><br />
<tr><br />
<td width="90%" align="right" valign="top"><br />
<table width="90%" border="0" align="right" cellpadding="0" cellspacing="0" style="margin-bottom: 25px;"><br />
<tr><br />
<td align="left"><br />
<table width="98%" align="left" cellpadding="0" cellspacing="0" style="margin: 25px 0 0 0;"><br />
<tr><br />
<td align="left" valign="top" class="style13"><br />
ADD PRODUCT<br />
</td><br />
<td width="198" height="35" align="right" valign="middle" class="style4"><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr><br />
<td align="left"><br />
<table width="535" border="0" align="center" cellpadding="0" cellspacing="0"><br />
<tr><br />
<td height="10"><br />
</td><br />
</tr><br />
<tr><br />
<td width="520" align="left" valign="top"><br />
<table width="90%" border="0" cellspacing="5" cellpadding="5"><br />
<tr><br />
<td width="225" align="left" valign="middle" class="fields"><br />
SELECT CATEGORY<br />
</td><br />
<td width="147" align="left" valign="middle"><br />
<asp:DropDownList ID="drpcategory" runat="server" Height="16px" <br />
style="width: 77px" Width="130px"><br />
</asp:DropDownList><br />
</td><br />
<td width="142"><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="drpcategory"<br />
ErrorMessage="*" ValidationGroup="ok"></asp:RequiredFieldValidator><br />
</td><br />
</tr><br />
<tr><br />
<td width="225" align="left" valign="middle" class="fields"><br />
PRODUCT NAME:<br />
</td><br />
<td width="147" align="left" valign="middle"><br />
<asp:TextBox ID="txtproduct" runat="server" Width="147" class="fields"></asp:TextBox><br />
</td><br />
<td width="142"><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtcategory"<br />
ErrorMessage="*" ValidationGroup="ok"></asp:RequiredFieldValidator><br />
</td><br />
</tr><br />
<tr><br />
<td width="225" align="left" valign="middle" class="fields"><br />
PRODUCT CODE<br />
</td><br />
<td width="147" align="left" valign="middle"><br />
<asp:TextBox ID="txtproductcode" runat="server" Width="147" class="fields"></asp:TextBox><br />
</td><br />
<td width="142"><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtproductcode"<br />
ErrorMessage="*" ValidationGroup="ok"></asp:RequiredFieldValidator><br />
</td><br />
</tr><br />
<tr><br />
<td width="225" align="left" valign="middle" class="fields"><br />
PRODUCT DETAIL<br />
</td><br />
<td width="147" align="left" valign="middle"><br />
<asp:TextBox TextMode="MultiLine" ID="txtdetail" runat="server" Width="169px" class="fields"<br />
Height="69px"></asp:TextBox><br />
</td><br />
<td width="142"><br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtdetail"<br />
ErrorMessage="*" ValidationGroup="ok"></asp:RequiredFieldValidator><br />
</td><br />
</tr><br />
<tr><br />
<td width="225" align="left" valign="middle" class="fields"><br />
IMAGE<br />
</td><br />
<td width="147" align="left" valign="middle"><br />
<asp:FileUpload ID="fileupload" runat="server" /><br />
</td><br />
<td width="142"><br />
<asp:Image ID="imgcon" runat="server" BorderStyle="None" Visible="false" /><br />
&nbsp;<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click"<br />
Visible="false">Remove Image</asp:LinkButton></td><br />
</tr><br />
<tr><br />
<td width="225" align="left" valign="middle" class="fields"><br />
&nbsp;<br />
</td><br />
<td width="147" align="left" valign="middle"><br />
&nbsp;<br />
</td><br />
<td width="142"><br />
&nbsp;<br />
</td><br />
</tr><br />
<tr><br />
<td height="15" colspan="3" align="left" valign="middle" class="fields"><br />
&nbsp;<br />
</td><br />
</tr><br />
<tr><br />
<td colspan="3" align="center" valign="middle"><br />
<table width="82%" border="0" cellspacing="0" cellpadding="0"><br />
<tr><br />
<td align="left" valign="middle"><br />
&nbsp;<br />
</td><br />
<td width="60"><br />
<asp:Button ID="btnsubmit" runat="server" Text="Submit" OnClick="btnsubmit_Click"<br />
Style="height: 26px" /><br />
</td><br />
<td align="right" valign="middle"><br />
&nbsp;<br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr><br />
<td height="60" colspan="3" align="left" valign="middle"><br />
</td><br />
</tr><br />
<tr><br />
<td align="left" valign="middle"><br />
&nbsp;<br />
</td><br />
<td><br />
&nbsp;<br />
</td><br />
<td align="left" valign="middle"><br />
<a style="border: none;" class="thickbox">&nbsp;</a><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr><br />
<td><br />
<table align="center" border="0" cellpadding="0" cellspacing="0" width="535"><br />
<tr><br />
<td height="10"><br />
&nbsp;<br />
</td><br />
</tr><br />
<tr><br />
<td align="left" valign="top" width="520"><br />
<table border="0" cellpadding="0" cellspacing="0" width="90%"><br />
<tr><br />
<td align="center" colspan="3" height="15" valign="middle"><br />
&nbsp;<br />
</td><br />
</tr><br />
<tr><br />
<td align="center" colspan="3" valign="middle"><br />
&nbsp;<br />
</td><br />
</tr><br />
<tr><br />
<td align="left" colspan="3" height="60" valign="middle"><br />
</td><br />
</tr><br />
<tr><br />
<td align="left" valign="middle"><br />
&nbsp;<br />
</td><br />
<td><br />
&nbsp;<br />
</td><br />
<td align="left" valign="middle"><br />
&nbsp;<br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr><br />
<td><br />
&nbsp;<br />
</td><br />
</tr><br />
<tr><br />
<td align="left" valign="top"><br />
&nbsp;<br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
<tr><br />
<td align="left" valign="top"><br />
&nbsp;<br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><br />
</asp:Content><br />
<br />
<br />
<b>add_product.aspx.cs </b><br />
<br />
using System;<br />
using System.Collections;<br />
using System.Configuration;<br />
using System.Data;<br />
using System.Linq;<br />
using System.Web;<br />
using System.Web.Security;<br />
using System.Web.UI;<br />
using System.Web.UI.HtmlControls;<br />
using System.Web.UI.WebControls;<br />
using System.Web.UI.WebControls.WebParts;<br />
using System.Xml.Linq;<br />
<br />
public partial class add_product : System.Web.UI.Page<br />
{<br />
BALProductMaster bal = new BALProductMaster();<br />
DALProductMaster dal = new DALProductMaster();<br />
BALCategoryMaster catbal = new BALCategoryMaster();<br />
DALCategoryMaster catdal = new DALCategoryMaster();<br />
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
<br />
if (!IsPostBack)<br />
{<br />
<br />
drpcategory.DataSource = catdal.SelectCategory();<br />
drpcategory.DataBind();<br />
drpcategory.SelectedItem.Text = "category";<br />
drpcategory.SelectedValue = "id";<br />
<br />
if (Request.QueryString["id"] != null)<br />
{<br />
int ProductID = int.Parse(Request.QueryString["id"].ToString());<br />
bal.ProductID = ProductID;<br />
DataTable dt = dal.select_ProductMasterByProductId(bal);<br />
if (dt.Rows.Count != 0)<br />
{<br />
drpcategory.SelectedValue = dt.Rows[0]["cate_id"].ToString();<br />
txtproduct.Text = dt.Rows[0]["ProductName"].ToString();<br />
txtproductcode.Text = dt.Rows[0]["Productcode"].ToString();<br />
txtdetail.Text = dt.Rows[0]["detail"].ToString();<br />
imgcon.Visible = true;<br />
imgcon.ImageUrl = "CreateThumbnail.aspx?image=upload/product/" + dt.Rows[0]["image"] + "&width=100";<br />
}<br />
}<br />
<br />
}<br />
}<br />
protected void btnsubmit_Click(object sender, EventArgs e)<br />
{<br />
string strimage, path;<br />
strimage = fileupload.FileName;<br />
path = Server.MapPath("upload/product/");<br />
if (!fileupload.FileName.Equals(""))<br />
{<br />
Session["image"] = strimage;<br />
}<br />
else <br />
{<br />
<br />
}<br />
<br />
if (Request.QueryString["id"] != null)<br />
{<br />
bal.ProductName = txtproduct.Text.Trim().ToString().ToUpper();<br />
bal.ProductCode = txtproductcode.Text.Trim().ToString();<br />
bal.CategoryId = int.Parse(drpcategory.SelectedValue.ToString());<br />
bal.Image = Session["image"].ToString();<br />
bal.ProductID = int.Parse(Request.QueryString["id"].ToString());<br />
bal.Detail = txtdetail.Text.ToString();<br />
dal.updateR_ProductMaster(bal);<br />
Response.Redirect("view_product.aspx");<br />
}<br />
else<br />
{<br />
<br />
bal.ProductName = txtproduct.Text.Trim().ToString().ToUpper();<br />
bal.ProductCode = txtproductcode.Text.Trim().ToString();<br />
bal.CategoryId = int.Parse(drpcategory.SelectedValue.ToString());<br />
bal.Image = Session["image"].ToString();<br />
bal.Detail = txtdetail.Text.ToString();<br />
dal.insert_ProductMaster(bal);<br />
Response.Redirect("view_product.aspx");<br />
}<br />
}<br />
protected void LinkButton1_Click(object sender, EventArgs e)<br />
{<br />
bal.ProductID = int.Parse(Request.QueryString["id"].ToString());<br />
dal.Image_remove(bal);<br />
}<br />
}</div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-58126139376991209012012-04-01T23:38:00.000-07:002012-04-01T23:49:41.742-07:00Product Catelog App class in asp.net c# -5<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
<b>Add_view_category.aspx.cs</b><br />
<br />
<b>using System;<br />using System.Collections;<br />using System.Configuration;<br />using System.Data;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Xml.Linq;<br /><br />public partial class Add_view_category : System.Web.UI.Page<br />{<br /> BALCategoryMaster bal = new BALCategoryMaster();<br /> DALCategoryMaster dal = new DALCategoryMaster();<br /> DALProductMaster prodal = new DALProductMaster();<br /><br /> protected void Page_Load(object sender, EventArgs e)<br /> {<br /> if (!IsPostBack)<br /> {<br /> if (Request.QueryString["id"] != null)<br /> {<br /> int CategoryId = int.Parse(Request.QueryString["id"].ToString());<br /> bal.CategoryId = CategoryId;<br /> DataTable dt = dal.select_CategoryMasterByCategoryId(bal);<br /> if (dt.Rows.Count != 0)<br /> {<br /> txtcategory.Text = dt.Rows[0]["CategoryName"].ToString();<br /> }<br /> }<br /> gvbind();<br /> }<br /> <br /> }<br /> public void gvbind()<br /> {<br /> DataTable dt = dal.Select_CategoryMaster();<br /> gvcategory.DataSource = dt;<br /> gvcategory.DataBind();<br /> ViewState["dtcat"] = dt;<br /> }<br /><br /><br /> protected void gvcategory_RowEditing(object sender, GridViewEditEventArgs e)<br /> {<br /> string categoryid = gvcategory.DataKeys[e.NewEditIndex].Value.ToString();<br /> Response.Redirect("Add_view_category.aspx?id=" + categoryid);<br /><br /> }<br /> protected void gvcategory_RowDeleting(object sender, GridViewDeleteEventArgs e)<br /> {<br /> int categoryid = int.Parse(gvcategory.DataKeys[e.RowIndex].Value.ToString());<br /> bal.CategoryId = categoryid;<br /> dal.delete_CategoryMaster(bal);<br /> gvbind();<br /> }<br /><br /> protected void gvcategory_PageIndexChanging(object sender, GridViewPageEventArgs e)<br /> {<br /> gvcategory.PageIndex = e.NewPageIndex;<br /> gvcategory.DataSource = (DataTable)ViewState["dtcat"];<br /> gvcategory.DataBind();<br /><br /> }<br /> protected void btnsubmit_Click(object sender, EventArgs e)<br /> {<br /> if (Request.QueryString["id"] != null)<br /> {<br /> bal.CategoryName = txtcategory.Text.Trim().ToString().ToUpper();<br /> bal.CategoryId = int.Parse(Request.QueryString["id"].ToString());<br /> dal.update_CategoryMaster(bal);<br /> Response.Redirect("Add_view_category.aspx");<br /> }<br /> else<br /> {<br /><br /> bal.CategoryName = txtcategory.Text.Trim().ToString().ToUpper();<br /> dal.insert_CategoryMaster(bal);<br /> Response.Redirect("Add_view_category.aspx");<br /><br /> }<br /> }<br /> protected void Submit_Click(object sender, EventArgs e)<br /> {<br /> string search = txtsearch.Text.ToString();<br /> DataTable dt = dal.Select_CategoryMasterSearch(search);<br /> gvcategory.DataSource = dt;<br /> gvcategory.DataBind();<br /> ViewState["dtcat"] = dt;<br /> }<br />}<br /> </b><br />
<br />
<b><span style="font-family: Verdana,sans-serif;">Add_view_category.aspx</span></b><br />
<br />
<b><span style="font-family: Verdana,sans-serif;"><%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"<br /> CodeFile="Add_view_category.aspx.cs" Inherits="Add_view_category" Title="Untitled Page" %><br /><br /><asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"><br /></asp:Content><br /><asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"><br /> <table><br /> <tr><br /> <td width="63%" align="right" valign="top"><br /> <table width="90%" border="0" align="right" cellpadding="0" cellspacing="0" style="padding: 40px 0 0 0;<br /> margin-top: 10px;"><br /> <tr><br /> <td width="90%" align="right" valign="top"><br /> <table width="90%" border="0" align="right" cellpadding="0" cellspacing="0" style="margin-bottom: 25px;"><br /> <tr><br /> <td align="left"><br /> <table width="98%" align="left" cellpadding="0" cellspacing="0" style="margin: 25px 0 0 0;"><br /> <tr><br /> <td align="left" valign="top" class="style13"><br /> CREATE CATEGORY<br /> </td><br /> <td width="198" height="35" align="right" valign="middle" class="style4"><br /> </td><br /> </tr><br /> </TBODY><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td align="left"><br /> <table width="535" border="0" align="center" cellpadding="0" cellspacing="0"><br /> <tr><br /> <td height="10"><br /> </td><br /> </tr><br /> <tr><br /> <td width="520" align="left" valign="top"><br /> <table width="90%" border="0" cellspacing="0" cellpadding="0"><br /> <tr><br /> <td width="225" align="left" valign="middle" class="fields"><br /> CATEGORY NAME:<br /> </td><br /> <td width="147" align="left" valign="middle"><br /> <asp:TextBox ID="txtcategory" runat="server" Width="147" class="fields"></asp:TextBox><br /> </td><br /> <td width="142"><br /> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtcategory"<br /> ErrorMessage="*" ValidationGroup="ok"></asp:RequiredFieldValidator><br /> </td><br /> </tr><br /> <tr><br /> <td width="225" align="left" valign="middle" class="fields"><br /> &nbsp;<br /> </td><br /> <td width="147" align="left" valign="middle"><br /> &nbsp;<br /> </td><br /> <td width="142"><br /> &nbsp;<br /> </td><br /> </tr><br /> <tr><br /> <td height="15" colspan="3" align="left" valign="middle" class="fields"><br /> &nbsp;<br /> </td><br /> </tr><br /> <tr><br /> <td colspan="3" align="center" valign="middle"><br /> <table width="82%" border="0" cellspacing="0" cellpadding="0"><br /> <tr><br /> <td align="left" valign="middle"><br /> &nbsp;<br /> </td><br /> <td width="60"><br /> <asp:Button ID="btnsubmit" runat="server" Text="Submit" OnClick="btnsubmit_Click" /><br /> </td><br /> <td align="right" valign="middle"><br /> &nbsp;<br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td height="60" colspan="3" align="left" valign="middle"><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="middle"><br /> &nbsp;<br /> </td><br /> <td><br /> &nbsp;<br /> </td><br /> <td align="left" valign="middle"><br /> <a style="border: none;" class="thickbox">&nbsp;</a><br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td><br /> <table align="center" border="0" cellpadding="0" cellspacing="0" width="535"><br /> <tr><br /> <td height="10"><br /> <asp:TextBox ID="txtsearch" runat="server"></asp:TextBox><br /> <asp:Button ID="Submit" runat="server" Text="Button" /><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="top" width="520"><br /> <table border="0" cellpadding="0" cellspacing="0" width="90%"><br /> <tr><br /> <td align="center" colspan="3" height="15" valign="middle"><br /> <h1><br /> <asp:GridView ID="gvcategory" runat="server" AllowPaging="True" AutoGenerateColumns="False"<br /> CellPadding="5" DataKeyNames="CategoryId" OnPageIndexChanging="gvcategory_PageIndexChanging"<br /> OnRowDeleting="gvcategory_RowDeleting" OnRowEditing="gvcategory_RowEditing" Width="80%"><br /> <HeaderStyle CssClass="Head" /><br /> <RowStyle CssClass="rowtext" /><br /> <Columns><br /> <asp:TemplateField HeaderText="ID" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="7%"><br /> <ItemTemplate><br /> <%#Container.DataItemIndex+1 %><br /> </ItemTemplate><br /> <ItemStyle HorizontalAlign="Center" Width="7%" /><br /> </asp:TemplateField><br /> <asp:BoundField DataField="CategoryName" HeaderText="CategoryName" ItemStyle-HorizontalAlign="Left"><br /> <ItemStyle HorizontalAlign="Left" /><br /> </asp:BoundField><br /> <asp:CommandField ControlStyle-CssClass="link" ItemStyle-HorizontalAlign="Center"<br /> ShowEditButton="True"><br /> <ControlStyle CssClass="link" /><br /> <ItemStyle HorizontalAlign="Center" /><br /> </asp:CommandField><br /> <asp:CommandField ControlStyle-CssClass="link" ItemStyle-HorizontalAlign="Center"<br /> ShowDeleteButton="True"><br /> <ControlStyle CssClass="link" /><br /> <ItemStyle HorizontalAlign="Center" /><br /> </asp:CommandField><br /> </Columns><br /> </asp:GridView><br /> </h1><br /> </td><br /> </tr><br /> <tr><br /> <td align="center" colspan="3" valign="middle"><br /> <table border="0" cellpadding="0" cellspacing="0" width="82%"><br /> <tr><br /> <td width="60"><br /> &nbsp;<br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" colspan="3" height="60" valign="middle"><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="middle"><br /> &nbsp;<br /> </td><br /> <td><br /> &nbsp;<br /> </td><br /> <td align="left" valign="middle"><br /> <br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td><br /> &nbsp;<br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="top"><br /> &nbsp;<br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> <tr><br /> <td align="left" valign="top"><br /> &nbsp;<br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> </table><br /> </td><br /> </tr><br /> </table><br /></asp:Content><br /> </span></b><br />
<br />
<br />
<br />
<br />
<br />
<br /></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-87796700487355566752012-04-01T23:35:00.003-07:002012-04-01T23:35:32.526-07:00Product Catelog App class in asp.net c# -3<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
<b> Abstract Connection Class</b><br />
<br />
using System;<br />using System.Data;<br />using System.Configuration;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Xml.Linq;<br />using System.Data.SqlClient;<br /><br />/// <summary><br />/// Summary description for Connection<br />/// </summary><br />public class Connection<br />{<br /> SqlConnection sqlcon = new SqlConnection();<br /> string sqlConnect;<br /><br /> public Connection()<br /> {<br /> sqlConnect = ConfigurationManager.ConnectionStrings["connsql"].ConnectionString;<br /> }<br /><br /> protected SqlConnection FetchConnection()<br /> {<br /> sqlcon = new SqlConnection(sqlConnect);<br /> return sqlcon;<br /><br /> }<br />}<br /></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-20272019420277635182012-04-01T23:33:00.002-07:002012-04-01T23:33:34.206-07:00Product Catelog App class in asp.net c# -2<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
<b>DALCategoryMaster.cs</b><br />
<br />
using System;<br />using System.Data;<br />using System.Collections.Generic;<br />using System.Linq;<br />using System.Web;<br />using System.Data.SqlClient;<br /><br />/// <summary><br />/// Summary description for DALCategoryMaster<br />/// </summary><br />public class DALCategoryMaster : Connection<br />{<br /><br /> SqlConnection sqlcon = new SqlConnection();<br /><br /> public DALCategoryMaster()<br /> {<br /> sqlcon = FetchConnection();<br /> }<br /> <br /> public DataTable SelectCategory()<br /> {<br /> sqlcon = FetchConnection();<br /> DataTable dt = new DataTable();<br /> string cate = "select * from tbl_category";<br /> SqlDataAdapter da = new SqlDataAdapter(cate, sqlcon);<br /> da.SelectCommand.CommandType = CommandType.Text;<br /> da.Fill(dt);<br /> return dt;<br /> }<br /> public void insert_CategoryMaster(BALCategoryMaster bal)<br /> {<br /> string insert = "insert into tbl_category (category) values (@category)";<br /> SqlCommand sqlCmd = new SqlCommand(insert, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /><br /> SqlParameter paraCategoryName = new SqlParameter("@Category", SqlDbType.VarChar);<br /> paraCategoryName.Value = bal.CategoryName;<br /> sqlCmd.Parameters.Add(paraCategoryName);<br /><br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /><br /> sqlCmd.ExecuteNonQuery();<br /> sqlcon.Close();<br /> }<br /> public DataTable Select_CategoryMaster()<br /> {<br /> string str = "select * from tbl_category order by id asc";<br /> SqlCommand sqlCmd = new SqlCommand(str, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> DataSet ds = new DataSet();<br /> SqlDataAdapter adp = new SqlDataAdapter(str, sqlcon);<br /> adp.Fill(ds);<br /> sqlcon.Close();<br /> return ds.Tables[0];<br /> }<br /> public DataTable Select_CategoryMasterSearch(string search)<br /> {<br /> string str = "select * from tbl_category where category like '%[" + search + "]%' order by id asc";<br /> SqlCommand sqlCmd = new SqlCommand(str, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> DataSet ds = new DataSet();<br /> SqlDataAdapter adp = new SqlDataAdapter(str, sqlcon);<br /> adp.Fill(ds);<br /> sqlcon.Close();<br /> return ds.Tables[0];<br /> }<br /> public void delete_CategoryMaster(BALCategoryMaster bal)<br /> {<br /> string delete = "delete from tbl_category where id=@CategoryId";<br /> SqlCommand sqlCmd = new SqlCommand(delete, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter CategoryId = new SqlParameter("@CategoryId", SqlDbType.Int);<br /> CategoryId.Value = bal.CategoryId;<br /> sqlCmd.Parameters.Add(CategoryId);<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> sqlCmd.ExecuteNonQuery();<br /> sqlcon.Close();<br /> }<br /> public void update_CategoryMaster(BALCategoryMaster bal)<br /> {<br /> string str = "update tbl_category set category=@CategoryName where id=@CategoryId";<br /> SqlCommand sqlCmd = new SqlCommand(str, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter paraCategoryName = new SqlParameter("@CategoryName", SqlDbType.VarChar);<br /> paraCategoryName.Value = bal.CategoryName;<br /> sqlCmd.Parameters.Add(paraCategoryName);<br /> SqlParameter paraCategoryId = new SqlParameter("@CategoryId", SqlDbType.Int);<br /> paraCategoryId.Value = bal.CategoryId;<br /> sqlCmd.Parameters.Add(paraCategoryId);<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> try<br /> {<br /> sqlCmd.ExecuteNonQuery();<br /> }<br /> catch (SqlException xe)<br /> {<br /><br /> }<br /> sqlcon.Close();<br /><br /> }<br /> public DataTable select_CategoryMasterByCategoryId(BALCategoryMaster bal)<br /> {<br /> string strcat = "select * from tbl_category where id=@CategoryId";<br /> SqlCommand sqlCmd = new SqlCommand(strcat, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter CategoryId = new SqlParameter("@CategoryId", SqlDbType.Int);<br /> CategoryId.Value = bal.CategoryId;<br /> sqlCmd.Parameters.Add(CategoryId);<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> DataTable dt = new DataTable();<br /> SqlDataAdapter adp = new SqlDataAdapter(sqlCmd);<br /> adp.Fill(dt);<br /> sqlcon.Close();<br /> return dt;<br /> }<br />}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<b>DALProductMaster.cs</b><br />
<br />
using System;<br />using System.Data;<br />using System.Configuration;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Xml.Linq;<br />using System.Data.SqlClient;<br />/// <summary><br />/// Summary description for DALProductMaster<br />/// </summary><br />public class DALProductMaster : Connection<br />{<br /> SqlConnection sqlcon = new SqlConnection();<br /><br /> public DALProductMaster()<br /> {<br /> sqlcon = FetchConnection();<br /> }<br /><br /> public void insert_ProductMaster(BALProductMaster bal)<br /> {<br /> string insert = "insert into tbl_product (productname,productcode,cat_id,image,detail) values (@productname,@productcode,@cat_id,@image,@detail)";<br /> SqlCommand sqlCmd = new SqlCommand(insert, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter paraCategoryName = new SqlParameter("@productname", SqlDbType.VarChar);<br /> paraCategoryName.Value = bal.ProductName;<br /> sqlCmd.Parameters.Add(paraCategoryName);<br /><br /> SqlParameter paraCategorycode = new SqlParameter("@productcode", SqlDbType.VarChar);<br /> paraCategorycode.Value = bal.ProductCode;<br /> sqlCmd.Parameters.Add(paraCategorycode);<br /><br /> SqlParameter cat_id = new SqlParameter("@cat_id", SqlDbType.Int);<br /> cat_id.Value = bal.CategoryId;<br /> sqlCmd.Parameters.Add(cat_id);<br /><br /> SqlParameter image = new SqlParameter("@image", SqlDbType.VarChar);<br /> image.Value = bal.Image;<br /> sqlCmd.Parameters.Add(image);<br /><br /> SqlParameter detail = new SqlParameter("@detail", SqlDbType.VarChar);<br /> detail.Value = bal.Detail;<br /> sqlCmd.Parameters.Add(detail);<br /><br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /><br /> sqlCmd.ExecuteNonQuery();<br /> sqlcon.Close();<br /> }<br /> public DataTable Select_ProductMaster()<br /> {<br /> string str = "select * from tbl_product order by id desc";<br /> SqlCommand sqlCmd = new SqlCommand(str, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> DataSet ds = new DataSet();<br /> SqlDataAdapter adp = new SqlDataAdapter(str, sqlcon);<br /> adp.Fill(ds);<br /> sqlcon.Close();<br /> return ds.Tables[0];<br /> }<br /><br /> public void delete_ProductMaster(BALProductMaster bal)<br /> {<br /> string delete = "delete from tbl_Product where id=@ProductID";<br /> SqlCommand sqlCmd = new SqlCommand(delete, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter ProductID = new SqlParameter("@ProductID", SqlDbType.Int);<br /> ProductID.Value = bal.ProductID;<br /> sqlCmd.Parameters.Add(ProductID);<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> sqlCmd.ExecuteNonQuery();<br /> sqlcon.Close();<br /> }<br /><br /> public void updateR_ProductMaster(BALProductMaster bal)<br /> {<br /> string str = "update tbl_product set productname=@productname,productcode=@productcode,cat_id=@cat_id,image=@image,detail=@detail where id=@ProductID";<br /> SqlCommand sqlCmd = new SqlCommand(str, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /><br /> SqlParameter productid = new SqlParameter("@ProductID", SqlDbType.Int);<br /> productid.Value = bal.ProductID;<br /> sqlCmd.Parameters.Add(productid);<br /><br /> SqlParameter paraCategoryName = new SqlParameter("@productname", SqlDbType.VarChar);<br /> paraCategoryName.Value = bal.ProductName;<br /> sqlCmd.Parameters.Add(paraCategoryName);<br /><br /> SqlParameter paraCategorycode = new SqlParameter("@productcode", SqlDbType.VarChar);<br /> paraCategorycode.Value = bal.ProductCode;<br /> sqlCmd.Parameters.Add(paraCategorycode);<br /><br /> SqlParameter cat_id = new SqlParameter("@cat_id", SqlDbType.Int);<br /> cat_id.Value = bal.CategoryId;<br /> sqlCmd.Parameters.Add(cat_id);<br /><br /><br /> SqlParameter image = new SqlParameter("@image", SqlDbType.VarChar);<br /> image.Value = bal.Image;<br /> sqlCmd.Parameters.Add(image);<br /><br /> SqlParameter detail = new SqlParameter("@detail", SqlDbType.VarChar);<br /> detail.Value = bal.Detail;<br /> sqlCmd.Parameters.Add(detail);<br /><br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> try<br /> {<br /> sqlCmd.ExecuteNonQuery();<br /> }<br /> catch (SqlException ex)<br /> {<br /><br /> }<br /> sqlcon.Close();<br /><br /> }<br /><br /> public DataTable select_ProductMasterByProductId(BALProductMaster bal)<br /> {<br /> string strcat = "select * from tbl_product where id=@ProductId";<br /> SqlCommand sqlCmd = new SqlCommand(strcat, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter CategoryId = new SqlParameter("@ProductId", SqlDbType.Int);<br /> CategoryId.Value = bal.ProductID;<br /> sqlCmd.Parameters.Add(CategoryId);<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> DataTable dt = new DataTable();<br /> SqlDataAdapter adp = new SqlDataAdapter(sqlCmd);<br /> adp.Fill(dt);<br /> sqlcon.Close();<br /> return dt;<br /><br /> }<br /> public void Image_remove(BALProductMaster bal)<br /> {<br /> string updateimage = "update tbl_product set image=@image where id=@productid";<br /> SqlCommand sqlCmd = new SqlCommand(updateimage, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter ProductID = new SqlParameter("@productid", SqlDbType.VarChar);<br /> ProductID.Value = bal.ProductID;<br /> sqlCmd.Parameters.Add(ProductID);<br /><br /> SqlParameter image = new SqlParameter("@image", SqlDbType.VarChar);<br /> image.Value = "";<br /> sqlCmd.Parameters.Add(image);<br /><br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> sqlCmd.ExecuteNonQuery();<br /> sqlcon.Close();<br /> }<br /> public DataTable Select_ProductMasterSearch(string search)<br /> {<br /> string str = "select * from tbl_product where productname like '%[" + search + "]%' order by id asc";<br /> SqlCommand sqlCmd = new SqlCommand(str, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> DataSet ds = new DataSet();<br /> SqlDataAdapter adp = new SqlDataAdapter(str, sqlcon);<br /> adp.Fill(ds);<br /> sqlcon.Close();<br /> return ds.Tables[0];<br /> }<br /> public DataTable selectR_ProductMasterByCategoryId(BALCategoryMaster bal)<br /> {<br /> string strcat = "select * from tbl_product where cate_id=@CategoryID";<br /> SqlCommand sqlCmd = new SqlCommand(strcat, sqlcon);<br /> sqlCmd.CommandType = CommandType.Text;<br /> SqlParameter CategoryId = new SqlParameter("@CategoryID", SqlDbType.Int);<br /> CategoryId.Value = bal.CategoryId;<br /> sqlCmd.Parameters.Add(CategoryId);<br /> if (sqlcon.State == ConnectionState.Closed)<br /> {<br /> sqlcon.Open();<br /> }<br /> DataTable dt = new DataTable();<br /> SqlDataAdapter adp = new SqlDataAdapter(sqlCmd);<br /> adp.Fill(dt);<br /> sqlcon.Close();<br /> return dt;<br /><br /> }<br /><br />}<br /><br /> </div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-86990925558709921382012-04-01T23:31:00.004-07:002012-04-01T23:31:48.512-07:00Product Catelog App class in asp.net c# -1<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
<b>BALCategoryMaster.cs</b><br />
<br />
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Data;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Configuration;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Linq;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Web;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Web.Security;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Web.UI;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Web.UI.HtmlControls;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Web.UI.WebControls;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Web.UI.WebControls.WebParts;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System.Xml.Linq;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>/// <summary></b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>/// Summary description for BALCategoryMaster</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>/// </summary></b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>public class BALCategoryMaster</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>{</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> private int _CategoryId;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> public int CategoryId</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> {</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> get { return _CategoryId; }</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> set { _CategoryId = value; }</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> }</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> private string _CategoryName;</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> public string CategoryName</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> {</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> get { return _CategoryName; }</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> set { _CategoryName = value; }</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b> }</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>}</b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<br /></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
BALProductMaster.cs <b></b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b><br /></b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b><br /></b></div>
<div style="font-family: "Courier New",Courier,monospace; text-align: left;">
<b>using System;<br />using System.Data;<br />using System.Configuration;<br />using System.Linq;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.HtmlControls;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Xml.Linq;<br /><br />/// <summary><br />/// Summary description for BALProductMaster<br />/// </summary><br />public class BALProductMaster<br />{<br /> public BALProductMaster()<br /> {<br /> //<br /> // TODO: Add constructor logic here<br /> //<br /> }<br /> private string _ProductName;<br /> public string ProductName<br /> {<br /> get { return _ProductName; }<br /> set { _ProductName = value; }<br /> }<br /> private int _ProductID;<br /> public int ProductID<br /> {<br /> get { return _ProductID; }<br /> set { _ProductID = value; }<br /> }<br /><br /> private string _ProductCode;<br /> public string ProductCode <br /> {<br /> get { return _ProductCode; }<br /> set { _ProductCode = value; }<br /> }<br /> private int _CategoryId;<br /> public int CategoryId<br /> {<br /> get { return _CategoryId; }<br /> set { _CategoryId = value; }<br /> }<br /> private string _Image;<br /> public string Image<br /> {<br /> get { return _Image; }<br /> set { _Image = value; }<br /> }<br /> private string _Detail;<br /> public string Detail<br /> {<br /> get { return _Detail; }<br /> set { _Detail = value; }<br /> } <br />}<br /></b></div>
<div style="font-family: "Courier New",Courier,monospace;">
<br /></div>
<br />
</div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-40340554316822209072012-04-01T23:26:00.001-07:002012-04-01T23:26:48.025-07:00Dropbox API For asp.net c#<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">static public class FileUtils<br /> {<br /> public enum FolderMode<br /> {<br /> /// <summary><br /> /// Operate on sub-folders recursively<br /> /// </summary><br /> Recursive,<br /><br /> /// <summary><br /> /// Operate on just the specified folder<br /> /// </summary><br /> NonRecursive,<br /> }<br /><br /> public enum CopyFileMode<br /> {<br /> /// <summary><br /> /// Replace all existing files<br /> /// </summary><br /> Replace,<br /><br /> /// <summary><br /> /// Replace existing files if the file write date is newer<br /> /// </summary><br /> ReplaceIfNewer,<br /><br /> /// <summary><br /> /// Do not replace existing files<br /> /// </summary><br /> SkipIfExists<br /> }<br /><br /> /// <summary><br /> /// Copy a folder to another folder with optional recursive behavior.<br /> /// </summary><br /> static public void CopyFolder(string source, string dest, FolderMode mode, CopyFileMode fileMode)<br /> {<br /> DirectoryInfo sourceDI = new DirectoryInfo(source);<br /> DirectoryInfo destDI = new DirectoryInfo(dest);<br /><br /> CopyFolder(sourceDI, destDI, mode, fileMode);<br /> }<br /><br /> /// <summary><br /> /// Create a folder if it does not exist<br /> /// </summary><br /> static public void CreateFolderIfDoesNotExist(string path)<br /> {<br /> DirectoryInfo di = new DirectoryInfo(Path.GetDirectoryName(path));<br /> if (!di.Exists)<br /> {<br /> di.Create();<br /> }<br /> }<br /><br /> /// <summary><br /> /// Moves a folder to another location. If the folders are on different volumes,<br /> /// the source folder will be copied to the destination folder then deleted.<br /> /// </summary><br /> static public void MoveFolder(string source, string dest)<br /> {<br /> MoveFolder(new DirectoryInfo(source), new DirectoryInfo(dest));<br /> }<br /><br /> /// <summary><br /> /// Moves a folder to another location. If the folders are on different volumes,<br /> /// the source folder will be copied to the destination folder then deleted.<br /> /// </summary><br /> static public void MoveFolder(DirectoryInfo source, DirectoryInfo dest)<br /> {<br /> if (source.Root == dest.Root)<br /> {<br /> source.MoveTo(dest.FullName);<br /> }<br /> else<br /> {<br /> dest.Create();<br /> CopyFolder(source, dest, FolderMode.Recursive, CopyFileMode.Replace);<br /> DeleteFolder(source.FullName);<br /> }<br /> }<br /><br /> /// <summary><br /> /// Copy a folder to another folder with optional recursive behavior.<br /> /// </summary><br /> static public void CopyFolder(DirectoryInfo sourceInfo, DirectoryInfo destInfo, FolderMode mode, CopyFileMode fileMode)<br /> {<br /> if (!destInfo.Exists)<br /> {<br /> destInfo.Create();<br /> }<br /><br /> foreach (FileInfo fi in sourceInfo.GetFiles())<br /> {<br /> CopyFile(fi, destInfo, fileMode);<br /> }<br /><br /> if (mode == FolderMode.Recursive)<br /> {<br /> foreach (DirectoryInfo di in sourceInfo.GetDirectories())<br /> {<br /> DirectoryInfo childDestDir = new DirectoryInfo(destInfo.FullName + "\\" + di.Name);<br /> CopyFolder(di, childDestDir, mode, fileMode);<br /> }<br /> }<br /> }<br /><br /> /// <summary><br /> /// Copy a list of specified files.<br /> /// </summary><br /> static public void CopyFiles(string sourceDir, string destDir, List<string> relativeFiles, CopyFileMode fileMode)<br /> {<br /> foreach (string file in relativeFiles)<br /> {<br /> FileInfo sourceInfo = new FileInfo(sourceDir + "\\" + file);<br /> DirectoryInfo destInfo = new DirectoryInfo(Path.GetDirectoryName(destDir + "\\" + file));<br /><br /> CopyFile(sourceInfo, destInfo, fileMode);<br /> }<br /> }<br /><br /> /// <summary><br /> /// Copy a specified file.<br /> /// </summary><br /> /// <param name="source">Source file or directory</param><br /> /// <param name="dest">Destination file or directory</param><br /> static public void CopyFile(string source, string dest, CopyFileMode mode)<br /> {<br /> FileInfo sourceInfo = new FileInfo(source);<br /> if (!sourceInfo.Exists)<br /> {<br /> return;<br /> }<br /><br /> DirectoryInfo destInfo = new DirectoryInfo(dest);<br /><br /> CopyFile(sourceInfo, destInfo, mode);<br /> }<br /><br /> /// <summary><br /> /// Copy a specified file.<br /> /// </summary><br /> /// <param name="sourceInfo">Source file to copy.</param><br /> /// <param name="destInfo">Destination directory.</param><br /> static public void CopyFile(System.IO.FileInfo sourceInfo, System.IO.DirectoryInfo destInfo, CopyFileMode mode)<br /> {<br /> System.Diagnostics.Debug.Assert(sourceInfo.Exists == true, "Source file does not exist!");<br /><br /> // Avoid a missing folder exception<br /> if (!destInfo.Exists)<br /> {<br /> destInfo.Create();<br /> }<br /><br /> // Avoid copying over a read only file exception<br /> FileInfo destPathInfo = new FileInfo(destInfo.FullName + "\\" + sourceInfo.Name);<br /><br /> if (destPathInfo.Exists)<br /> {<br /> if (mode == CopyFileMode.Replace ||<br /> (mode == CopyFileMode.ReplaceIfNewer && destPathInfo.LastWriteTime < sourceInfo.LastWriteTime))<br /> {<br /> destPathInfo.IsReadOnly = false;<br /> destPathInfo.Delete();<br /> }<br /> else // SkipIfExists or ReplaceIfNewer fails<br /> {<br /> return;<br /> }<br /> }<br /><br /> // Perform the actual copy<br /> sourceInfo.CopyTo(destPathInfo.FullName, true);<br /> }<br /><br /> /// <summary><br /> /// Make the specified file read/writable<br /> /// </summary><br /> static public void MakeFileWritable(System.IO.FileInfo fileInfo)<br /> {<br /> if (fileInfo.Exists)<br /> {<br /> fileInfo.IsReadOnly = false;<br /> }<br /> }<br /><br /> /// <summary><br /> /// Make the specified file read/writable<br /> /// </summary><br /> static public void MakeFolderContentsWritable(System.IO.DirectoryInfo dirInfo, FolderMode mode)<br /> {<br /> foreach (FileInfo fi in dirInfo.GetFiles())<br /> {<br /> MakeFileWritable(fi);<br /> }<br /><br /> if (mode == FolderMode.Recursive)<br /> {<br /> foreach (DirectoryInfo di in dirInfo.GetDirectories())<br /> {<br /> DirectoryInfo childDestDir = new DirectoryInfo(dirInfo.FullName + "\\" + di.Name);<br /> MakeFolderContentsWritable(childDestDir, mode);<br /> }<br /> }<br /> }<br /><br /> /// <summary><br /> /// Delete the specified folder (and any sub-folders/files)<br /> /// </summary><br /> static public void DeleteFolder(string dir)<br /> {<br /> DeleteFolder(new DirectoryInfo(dir));<br /> }<br /><br /> /// <summary><br /> /// Delete the specified folder (and any sub-folders/files)<br /> /// </summary><br /> static public void DeleteFolder(DirectoryInfo dirInfo)<br /> {<br /> if (dirInfo.Exists)<br /> {<br /> MakeFolderContentsWritable(dirInfo, FolderMode.Recursive);<br /> dirInfo.Delete(true);<br /> }<br /> }<br /><br /> /// <summary><br /> /// Given a directory select a random file from it.<br /> /// </summary><br /> static public string SelectRandomFileFromFolder(string folderName)<br /> {<br /> DirectoryInfo di = new DirectoryInfo(folderName);<br /><br /> if (di.Exists)<br /> {<br /> FileInfo[] files = di.GetFiles();<br /> if (files.Length > 0)<br /> {<br /> Random randGenerator = new Random();<br /> int index = randGenerator.Next(0, files.Length - 1);<br /> return files[index].FullName;<br /> }<br /> }<br /><br /> return null;<br /> }<br /> <br /> /// <summary><br /> /// Computes the MD5 checksum for a single file.<br /> /// </summary><br /> public static string ComputeMD5ForFile(string file)<br /> {<br /> FileInfo finfo = new FileInfo(file);<br /> BinaryReader br = new BinaryReader(finfo.OpenRead());<br /> byte[] fileBytes = br.ReadBytes((int)finfo.Length);<br /> br.Close();<br /><br /> MD5 hasher = MD5.Create();<br /> byte[] hash = hasher.ComputeHash(fileBytes);<br /><br /> StringBuilder hashString = new StringBuilder();<br /> foreach (byte b in hash)<br /> {<br /> hashString.Append(b.ToString("x2"));<br /> }<br /> return hashString.ToString();<br /> }<br /> } </span></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-60438339153243028972012-02-04T00:01:00.000-08:002012-02-04T00:01:01.533-08:00Paypal IPN in PHP<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
// PHP 4.1<br /><br />// read the post from PayPal system and add 'cmd'<br />$req = 'cmd=_notify-validate';<br /><br />foreach ($_POST as $key => $value) {<br />$value = urlencode(stripslashes($value));<br />$req .= "&$key=$value";<br />}<br /><br />// post back to PayPal system to validate<br />$header .= "POST /cgi-bin/webscr HTTP/1.0\r\n";<br />$header .= "Content-Type: application/x-www-form-urlencoded\r\n";<br />$header .= "Content-Length: " . strlen($req) . "\r\n\r\n";<br />$fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errstr, 30);<br /><br />// assign posted variables to local variables<br />$item_name = $_POST['item_name'];<br />$item_number = $_POST['item_number'];<br />$payment_status = $_POST['payment_status'];<br />$payment_amount = $_POST['mc_gross'];<br />$payment_currency = $_POST['mc_currency'];<br />$txn_id = $_POST['txn_id'];<br />$receiver_email = $_POST['receiver_email'];<br />$payer_email = $_POST['payer_email'];<br /><br />if (!$fp) {<br />// HTTP ERROR<br />} else {<br />fputs ($fp, $header . $req);<br />while (!feof($fp)) {<br />$res = fgets ($fp, 1024);<br />if (strcmp ($res, "VERIFIED") == 0) {<br />// check the payment_status is Completed<br />// check that txn_id has not been previously processed<br />// check that receiver_email is your Primary PayPal email<br />// check that payment_amount/payment_currency are correct<br />// process payment<br />}<br />else if (strcmp ($res, "INVALID") == 0) {<br />// log for manual investigation<br />}<br />}<br />fclose ($fp);<br />}<br />?><br /></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-4882130439653162082012-02-04T00:00:00.001-08:002012-02-04T00:00:15.087-08:00Paypal IPN in asp.net VB<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">' ASP.NET VB<br /><br />Imports System.Net<br />Imports System.IO<br /><br />Partial Class vbIPNexample<br />Inherits System.Web.UI.Page<br /><br />Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />'Post back to either sandbox or live<br />Dim strSandbox As String = "https://www.sandbox.paypal.com/cgi-bin/webscr"<br />Dim strLive As String = "https://www.paypal.com/cgi-bin/webscr"<br />Dim req As HttpWebRequest = CType(WebRequest.Create(strSandbox), HttpWebRequest)<br /><br />'Set values for the request back<br />req.Method = "POST"<br />req.ContentType = "application/x-www-form-urlencoded"<br />Dim Param() As Byte = Request.BinaryRead(HttpContext.Current.Request.ContentLength)<br />Dim strRequest As String = Encoding.ASCII.GetString(Param)<br />strRequest = strRequest + "&cmd=_notify-validate"<br />req.ContentLength = strRequest.Length<br /><br />'for proxy<br />'Dim proxy As New WebProxy(New System.Uri("http://url:port#"))<br />'req.Proxy = proxy<br /><br />'Send the request to PayPal and get the response<br />Dim streamOut As StreamWriter = New StreamWriter(req.GetRequestStream(), Encoding.ASCII)<br />streamOut.Write(strRequest)<br />streamOut.Close()<br />Dim streamIn As StreamReader = New StreamReader(req.GetResponse().GetResponseStream())<br />Dim strResponse As String = streamIn.ReadToEnd()<br />streamIn.Close()<br /><br />If strResponse = "VERIFIED" Then<br />'check the payment_status is Completed<br />'check that txn_id has not been previously processed<br />'check that receiver_email is your Primary PayPal email<br />'check that payment_amount/payment_currency are correct<br />'process payment<br />ElseIf strResponse = "INVALID" Then<br />'log for manual investigation<br />Else<br />'Response wasn't VERIFIED or INVALID, log for manual investigation<br />End If<br />End Sub<br />End Class<br /><br />
</span></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-18430568490426047862012-02-03T23:55:00.001-08:002012-02-03T23:55:32.573-08:00Paypal IPN in asp.net c#<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="fullpost">
</span><br />
// ASP .NET C#<br /><br />using System;<br />using System.IO;<br />using System.Text;<br />using System.Net;<br />using System.Web;<br /><br />public partial class csIPNexample : System.Web.UI.Page<br />{<br />protected void Page_Load(object sender, EventArgs e)<br />{<br />//Post back to either sandbox or live<br />string strSandbox = "https://www.sandbox.paypal.com/cgi-bin/webscr";<br />string strLive = "https://www.paypal.com/cgi-bin/webscr";<br />HttpWebRequest req = (HttpWebRequest)WebRequest.Create(strSandbox);<br /><br />//Set values for the request back<br />req.Method = "POST";<br />req.ContentType = "application/x-www-form-urlencoded";<br />byte[] param = Request.BinaryRead(HttpContext.Current.Request.ContentLength);<br />string strRequest = Encoding.ASCII.GetString(param);<br />strRequest += "&cmd=_notify-validate";<br />req.ContentLength = strRequest.Length;<br /><br />//for proxy<br />//WebProxy proxy = new WebProxy(new Uri("http://url:port#"));<br />//req.Proxy = proxy;<br /><br />//Send the request to PayPal and get the response<br />StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), System.Text.Encoding.ASCII);<br />streamOut.Write(strRequest);<br />streamOut.Close();<br />StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());<br />string strResponse = streamIn.ReadToEnd();<br />streamIn.Close();<br /><br />if (strResponse == "VERIFIED")<br />{<br />//check the payment_status is Completed<br />//check that txn_id has not been previously processed<br />//check that receiver_email is your Primary PayPal email<br />//check that payment_amount/payment_currency are correct<br />//process payment<br />}<br />else if (strResponse == "INVALID")<br />{<br />//log for manual investigation<br />}<br />else<br />{<br />//log response/ipn data for manual investigation<br />}<br />}<br />}<br /></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-12867555271851849372012-02-03T23:33:00.000-08:002012-02-03T23:33:08.906-08:00ASP.NET AJAX UpdateProgress Control<div dir="ltr" style="text-align: left;" trbidi="on">
<b>In head Section</b><br />
<br />
<script language="javascript" type="text/javascript"> <br />
<br /> var prm = Sys.WebForms.PageRequestManager.getInstance(); <br />
prm.add_initializeRequest(InitializeRequest); <br />
prm.add_endRequest(EndRequest); <br />
var postBackElement; <br />
function InitializeRequest(sender, args) <br />
{ <br />
<br />
if (prm.get_isInAsyncPostBack()) <br />
args.set_cancel(true); <br />
postBackElement = args.get_postBackElement(); <br />
if (postBackElement.id == 'Button1') <br />
$get('UpdateProgress1').style.display = 'block'; <br />
} <br />
<br />
function EndRequest(sender, args) <br />
{ <br />
if (postBackElement.id == 'Button1') <br />
$get('UpdateProgress1').style.display = 'none'; <br />
} <br /><br />
</script> <br />
<br />
<b> In Body Section</b><br />
<br />
<body><br /> <form id="form1" runat="server"><br /> <div><br /> &nbsp;<br /> </div><br /> <asp:UpdatePanel ID="UpdatePanel1" runat="server"><br /> <ContentTemplate><br /> <asp:Label ID="Label1" runat="server" Width="145px"></asp:Label><br /> </ContentTemplate><br /> <Triggers> <br /> <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click"/><br /> </Triggers><br /> </asp:UpdatePanel><br /> <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="0" AssociatedUpdatePanelID="UpdatePanel1"><br /> <ProgressTemplate><br /> <script type="text/javascript">document.write("<div class='UpdateProgressBackground'></div>");</script><br /> <center><div class="UpdateProgressContent">Loading...</div></center><br /> </ProgressTemplate><br /> </asp:UpdateProgress><br /><br /> <br /><br /> <br /><br /> <br /><br /> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" /><br /> </form><br /></body></div>Hitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.comtag:blogger.com,1999:blog-2810295662810614595.post-48428145101912811742012-01-06T09:09:00.000-08:002012-01-06T09:10:10.527-08:00School Managment SystemThis project is based on “School Management System” is an outcome of practical work at XYZ Khan School. One can get considerable satisfaction when and when only some positive efforts are translated into some concrete things. It is relay a very pleasant task of acknowledgement the help we received while developing this website.<br />
<br />
At last we thanks to all who supported us for making this project.<br />
<br />
Project Profile<br />
<br />
<br />
Project Title : School Management <br />
System Developed For : XYZ School. Siddhpur.<br />
Project Guide : Prof. Ritu Chaudhari <br />
Prof. Viral Sir <br />
<br />
<br />
<br />
<br />
Team Member : 2<br />
Front End : Microsoft Visual Studio 2008 <br />
Back End : MS SQL Server<br />
Web Server : IIS (Internet Information Service) <br />
Platform : Windows XP,<br />
Documentation Tools : Microsoft Office 2003. <br />
<br />
<br />
Project Definition<br />
<br />
This website is based on “School Management System”. In this project, administrator can see the different reports like text reports and different kind of graph reports like Pie Chart, Bar Chart. Administrator can also getsee these reports with total calls with percentage of row wise and column wise.<br />
<br />
For Get this Project Please Contact hitendra.softwareengg@gmail.comHitendrahttp://www.blogger.com/profile/12717489403672093033noreply@blogger.com