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
U

unil Dhiman

@unil Dhiman
About
Posts
60
Topics
30
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • change property return type dynamically
    U unil Dhiman

    I want to implement dropdown list in web parts in asp.net 2.0, so that i can implement personalization. there must be Enum to use dropdown list. I have created Enum Dynamically. I already created a Propert of System.object return type. now i want to change its return type as per Enum, i created dynamically. Thats why i need some solution of it. if you have any idea, please let me know. Thanks.

    C# tutorial question

  • change property return type dynamically
    U unil Dhiman

    I have create a property of System.object return type I want to change its Type at runtime according to my need. for example I want to convert it into System.String or System.Enum. is it possible ? Thanks.

    C# tutorial question

  • Error - can not create enum dynamically
    U unil Dhiman

    Hi Navaneeth Sorry !!! I got busy in an urgent task at that time.

    ASP.NET help sysadmin

  • Error - can not create enum dynamically
    U unil Dhiman

    Hi Navaneeth I want to use Enum in Web parts to show DropDown. Web parts use only Enum to bind Dropdown. is there ant other way to solve this problem ? thanks

    ASP.NET help sysadmin

  • Error - can not create enum dynamically
    U unil Dhiman

    Hi Michael, Thanks for reply. I tried to Inherite "Enum" class. but it is giving an error message - "cannot derive from special class 'System.Enum'" Please help me how to create Enum Dynamically. Regards, Sdhimann

    ASP.NET help sysadmin

  • Error - can not create enum dynamically
    U unil Dhiman

    Hi All, I am trying to create Enum Dynamically. When I try to Save dll It gives me error - "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" I am also writing code snippet :- AppDomain currentDomain = AppDomain.CurrentDomain; AssemblyName aName = new AssemblyName("TempAssembly"); AssemblyBuilder ab = currentDomain.DefineDynamicAssembly(aName, AssemblyBuilderAccess.RunAndSave); ModuleBuilder mb = ab.DefineDynamicModule(aName.Name, aName.Name + ".dll"); EnumBuilder eb = mb.DefineEnum("Elevation", TypeAttributes.Public, typeof(int)); eb.DefineLiteral("Low", 0); eb.DefineLiteral("High", 1); Type finished = eb.CreateType(); ab.Save(aName.Name + ".dll"); I got error at last line. I am working on Vista Premium. I gave permissions to Network Service User but still not solved. Please help me. your help is appreciated. Regards, Sdhimann

    ASP.NET help sysadmin

  • Error - can not create enum dynamically
    U unil Dhiman

    Hi All, I am trying to create Enum Dynamically. When I try to Save dll It gives me error - "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" I am also writing code snippet :- AppDomain currentDomain = AppDomain.CurrentDomain; AssemblyName aName = new AssemblyName("TempAssembly"); AssemblyBuilder ab = currentDomain.DefineDynamicAssembly(aName, AssemblyBuilderAccess.RunAndSave); ModuleBuilder mb = ab.DefineDynamicModule(aName.Name, aName.Name + ".dll"); EnumBuilder eb = mb.DefineEnum("Elevation", TypeAttributes.Public, typeof(int)); eb.DefineLiteral("Low", 0); eb.DefineLiteral("High", 1); Type finished = eb.CreateType(); ab.Save(aName.Name + ".dll"); I got error at last line. Please help me. your help is appreciated. Regards, Sunil Dhiman

    ASP.NET help

  • Implement Webpart with Custom Personlization [modified]
    U unil Dhiman

    Hi All, I want to implement Web Part in my Existing Project. We have implemented our own way for User Creation and User Role facility in our project. As you know, To implement web Part We need to use pre-built Tables and Stored Procedures. But We dont want to use all these rather we want to implement Web Part with our existing working functionality. Is there any way to implement Web Part in such a way so that our existing user creation and Role tables do not need to do big changes. Is this possible. your help is appreciated. Thanks. Sdhimann

    modified on Thursday, August 20, 2009 1:33 AM

    ASP.NET help

  • use C# DLL in Javascript
    U unil Dhiman

    Hi All, I want to call C# Dll in Javascript. How can I use Method of this DLL using Javascript. Regards Sunil

    C# csharp javascript question

  • How to call code behind function in JavaScript ?
    U unil Dhiman

    Hi All, I have a button on page. when user click this button it will call a server side function, which check some data in database. then there will be confirmation message like "Record already exist, Do you want to continue?". if user click (OK)Yes then it will process further in database using another server side function. otherwise it will not process further. Please tell me how can I do this using javascript ? I need to show confirmation message. Thanks. Regards, Sunil

    C# question javascript database sysadmin tutorial

  • how to call code behind function in javascript ? [modified]
    U unil Dhiman

    Hi All, I have a button on page. when user click this button it will call a server side function, which check some data in database. then there will be confirmation message like "Record already exist, Do you want to continue?". if user click (OK)Yes then it will process further in database using another server side function. otherwise it will not process further. Please tell me how can I do this using javascript ? I need to show confirmation message. Thanks. Regards, Sunil

    modified on Monday, September 8, 2008 4:27 AM

    ASP.NET question javascript database sysadmin

  • How to create menu using CSS
    U unil Dhiman

    Hi I want to create menu using CSS. there are four depth level in my menu. Main Menu -> Sub Menu -> 2SubMenu -> 3SubMenu. suppose if there is 10 Items in 2SubMenu then I want to break these into two or three(depends on items count) columns each contains 5 items. for example i want like this - Main SubMenu->AA|DD BB|EE CC|FF HH|JJ UU|YY can any body help me . how to break using CSS. which property in CSS supports such facility. Thanks & Regards, Sunil

    ASP.NET tutorial css help

  • How to get printed document name using Printer Job Language (PJL) in C#
    U unil Dhiman

    Hi, I need to get printed document name using PJL in C#. I tried USTATUS command , but unable to get document name and computer name. can anybody help me, if anybody has done this before? Thanks. Regards, Sunil.

    C# csharp help tutorial question career

  • How to develop Application to control Printer in C#
    U unil Dhiman

    Hi, I need to develop an applicaion to control over printer, It should support- Print Test Page Get User name Get IP Address / system name Get Printer status Current Printed page count Toner Status etc. Is this possible to develop this application using Printer Job Language (PJL) ? your quick help is appreciated. Thanks. Sunil

    C# csharp help tutorial question career

  • how to send PJL command to USB connected printer ?
    U unil Dhiman

    Hi Bert delaVega Thanks for reply Actually this code is to connect LAN printer not for USB connected printer. If you have any Idea about USB connected printer, Please help me. Thanks.

    C# csharp tutorial question career

  • how to send PJL command to USB connected printer ?
    U unil Dhiman

    Hi I want to get printer information using PJL(Printer job description language) in c#. can anybody tell me how to send PJL command to USB connected printer in C#? Thanks.

    C# csharp tutorial question career

  • [Message Deleted]
    U unil Dhiman

    [Message Deleted]

    ASP.NET

  • how to show sub menu items horizontal
    U unil Dhiman

    thnks Abhijit.

    ASP.NET help tutorial

  • text changed event
    U unil Dhiman

    CalendarExtender has event "OnClientDateSelectionChanged" try using this event.

    ASP.NET help

  • how to show sub menu items horizontal
    U unil Dhiman

    hi Abhijit thanks. i checked this .but not working...

    ASP.NET help 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