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
F

faisal khanani

@faisal khanani
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows Form
    F faisal khanani

    thanks Poils, It works fine.

    C# csharp help question workspace

  • Windows Form
    F faisal khanani

    I have come across with a little problem that must be simpler for you guys; As a matter of fact, i m new in .Net/C# environment, hence i m facing a little bit difficulty in writing code. I have a form (Non-MDI); on its next button after successfull execution of a method i have to open a new form and for doing this i have written the following code: DBSecurity.DBSecurity msecure=new DBSecurity.DBSecurity(strServer,strUser,strPwd,strDatabase); if (msecure.Generate(txtCompany.text,txtLocation.Text)==true) { SecurityGUI.frmGUI frm=new frmGUI(); frm.ShowDialog(); this.Close(); } this code works fine as far as frmGUI form opening is concerned but it do not close the existing form and it still open on back. Am i writing wrong code? or do you have another solution?

    C# csharp help question workspace

  • Problem with function argument
    F faisal khanani

    thanks Matt but i can not declare Agent type in this function, because it is defined in data layer that do not have reference of business layer. therefore, i have to declare object type. :)

    C# help business

  • Problem with function argument
    F faisal khanani

    i am working on a project in which i'm dealing with business layer and data layer where business layer has a reference of data layer. when business layer call a function of data layer sending ref object variable as parameter function signature in data layer is: "public bool add(ref object objagent)" this ref object variable is actually an instance of business layer class, but when i proceed with function assigning values like: string stragentname; stragentname=objagent.agentname; upon complilation it gives me error:"object doesnot contain a definition for agentname"

    C# help business
  • Login

  • Don't have an account? Register

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