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
N

Nicejith

@Nicejith
About
Posts
27
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Titel,minimise and maximise button
    N Nicejith

    You can use a modal popup. refer http://www.subimage.com/[^]

    ASP.NET tutorial

  • help to access different cs(class) files using the concept of inheritence
    N Nicejith

    I'm not sure whether you are looking for this, but i'm giving you an example first.cs -------- using System; using System.Data; using System.Configuration; using System.Linq; . . . namespace Test { public class Images { public memberFunction(); { //do something } } } ---------- second.cs --------- using System; using System.Data; using System.Configuration; using System.Linq; using Test; // including the namespace . public class DB { private method1() { Images images=new Images(); images.memberFunction(); } } Does it make sense?

    ASP.NET help

  • help to access different cs(class) files using the concept of inheritence
    N Nicejith

    are both classes in the same namespace? You can group classes into namespaces and include in other classes.

    ASP.NET help

  • Update panel refresh in Firefox Vs IE7
    N Nicejith

    Hi, I have an aspx page in which i'm using a popup(The popup is a dynamically created iframe - we will assign the url to it when we need the popup). In the aspx page there is agridview inside an update panel. The popup will accept some data and on closing , the gridview should refresh and show the updated values. I'm using 'window.location.reload()' to refresh the parent window. It is possible to popup the window, add new data, close the popup and the parent window gets updated now both in Firefox and in IE7. But when i'm using IE7 the whole window (parent) gets refreshed and i lose the selection made on checkboxes. But it works fine in Firefox, ie the checkbox selections remain same when its coming back from popup) can anybody help me to figure out the problem?

    ASP.NET help visual-studio question announcement

  • Session Checking In Class File
    N Nicejith

    Please check it with HttpContext.Current.Session["login"].

    ASP.NET question html com design help

  • why Session_End is fired?
    N Nicejith

    why Session_End is fired after i deleted a folder using directory.delete(folderpath,true)

    ASP.NET question

  • Delete directory recursively throwing an error
    N Nicejith

    No.. it deletes a user folder only.

    ASP.NET help question sysadmin

  • Delete directory recursively throwing an error
    N Nicejith

    Hi all, I'm using "Directory.delete(folderpath,true)" for deleting a folder containing sub folders and files from server. When i'm trying to delete it, it throws an error saying 'Directory not empty'. All the files and subfolders are getting deleted, but the directory is still there. More over, it removes all the session variables also. How can i fix this issue? Please help.

    ASP.NET help question sysadmin

  • Duration of video file
    N Nicejith

    Hai, I want to know how to find out the duration of a flv file or any video file.Am using mediahandler to convert video files to flv.Please help me.... jincy

    ASP.NET help tutorial

  • Downloading a cab file without any chenge in content or size..
    N Nicejith

    hi lucjon, i tried that code. still i'm getting the same problem.. there occurs some size variation when i'm trying to download file using all these methods..

    ASP.NET csharp asp-net help tutorial question

  • Downloading a cab file without any chenge in content or size..
    N Nicejith

    Hi, I have a web application(ASP.net, C#) in which the user is be able to download a .cab file to the PC by clicking on a button after making a file selection. I tried many methods for accomplishing the download task. The code i tried is given below. Response.ContentType = "APPLICATION/OCTET-STREAM"; System.String disHeader = "Download; Filename=\"" + myfilename+ "\""; Response.AppendHeader("Content-Disposition", disHeader); System.IO.FileInfo fileToDownload = new System.IO.FileInfo(myfilepath); Response.Flush(); Response.WriteFile(fileToDownload.FullName); or FileStream MyFileStream = new FileStream(myfilepath, FileMode.Open); long FileSize; FileSize = MyFileStream.Length; byte[] Buffer = new byte[(int)FileSize]; MyFileStream.Read(Buffer, 0, (int)MyFileStream.Length); MyFileStream.Close(); Response.ContentType = "application/octet-stream"; Response.AddHeader("content-disposition", "attachment; filename=" + myfilename); Response.BinaryWrite(Buffer); When i tried these two methods, i could download the files to the PC. The user has to copy the cab file to the Pocket PC device for installing it. The file downloaded through the web application may have some problem so that it cannot be installed on the Pocket PC. When i tried to install the original file from the repository, it worked fine. It means that there occurs some problem with the cab file while it is being downloaded. The original file is having the size 420 KB. But the file downloaded is having size 432 KB. Could anybody guide me to solve the problem? Thanks in advance. Nicejith

    ASP.NET csharp asp-net help tutorial question

  • XML Upload
    N Nicejith

    I think its very easy to use the Dataset method.. ie use the namespace System.Data then code as follows Dataset Ds; ds.ReadXml(xmlfilepath); here if you check the dataset viewer, you can see all the xml contents as tables. from there you can extract data and put it in database.

    ASP.NET database xml

  • running a batch file from asp.net web page
    N Nicejith

    can you try this..? Process pr = new Process(); pr.StartInfo.RedirectStandardOutput = true; pr.StartInfo.UseShellExecute = false; pr.StartInfo.FileName = Server.MapPath("urapp.bat"); pr.StartInfo.Arguments = "your arguments" pr.Start(); pr.WaitForExit(); pr.Close();

    ASP.NET csharp asp-net sysadmin help question

  • how do i retrive the data from one cell in the sql database?
    N Nicejith

    hi .. here is some code for connecting to database.. i think this would help you.. make necessary changes.. this is just to show you how we can connect to the db.. put connection string in web.config file using System; using System.Data; using System.Configuration; using System.Data.SqlClient; public class dbClass { private SqlConnection con; private SqlCommand com; private SqlDataReader dr; private SqlDataAdapter da; private DataSet ds; public dbClass() { con = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["conString"].ToString()); } /// /// Open an Sql connection. /// /// sqlconnection public SqlConnection GetConnection() { try { if (con.State == ConnectionState.Open) { con.Close(); } con.Open(); } catch (Exception ex) { string err = ex.Message.ToString(); } return con; } /// /// Executes a query with SqlDataAdapter /// /// sql query /// DataTable public DataTable GetAdapter(string sql) { try { com = new SqlCommand(sql, GetConnection()); com.CommandTimeout = 0; da = new SqlDataAdapter(com); ds = new DataSet(); da.Fill(ds); return ds.Tables[0]; } finally { con.Close(); } }

    ASP.NET csharp database question asp-net

  • .dll hell
    N Nicejith

    plz refer this link.. http://en.wikipedia.org/wiki/DLL\_hell In computing, DLL hell is a phrase for complications which arise when working with dynamic link libraries, or DLLs. DLL hell encompasses the difficulties of managing dynamic-link libraries (DLLs) in Microsoft Windows operating systems. These difficulties include conflicts between DLL versions, difficulty in obtaining required DLLs, and having many unnecessary DLL copies.

    ASP.NET csharp

  • Add music player to website
    N Nicejith

    Please refer these sites - http://www.jeroenwijering.com/?item=Flash\_MP3\_Player http://www.codeproject.com/useritems/mp3\_cms.asp

    ASP.NET csharp database sql-server visual-studio sysadmin

  • Sr No in GridView
    N Nicejith

    Put column in datagrid -------------------- ------------------------------------ write in code behind page public string sn1() { int t; i = i + 1; t = (grd_category.CurrentPageIndex * pagesize) + i; return t.ToString(); } DataGridPageChangedEventArgs e) { grd_category.CurrentPageIndex =e.NewPageIndex; bind();//code to bind the grid } hope this would help you..

    ASP.NET question

  • Downloading a cab file to mobile-
    N Nicejith

    I'm new to the mobile web application development.. I have developed a web application from which a user can select a .cab file to download to the mobile. I just want to know the steps for downloading a particular file to the mobile.Could anybody help me by giving me the proper guidance for the same.. [ I'm using ASP.net 2.0 with C#]

    ASP.NET csharp asp-net help

  • Creating a .cab file in asp.net c#
    N Nicejith

    Hi I'm in need of some code segment to create a .cab file in my application. I got one CabLib.dll from one link provided by codeproject itself. But it worked weel in local machine.But it doesn't work in server after uploading. (I read in some article that we can use System.Web.Util class. But it doesn't support the cab creation now. Could anyone please help me to locate some dll's or built in class in .net to solve this problem? Nicejith

    ASP.NET csharp help asp-net sysadmin question

  • PDF creation
    N Nicejith

    hi, In my site i have a page having some buttons and when this button is clicked i have to generate a pdf which should contain some values from the database. Did anyone has any solution for this? regards Nicejith

    ASP.NET database question
  • Login

  • Don't have an account? Register

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