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
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 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
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