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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
N

N a r e s h P a t e l

@N a r e s h P a t e l
About
Posts
60
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • System.Web.HttpContext.Current.Session give Object reference error
    N N a r e s h P a t e l

    Hi, I am using System.Web.HttpContext.Current.Session at my cs file for accessing Session variables like: 1. String CustomerID="0"; 2. if(System.Web.HttpContext.Current.Session["CustID"]!=null) 3. { 4. CustomerID= 5. System.Web.HttpContext.Current.Session["CustID"].ToString(); 6. } 7. ////////// It give an object reference not set to an instatnce of an object- error at line number 2. I have allready assigned the Session["CustID"] at another page.

    N a r e s h P a t e l

    ASP.NET help

  • Automate background process using asp.net
    N N a r e s h P a t e l

    HI, YOu can use BackgroundWorker if you are working in Windows Form Application.

    Naresh Patel

    ASP.NET csharp asp-net question

  • how to achieve deletion
    N N a r e s h P a t e l

    Hi, 1. You can use Sql Server's Job functionality for performing any operation to Database as per time interval. 2. Windows Service.

    Naresh Patel

    ASP.NET question csharp asp-net tutorial

  • Can I assign DataSource of GridView to DataTable/DataSet/DataView????
    N N a r e s h P a t e l

    HI, I am assigning DataTable to gridview as a DataSource like: DataTable dt=new DataTable(); dt=GetDataTable(); gridView1.DataSource=dt; gridView1.DataBind(); I want works its reverce... I want to fill a DataTable from gridView DataSource when it is already bind with DataTable. Like: DataTable dt=new DataTable(); dt=(DataTable)gridView1.DataSource; Is this possible?????

    Naresh Patel

    ASP.NET question

  • Problem With Global.asax File When Publish
    N N a r e s h P a t e l

    Hi, I am publishing my website containg some events in Global.asax file. And I upload my published copy to server. I am getting some errors like which means that server not getting events from Global.asax file. And actually there is not any Global.asax file in my published copy. This does not create any problem to my local server or my local lost.but creates problem in live server. So please give me some idea regarding this. Thanks in advance.

    Naresh Patel

    ASP.NET sysadmin help

  • URL Rewriting
    N N a r e s h P a t e l

    Hi, url for the next page is like: MyDomain/Products.apsx?CatID=20 And I want to display it like this: MyDomain/Category1_Name.aspx So what should I do. I does not have any idea regarding this.

    Naresh Patel

    ASP.NET question

  • Problem using Static Variable...
    N N a r e s h P a t e l

    Yaa But the number of session variables increase it may deduce the performance as I think. And the viewstate store all data into the page so it may also affect performance.

    Naresh Patel

    ASP.NET help question

  • Problem using Static Variable...
    N N a r e s h P a t e l

    Hi, I am using static variables for storing some data like pageindex, some table data and like that. It works fine. No problems. But the scope of static variable is for whole application. I mean if there are 10 user connected to my application then they all share the same value of static variables. So it may creates some problems and it is obvious. So what should I do now. Because application is now completely developed. So should I use ViewState in place of all Static variables or what? So please give me way for this. Thanks in advance.

    Naresh Patel

    ASP.NET help question

  • custom validator problem
    N N a r e s h P a t e l

    hi i have assigned custom validator to textbox and calling on function to validate the string insert into the textbox on custom validator OnServerValidate="CheckImageFormat" event ..but it's not working properly.it works when page is postback..but i want to do the checking without page postback. have any idea then please help me

    Naresh Patel

    ASP.NET help

  • DefaultButton Problem
    N N a r e s h P a t e l

    hi how to make Login Button to DefaultButton if i have use master page concept

    Naresh Patel

    ASP.NET help tutorial

  • FileUpload FilePath Problem in Mozilla
    N N a r e s h P a t e l

    Hi, I am using FIleUpload Control for uploading, But at by clicking upload button I am just displaying image not saving image. I m using this statement: imgIcon.Src = FileUpload1.PostedFile.FileName; This works fine in IE but gives only filename in Mozilla. This statement gives full filepath in IE.

    Naresh Patel

    ASP.NET help

  • begin and end
    N N a r e s h P a t e l

    No It does not mean begin transaction and end transaction. It is just like fun() { } in C#

    Naresh Patel

    ASP.NET database question

  • Shopping cart
    N N a r e s h P a t e l

    hi This is url for the sample ecommerse site. http://www.x-cart.com/demo/cart.php

    Naresh Patel

    ASP.NET

  • Problem in Displaying image in Mozilla
    N N a r e s h P a t e l

    Thanks yaar for helping: I got solution: ![](../images/button-<%# SetImage(Convert.ToBoolean(DataBinder.Eval(Container.DataItem,)" />

    Naresh Patel

    ASP.NET html sysadmin tools help

  • Problem in Displaying image in Mozilla
    N N a r e s h P a t e l

    string _ReturnUrl; public string SetImage1(bool _Active) { if (_Active) { _ReturnUrl = Server.MapPath("../images/button-green.gif"); } else { _ReturnUrl = Server.MapPath("../images/button-red.gif"); } return _ReturnUrl; } and accesing in grid view Like ![](<%# SetImage(Convert.ToBoolean(DataBinder.Eval(Container.DataItem,)" />

    Naresh Patel

    ASP.NET html sysadmin tools help

  • Problem in Displaying image in Mozilla
    N N a r e s h P a t e l

    Hi, I am displaying image in html image control without runat=server. The image src is set runtime by some condition, I am using server script for setting image src. This works fine in IE. But it it does not displaying image into Mozilla. I have dibugged the code the function for setting the Image src had called.

    Naresh Patel

    ASP.NET html sysadmin tools help

  • Problem in Displaying Image after Saving it using the FIleUpload Control.
    N N a r e s h P a t e l

    Hi, I am trying to displaying image when the user clicks on upload button after browsing image by FileUpload COntrol. This time I just displaying image not saving image. ANd saving it afterwards. This works fine but the problem is that when user browse image from system drive like: C:/ then this arrangements does not display image. Have anybody idea for this problem then replay me immediately. Thanks in advance.

    Naresh Patel

    ASP.NET help

  • Drop Down list
    N N a r e s h P a t e l

    Hi you can set value property of the dropdownlist to the first name or last name whatever you want. like dropdownlist1.Text="admin@sam.ca.gov Admin Miller"; dropdownlist1.Value="Admin Miller";

    Naresh Patel

    ASP.NET

  • DropDownList -problem
    N N a r e s h P a t e l

    What do you want? Other form on the same page or a form on other page?

    Naresh Patel

    ASP.NET help tutorial question

  • Array List
    N N a r e s h P a t e l

    Hi, There is no problem for printing your ArrayyList values by following. ArrayList arr = new ArrayList(); arr.Add("Manoj"); arr.Add(4); arr.Add(4.5); for (int i = 0; i < arr.Count; i++) lblResult.Text += arr[i];

    Naresh Patel

    C# data-structures tutorial
  • Login

  • Don't have an account? Register

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