Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

Jack Li

@Jack Li
About
Posts
38
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Don’t Export Persian fields finely from ASP.NET to Excel (VS2010 – C#)
    J Jack Li

    if you want export fine,you used row[m][n],each other cell, you'll format fields to excel.

    ASP.NET csharp question css asp-net

  • Limit size of pictures for upload in my web site (VS2010 – C#)
    J Jack Li

    suggest used JS, U'll know the file size befor U loadup.

    ASP.NET question csharp

  • Error When use of crystal report (sap crystal 13) and .netframework 4 in my application(c#-VS2010)
    J Jack Li

    modify web.config file,about crystal report configure, .net frameword3.5 and 4.0 import file don't one

    ASP.NET csharp dotnet help

  • web site development
    J Jack Li

    u'll download a opencode website,modify little code,

    ASP.NET

  • Upload file without using file upload control
    J Jack Li

    u used

    OpenFileDialog

    ,you select file,but u don't loadup the file,you'll used file class, filecopy to you setting path.

    InitialDirectory = @"c:\";

    ASP.NET csharp question

  • My Dropdown List not inserting selected value into database.
    J Jack Li

    protected void Page_Load(object sender, EventArgs e)
    {
    if (!IsPostBack)
    {
    u code
    }
    }

    ASP.NET database help

  • CS0103: The name 'greencom' does not exist in the current context
    J Jack Li

    "insert into Network (States,LGA,Glo,MTN,Airtel,Etisalat,Multilinks,Starcomms,Visafone,Zoom_mobile,Remarks)values this sql not't greencom filed, eg:: sqlds1.InsertCommandType = SqlDataSourceCommandType.Text; sqlds1.InsertCommand = "insert into Network (States,LGA,Glo,MTN,Airtel,Etisalat,Multilinks,Starcomms,Visafone,greencom,Zoom_mobile,Remarks)values(@countryList,@stateList,@greencom,@mtngsm,@airtel,@etisalat,@multilinks,@starcomms,@visafone,@zoomm,@remarks)"; sqlds1.InsertParameters.Add("countryList", countryList.Text); sqlds1.InsertParameters.Add("stateList", stateList.Text); sqlds1.InsertParameters.Add("greencom", greencom.Text); sqlds1.InsertParameters.Add("mtngsm", mtngsm.Text); sqlds1.InsertParameters.Add("airtel", aritel.Text); sqlds1.InsertParameters.Add("etisalat", etisalat.Text); sqlds1.InsertParameters.Add("multilinks", multilinks.Text); sqlds1.InsertParameters.Add("starcomms", starcomms.Text); sqlds1.InsertParameters.Add("visafone", visafone.Text); sqlds1.InsertParameters.Add("zoomm", zoomm.Text); sqlds1.InsertParameters.Add("remarks", remarks.Text); sqlds1.Insert();

    ASP.NET sysadmin

  • File Encryption and Decryption
    J Jack Li

    Encryption uploaded files name, if Encryption a .docx file ,it's tried too

    ASP.NET sysadmin security tutorial

  • MV3 FileContentResult is not working on my server
    J Jack Li

    check MV3 files path on the the upload server.

    ASP.NET sysadmin help question learning

  • setting focus to a button
    J Jack Li

    <form id="form1" runat="server" defaultfocus="TextBox1" >

    ASP.NET database javascript sysadmin help question

  • I'll download program of PKI C#(asp.net),who can tell me the url?
    J Jack Li

    thanks! i'll look for tell me URL!

    C# csharp asp-net question

  • Downloading an image from web
    J Jack Li

    MessageBox.Show(e.Message); what's message? if the _url is valid, open(_url)'ll back e.Message

    C# help question

  • I'll download program of PKI C#(asp.net),who can tell me the url?
    J Jack Li

    I'll download program of PKI C#(asp.net),who can tell me the url?

    C# csharp asp-net question

  • cookies in .net
    J Jack Li

    great!

    ASP.NET csharp

  • Datagrid property
    J Jack Li

    You'll wright THML code create FrameSet. But you must familiar with FrameSet construction.

    ASP.NET

  • Please help with this line!
    J Jack Li

    Because the "Request.QueryString("FirstName")" used "()", vs has it's a method. so your used "[]" and it's OK.

    ASP.NET question help tutorial

  • I need help in an asp.net program for project.. plzzzzzzz help me out
    J Jack Li

    Search of g.cn, you'll to browse Oracle example! www.oracle.com

    ASP.NET csharp asp-net database oracle design

  • Confirm message on successful validation
    J Jack Li

    You'll using right to limit the buttom, and user right from userlevel list table.

    C# csharp asp-net database help announcement

  • How to read CSV file
    J Jack Li

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Reflection; using System.Runtime.InteropServices; using Excel = Microsoft.Office.Interop.Excel; using System.Data.OleDb; using System.Security.Cryptography; public DataSet ExcelToDS(string Path) { //return one dataset object missing = Missing.Value; Excel.Application excelApp = new Excel.Application(); excelApp.Visible = false; try { excelApp.Workbooks.Open(path, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing, missing); excelApp.Workbooks[1].Worksheets[i + 1]; Excel.Worksheet ws = (Excel.Worksheet)excelApp.Workbooks[1].Worksheets[1]; string sheetName = ws.Name; string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + Path + ";" + "Extended Properties=Excel 8.0;"; OleDbConnection conn = new OleDbConnection(strConn); conn.Open(); string strExcel = ""; OleDbDataAdapter myCommand = null; DataSet ds = null; strExcel = "select * from [" + sheetName + "$]"; myCommand = new OleDbDataAdapter(strExcel, strConn); ds = new DataSet(); myCommand.Fill(ds); conn.Close(); excelApp.Workbooks.Close(); excelApp.Quit(); excelApp = null; return ds; } catch { MessageBox.Show("Not close EXCEL", "Err Info", MessageBoxButtons.OKCancel, MessageBoxIcon.Error); KillProcess("EXCEL"); return null; } }

    modified on Tuesday, May 5, 2009 3:52 AM

    C# help tutorial

  • Problem with saving text from HTML editor
    J Jack Li

    Can you pastered this code? DB it's bind ,and update it.

    ASP.NET help html database announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups