Skip to main content

Posts

MySQL or SQL Server: Look beyond politics and hype when deciding which to use

MySQL may be free, but what if money isn't the only determining factor? Find out how these two database heavyweights stack up against each other and how to decide which one to use as your database system. Two of the most popular back-end data stores Web developers work with today are MySQL and SQL Server . They are fundamentally similar in that both are data storage and retrieval systems. You can use SQL to retrieve data with either because both claim support for ANSI-SQL. Both database systems support primary keys and key indices, so you can also create indices used simply to speed up queries and for constraining input. Further, both provide some form of XML support. Aside from the obvious difference of price, what distinguishes these two products from each other, and how do you choose between them? Let's take a look at the core differences between these two products, including licensing costs, perf...

How to export any gridview to excel, doc, pdf, csv

Hello friend here you can find the example how to export any gridview to excel, doc, pdf, csv <%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSharp.aspx.cs"   Inherits="CSharp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server">     <title>GridView Export</title> </head> <body>     <form id="form1" runat="server">     <div> <asp:GridView ID="GridView1" runat="server"          AutoGenerateColumns = "false" Font-Names = "Arial"          Font-Size = "11pt" AlternatingRowStyle-BackColor = "#C2D69B"           HeaderStyle-BackColor = "green" AllowPaging ="true"            OnPageIndexChang...

Facebook Share button/ comment box integration for your website

Hii friends here you can find the simple way to integrate the facebook comment box in your website Please check the following link and video for the same; https://developers.facebook.com/docs/reference/plugins/comments/ Video tutorial:

Integrating and Customizing of Google Maps Api

Hii Friends here you find some good example of Integrating and Customizing Google Maps Please check the following Video for the same

FreeTextBox ....... The most popular free ASP.NET WYSIWYG rich HTML editor

FreeTextBox The most popular free ASP.NET WYSIWYG rich HTML editor FreeTextBox HTML Editor The most-used free ASP.NET WYSIWYG HTML editor featured in open source and commerical projects. Just drop FreeTextbox.dll in your /bin/  folder, change  <asp:Textbox />  to  <FTB:FreeTextbox /> , and you're done. Browser Support Internet Explorer 6,7,8,9 Firefox 1,2,3 Google Chrome 1,2,3,4,5 Apple Safari 3,4,5 Opera 7,8,9,10 Downgrades for others (including iPad and iPhone) ASP.NET Features ASP.NET 1.1, 2.0, 3.5, and 4.0 Single dll distribution Drag and drop, works everywhere New Version: 3.3 ASP.NET 4.0 native dll Updated CSS for more settings Please check the following link for get more details :  http://www.freetextbox.com/ To  Download : http://www.freetextbox.com/download/ or  https://docs.google.com/file/d/0B45Hpp8-i2BcX2RvSktzMEw5WlE/edit?usp=sharing go to file...

Checkbox inside GridView like Gmail

Checkbox inside GridView like Gmail Even Users want to Check all of the Gridview CheckBox Column for some desired task like Delete, Select Records in GridView. In this Article I am going to describe CheckBox inside Gridview and functionality to check all checkbox in Gridview like Gmail. I am using JavaScript to Check/UnCheck all CheckBox in GridView. I am using a sample example of Employee Record in Grid to delete the records. There is a table Employee which I have used in the sample code. Create Table Employee ( Emp_ID int identity (1,1), Emp_Name varchar (50), Salary money ) ASPX CODE <script type= "text/javascript" > function SelectAllCheckboxes(chk) { if (chk.type== "checkbox" ) var a=chk; State=a.checked; elm=a.form.elements; for (i=0;i<elm.length;i++) if (elm[i].type== "checkbox" ) { if (elm[i].checked!=State) elm[i].click(); else if (elm[i...

select multiple rows with checkboxes like GMAIL Example 1

Are you looking for shift-select multiple checkboxes like GMail? solution: This thing can be done by jquery. see the following example <html> <head> </head> <body> <input type="checkbox" id="id_chk1" class="chkbox" value="1" />Check 1<br/> <input type="checkbox" id="id_chk2" class="chkbox" value="2" />Check 2<br/> <input type="checkbox" id="id_chk3" class="chkbox" value="3" />Check 3<br/> <input type="checkbox" id="id_chk4" class="chkbox" value="4" />Check 4<br/> <input type="checkbox" id="id_chk5" class="chkbox" value="5" />Check 5<br/> <input type="checkbox" id="id_chk6" class="chkbox" value="6" />Check 6<br/> ...

(Solved) Failure sending mail in Godaddy Server

(Solved) Failure sending mail in Godaddy Server I know that this is an old thread.  At the same time, I worked on this problem for two weeks.  I wish that I had the final answer a couple of weeks ago! If you have shared hosting at GoDaddy.com, you need to use these credentials WHILE your are developing your application: In the namespaces you have to add using System.Net.Mail; or if you are not using any .cs file the you can insert namespace as <% @ Import Namespace ="System.Net.Mail" %> //for mail(from,to,subject,message) MailMessage msg = new MailMessage("frommailid@yourdomain.com", " tomailid@yourdomain.com ", "hello" , "your message"); SmtpClient smtp = new SmtpClient (); smtp . Host = "smtpout.secureserver.net" ; // Only works locally (development time) smtp . EnableSsl = false ; smtp . UseDefaultCredentials = false ; smtp . Credentials = new System . Net . NetworkCredential ( "...