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
D

DotNetXenon

@DotNetXenon
About
Posts
52
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • WCF service call in which layer?
    D DotNetXenon

    Thanks! I have started looking at MVVM.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    WPF csharp wpf wcf business question

  • Question on entity class in the layer
    D DotNetXenon

    Thank you so much.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    ASP.NET question business help

  • SL Content not displaying
    D DotNetXenon

    Have you tried to change the width and height to pixels instead of %? This post may be of help : http://forums.silverlight.net/p/232055/569580.aspx[^]

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    WPF javascript help csharp html asp-net

  • Covariance-Contravariance help please!
    D DotNetXenon

    Can you help me with how to use covariance contravariance for the example below? I am calling a WCF service and want to convert List object returned from service to List object in my wpf app. How to do that?

    EmployeeSrv.EmpClient EmployeeSrvc = new EmployeeSrv.EmpClient();
    List lstEmployee = new List();
    lstEmployee = EmployeeSrv.GetEmployeeDetails();
    List lstEmpWPF = lstEmployee; //This errors and here covariance has to be used

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    WPF csharp tutorial wpf wcf help

  • WCF service call in which layer?
    D DotNetXenon

    I am writing a layered WPF application and want to call a WCF service. The method is below. I have Presentation - Business - Service and DataAccess layer. Can you please suggest which layer the below code should be written? Should it be in Business or Service layer? I am not sure even if there should be two different layers - Business and Service. What do you think?

    public List GetUserList()
    {
    EmpSrv.Client EmployeeSrvc = new EmpSrv.Client;List lstEmployee = new List
    ------------------------------------------------------------
    "The only true wisdom is in knowing you know nothing." --Socrates

    WPF csharp wpf wcf business question

  • WCF Service list
    D DotNetXenon

    Jurgen, Thanks a ton! I used the same List which is used in the WCF service instead of creating List in my application separately like below. Eservice EmployeeSrvc = new Eservice(); List lstEmployee = new List(); lstEmployee = EmployeeSrvc.GetEmployeeDetails();

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    WPF csharp help wpf wcf tutorial

  • Question on entity class in the layer
    D DotNetXenon

    Thanks Pravin. You pointed out not to write redundant code and that is excellent. But I have a question here. When following layers, do we not have to add the reference of Business in DAL, Presentation in Business etc. so that the flow will be maintained. If Business project is added as reference on all projects, would the layered architecture model not be affected?

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    ASP.NET question business help

  • WCF Service list
    D DotNetXenon

    WCF Service returns List. I call from wpf app and have User class which contains the same properties as Employee class in wcf service. Eservice EmployeeSrvc = new Eservice(); List lstUser= new List(); lstEmployee = EmployeeSrvc.GetEmployeeDetails(); I get the error "Cannot implicitly convert type .." I am not sure how to convert the WCF return list to List in my wpf app. Please help!

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    WPF csharp help wpf wcf tutorial

  • Question on entity class in the layer
    D DotNetXenon

    I have created a web app with 4 layers : Presentation - Business - Services - Data. I have Business.Entities project which is added to Business layer and have Employee class in it. I also have DataAccess.Entities and Presentation.Entities and have added Employee.cs in there also. Now in project references I have added Presentation project reference in Business, Business project reference in DataAccess. Is this approach correct? My Question is, Should Employee.cs class be added to each project entities like I did above or should Employee.cs be added to only Business.Entities project and Business.Entities proj reference be added to all projects? I got this question because the 2nd approach was used in a project I downloaded from internet. Please help.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    ASP.NET question business help

  • Implementing database roles on menu and button level
    D DotNetXenon

    In ASP.net 3.5. I have some roles which can't be in AD group. Need to put them in sql database.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    C# database question

  • Implementing database roles on menu and button level
    D DotNetXenon

    In SQL database, I have role,process and menu table mappings for showing/hiding menu based on the logged on user's role. I need to show/hide certain buttons in the application based on the roles and processes. How do I do this? Please point in the right direction

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    C# database question

  • SQL Query : Multiple joins [modified]
    D DotNetXenon

    I have 3 tables and need to update the TableC from TableA and TableB TableA OldId NewId TableB OldId OldName OldAddress TableC NewId NewName NewAddress Please help me with the joins. Thanks

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    modified on Tuesday, January 19, 2010 5:30 PM

    Database database help announcement

  • How to find project template
    D DotNetXenon

    Somebody has created a class library project added to the solution by name Sample1. I do not know what kind of project template(here it is class library) is that. How do I find out what project they have added? Hope this is clear.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    ASP.NET question csharp asp-net help tutorial

  • How to find project template
    D DotNetXenon

    On the solution, there are many projects in an existing application. One of them is an asp.net web application, another one is class library and another is Dynamic data web application. How can I find what project is it? I looked in the properties but could not find it. Please help.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    ASP.NET question csharp asp-net help tutorial

  • Calling non-static method from static webmethod
    D DotNetXenon

    Everything has a necessity and I wanted to clearly communicate that am not a beginner. Please ask why this is needed if you are interested to help or opt to stay out. There will be somebody else who will be willing to help. When I have posted a question on a forum, it clearly means I am looking for a solution. This is what am trying to achieve. Ajax control, collapsible panel extender(cpe) needs to expand a panel containing a repeater control and load data into repeater when the panel is expanded. I found that there is no server side click event but there is an expand-collapse javascript handler. To call server side code from AJAX, Pagemethods can be used. <asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server"> </asp:ScriptManager> [System.Web.Services.WebMethod] public static DataSet GetContactName() { DataSet ds = new DataSet(); XmlDocument doc = new XmlDocument(); ds.ReadXml(System.Web.HttpContext.Current.Server.MapPath("App_Data/Group.xml")); LoadData(ds); } public void LoadData(DataSet ds) { DataSet ds = GetContactName(); repeaterGroup.DataSource = ds; repeaterGroup.DataBind(); } I am not able to access LoadData from GetContactName(). Any help on this would be greatly appreciated.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    ASP.NET question sysadmin xml tutorial

  • Calling non-static method from static webmethod
    D DotNetXenon

    [System.Web.Services.WebMethod] public static DataSet GetContactName() { DataSet ds = new DataSet(); XmlDocument doc = new XmlDocument(); ds.ReadXml(System.Web.HttpContext.Current.Server.MapPath("App_Data/Group.xml")); LoadData(ds); ????? } I need to bind this ds to a repeater control. public void LoadData(DataSet ds) { DataSet ds = GetContactName(); repeaterGroup.DataSource = ds; repeaterGroup.DataBind(); } My question is, how to call LoadData from above webmethod. LoadData() method is not recognized from the webmethod.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    ASP.NET question sysadmin xml tutorial

  • Gridview empty
    D DotNetXenon

    How to set Gridview.Datasource = empty? How to show a message inside the gridview like "No records" in C#? Gridview.Emptydatatemplate = "No records" does not work.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    Web Development csharp tutorial question

  • Bulleted List: Which control to be used?
    D DotNetXenon

    Thanks Mark. Web platform is what I am using. I found the ajax collapsible panel but not sure if something better can be used here.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    C# question

  • Bulleted List: Which control to be used?
    D DotNetXenon

    Which control can I use for displaying bulleted list? > A > B > C When I click A, there should be a gridview/panel which will be displayed. Thanks

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    C# question

  • How to store stored proc results to a temp table
    D DotNetXenon

    insert into #temp exec dbo.MyStoredProc 89,1 (MyStoredProc requires 2 integer parameters.) The above works fine but in my stored proc where I write this insert statement, I need to create the #temp table and MyStoredProc results in 100 columns. Only 5 columns have to be stored in #temp. I need something like below. (As you would know, am making it clear, below does not work!!) select col1,col2,col3,col4 into #temp exec dbo.MyStoredProc 89,1

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    Database 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