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
A

adkalavadia

@adkalavadia
About
Posts
29
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VSTO word addin
    A adkalavadia

    Hi all, i want to develop one addin for MS Word. document created under my addin can not open without my addin(i.e. if user don't have my addin, default screen to download addin will open....after install user can view the document). is it possible with Word addin? how? Thanks, Ankur

    !- F - R - I - E - N - D - S -!

    C# question

  • ASP.NET free web hosting
    A adkalavadia

    hi.. Please refer ... http://somee.com/FreeAspNetHosting.aspx

    !- F - R - I - E - N - D - S -!

    ASP.NET csharp asp-net com hosting question

  • gridview rowupdating
    A adkalavadia

    you need to put your textboxes in either out of gridview or in edittemplete.

    !- F - R - I - E - N - D - S -!

    ASP.NET css

  • javascript expected ')'
    A adkalavadia

    line no 10 in your javascript.... document.getElementById("<= Label_Liability.ClientID %>).style.visibility = "hidden"; % is missing......

    !- F - R - I - E - N - D - S -!

    ASP.NET javascript help

  • retreiving images from database and display as thumbnail images
    A adkalavadia

    you are storing images in binary in sql server...n you r directly use tostring() function on it..!!!

      bool flgImage = false;
      byte\[\] buffer = new byte\[0\];
      buffer = (byte\[\])SQLHelper.ExecuteScalar("SELECT imgImage FROM dbo.MeasurementImages WHERE intImageID=id");
    
        context.Response.ClearHeaders();
        context.Response.Expires = 0;
        context.Response.Cache.SetNoServerCaching();
        context.Response.Cache.SetMaxAge(TimeSpan.Zero);
        context.Response.ContentType = "image/gif";
        context.Response.Cache.SetCacheability(HttpCacheability.Public);
        context.Response.BufferOutput = false;
        context.Response.OutputStream.Write(buffer, 0, buffer.Length);
        context.Response.Flush();
        context.Response.End();
    

    Make image handler file for retriving images from database. this is a better way.

    !- F - R - I - E - N - D - S -!

    ASP.NET csharp asp-net database

  • get the data of PDF to XL Sheet
    A adkalavadia

    you have to use converter...pdf to excel. I know about this one. 1) smart-pdf-converter-pro (trial) 2) PDF to Excel 2.4 May this help you.

    !- F - R - I - E - N - D - S -!

    ASP.NET database question

  • Excel Import Problem
    A adkalavadia

    Actually my client is upload excel sheet. I can't format cells in every sheet. is it any way to format excel sheet column? or any other Extended Property is there?

    !- F - R - I - E - N - D - S -!

    ASP.NET windows-admin xml help

  • Excel Import Problem
    A adkalavadia

    Hi, See my code for importing data from excel sheet.I have problem with importing data which contains in one column all record in digit except one is in charecters. The row containing charecters in that perticular column is not imported. string excelConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + pathName + @"\" + fileName + ";Extended Properties=\"Excel 12.0 Xml;HDR=YES;IMEX=1;\""; OleDbConnection ExcelConnection = new OleDbConnection(excelConnectionString); OleDbCommand ExcelCommand = new OleDbCommand(); ExcelCommand.Connection = ExcelConnection; OleDbDataAdapter ExcelAdapter = new OleDbDataAdapter(ExcelCommand); ExcelConnection.Open(); DataTable ExcelSheets = ExcelConnection.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables,null); string SpreadSheetName = "[" + ExcelSheets.Rows[workSheetNumber]["TABLE_NAME"].ToString() + "]"; ExcelCommand.CommandText = @"SELECT * FROM " + SpreadSheetName; ExcelAdapter.Fill(ExcelDataSet); In my "Password" colomn all record contains digits but one record contains charecters. At a time of debuging, i have found record contains NULL value. I have done lots of googling for this problem but still face this problem. My registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Excel key ImportMixedTypes=Text.

    !- F - R - I - E - N - D - S -!

    ASP.NET windows-admin xml help

  • Question about regular expression (for email addresses)
    A adkalavadia

    See this site http://regxlib.com/ here you can find as well as test your regular expression. :cool:

    !- F - R - I - E - N - D - S -!

    Web Development regex com help question

  • Can i put Response.Redirect("errorpage.aspx") in Application_Error()?
    A adkalavadia

    Thanks for reply...can u give some explaination? I think this event is called at application level.

    !- F - R - I - E - N - D - S -!

    ASP.NET sysadmin help question

  • Can i put Response.Redirect("errorpage.aspx") in Application_Error()?
    A adkalavadia

    In Global.asax, I have put... void Application_Error(object sender, EventArgs e) { Exception objErr = Server.GetLastError().GetBaseException(); ErrorLog.WriteError(objErr.Message);//Fn Write error into text file Response.Redirect("~/admin/ErrorPage.aspx"); } When error occure then all loggedin user got redirect to errorpage?or only the use who got error is redirect to error page?please give reply ASAP. Thanks in advance.

    !- F - R - I - E - N - D - S -!

    ASP.NET sysadmin help question

  • export data to pdf in asp.net?
    A adkalavadia

    Refer this link..... http://www.codeproject.com/Forums/12076/ASP-NET.aspx?fid=12076&select=1512702&tid=1512702[^]

    !- F - R - I - E - N - D - S -!

    ASP.NET csharp asp-net question

  • export data to pdf in asp.net?
    A adkalavadia

    Dear Punit, Try this may this help you....... using CrystalDecisions.CrystalReports.Engine; using System.IO; public partial class rpt : System.Web.UI.Page { private ReportDocument BidEstimates; protected void Page_Load(object sender, EventArgs e) { string RptPath = Server.MapPath("file.aspx"); BidEstimates = new ReportDocument(); BidEstimates.Load(RptPath); //ExportFormatType.PortableDocFormat is Use For PDF documents...... BidEstimates.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, "ExportedReport"); } }

    !- F - R - I - E - N - D - S -!

    ASP.NET csharp asp-net question

  • Mail on every exception
    A adkalavadia

    u can use ex.Messege, ex.Source properties. see all properties. in Global.asax.

    !- F - R - I - E - N - D - S -!

    ASP.NET

  • Mail on every exception
    A adkalavadia

    In Global.asax File, <script language="C#" runat="server"> void Application_Error(object sender, EventArgs e) { //get reference to the source of the exception chain Exception ex = Server.GetLastError().GetBaseException(); //Insert email notification code here...use ex } </script> In your code Catch(Exception ex) { throw ex; }

    !- F - R - I - E - N - D - S -!

    ASP.NET

  • Mail on every exception
    A adkalavadia

    you can make your own exception handler for handling exception. but i think class file is a better solution for your problem. :omg:

    !- F - R - I - E - N - D - S -!

    ASP.NET

  • Mail on every exception
    A adkalavadia

    Make class in App_Code Name "ErrorLog.cs". Make Public Fn WriteError(string ErrorMsg) Put your Email Send code here. call this method in every catch block. i.e.: catch(Exception ex) { this.WriteError(ex.Messege); }

    !- F - R - I - E - N - D - S -!

    ASP.NET

  • How to Pass value between pages using JavaScript?
    A adkalavadia

    I want to pass my array in javascript from Page1.aspx to page2.aspx. Actually on my Page1, there is a one JavaScript function which get status of my JavaScript Panel(hidden/Shown) and i have to set the same status of that JavaScript Panel on Page2. Also this javascript panel is in Datalist control on both page. How can i pass the status of my panel on Page2? :)

    !- F - R - I - E - N - D - S -!

    Ankur Kalavadia

    ASP.NET question javascript data-structures tutorial

  • Find Local Time From UCT Time
    A adkalavadia

    Thanks for reply. but , I don't have users time zone right now. This thing i have to implement on Live site containing around 10000 users. How can i know user local time / time zone using cs file not using not a javascript.

    !- F - R - I - E - N - D - S -!

    ASP.NET question help

  • Find Local Time From UCT Time
    A adkalavadia

    Hi to all, In my table there is a coloum CreatedDate(DateTime) which stores datetime in UCT Time. Now I want to show this time to user's local time.(i.e. User From US can see US time, User from india can see Indian local time.) how can i convert? should i have go through Cultureinfo? or may it creates daylight saving problem? Thanks in advance.

    !- F - R - I - E - N - D - S -!

    ASP.NET question help
  • Login

  • Don't have an account? Register

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