//
archives

Archive for

AjaxControlToolkit with ASP.NET

The Ajax Control Toolkit contains a rich set of controls that you can use to build highly responsive and interactive Ajax-enabled ASP.NET Web Forms applications. Follow the steps below to download and start using the Ajax Control Toolkit with Visual Studio: Download the Ajax Control Toolkit The first step is to download the Ajax Control … Continue reading

Simple Ajax in ASP.NET

1. Create New Web Project > Using ASP.NET Ajax-Enable WebSite if did’t using this choice, asp.net will getting error ‘System.Web.UI.ScriptManager’ is not defined 2. Add Reference for AjaxControls.dll and AjaxControlToolkit.dll 3. HTML page : <%@ Page Language=”VB” AutoEventWireup=”false” CodeFile=”simplecb.aspx.vb” Inherits=”simplecb” %> <%@ Register Assembly=”AjaxControls” Namespace=”AjaxControls” TagPrefix=”cc2″ %> <%@ Register Assembly=”AjaxControlToolkit” Namespace=”AjaxControlToolkit” TagPrefix=”cc1″ %> <!DOCTYPE html PUBLIC … Continue reading

ASP.NET upload file

ASP.NET design script / HTML Script : <table>  <tr> <td valign=”top” style=”height: 18px”>Sample Format Customer</td><td style=”width: 254px; height: 18px;”> <a runat=”server” id=”insert_update” href=”../upload/sample/sample_import_customer.xls”><font color=”blue”>Sample Import Customer.xls</font></a> </td> </tr> <tr> <td>Upload File</td><td style=”width: 254px”><asp:FileUpload ID=”fileUpEx” name=”fileUpEx” runat=”server” /> <span style=”color: #ff0000″>*</span> </td> </tr>  <tr> <td></td><td style=”width: 254px”> <asp:button ID=”btnSubmit” runat=”server” Text=”Upload” /> </td> </tr> </table> ASP.NET … Continue reading

ASP.NET IIS 7 Error : Microsoft.Jet.OleDb.4.0 provider is not registered on the local machine

string connectionString = @”Provider=Microsoft.Jet.    OleDb.4.0;Data Source=UploadSalesDataXLS.xls;Extended    Properties=””Excel 8.0;HDR=YES;”””;            OleDbDataAdapter myCommand = new OleDbDataAdapter(“SELECT * FROM [Sheet1$]”, connectionString);                      DataSet myDataSet = new DataSet();                     myCommand.Fill(myDataSet, “ExcelInfo”);                … Continue reading

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 10 other subscribers
December 2011
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  

Archives

Web Statistic

Blog Stats

  • 187,132 hits