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
S

Sayed Sajid

@Sayed Sajid
About
Posts
11
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CONSUMING WCF WITH COM+(VISUAL STUDIO 6.0 (C++))
    S Sayed Sajid

    Hi, I have a requirement to consume a wcf service through a Visual C++ 6.0 application. 1) I have created a Wcf C# based service. 2) Also created a C# dll application which is used as a bridge between the Service and the consumer by adding this as a typed wrapper class library to the C++ app. And also added with the Service Reference.So that it can call the functions from the Service. 3) And the consumer is written in C++ which is calling the functions of the C# dll (Class Library project)project. Am able to access the functions but it is failing in creating the Service object and the error messase is given as "unable to connect to the remote server". Any early replies will be heartly appreciated. Many thanks in advance. regards Sajid.

    WCF and WF csharp c++ visual-studio wcf com

  • Using Dynamic predicates (Linq)
    S Sayed Sajid

    Hi, This is my linq query, I wanted this query to dynamilcally fetch the fields mentioned after select{----------------------}; var res1 = from tbltrans in ctx.tblTransferDatas join tblemp in ctx.tblEmployees on tbltrans.EmployeeID equals tblemp.EmployeeID join tbldpt in ctx.tblDepts on tblemp.DeptID equals tbldpt.DeptID join tbldiv in ctx.tblDivisions on tbldpt.DivisionID equals tbldiv.DivisionID join tblreg in ctx.tblRegions on tbldiv.RegionID equals tblreg.RegionID join sites in ctx.tblSites on tbltrans.Site_No equals sites.Site_No join ters in ctx.tblTerminals on tbltrans.Ter_No equals ters.TerNo select new { tbltrans.TransferData_ID, tbltrans.ActionDate, tbltrans.CardSnr, tbltrans.Updated_to_Card_By_CP, tbltrans.Updated_to_Card_By_Ter, tbltrans.Deleted_By_CP, tbltrans.SiteTer_Type, tbltrans.Site_No, tbltrans.Ter_No, tblemp.BadgeNo, tblemp.FullName , tbldpt.DeptID, Dept = tblreg.RegionName + "/" + tbldiv.DivisionName + "/" + tbldpt.DeptName, sites.Site_Name, ters.Terminal_Name }; How to write and add predicates to the main query. I wanted to add a dynamic predicate before select,I would appreciate any early replies. Many thanks in advance. regards Sajid

    C# csharp database linq tutorial

  • [Message Deleted]
    S Sayed Sajid

    Parvez, I found this solution, thanks. Apart try to help me in the new message I posted. regards Sajid

    LINQ

  • Dynamic use of Restriction Operator in a linq query
    S Sayed Sajid

    Hi, This is my linq query, I wanted this query to dynamilcally fetch the fields mentioned after select{----------------------}; var res1 = from tbltrans in ctx.tblTransferDatas join tblemp in ctx.tblEmployees on tbltrans.EmployeeID equals tblemp.EmployeeID join tbldpt in ctx.tblDepts on tblemp.DeptID equals tbldpt.DeptID join tbldiv in ctx.tblDivisions on tbldpt.DivisionID equals tbldiv.DivisionID join tblreg in ctx.tblRegions on tbldiv.RegionID equals tblreg.RegionID join sites in ctx.tblSites on tbltrans.Site_No equals sites.Site_No join ters in ctx.tblTerminals on tbltrans.Ter_No equals ters.TerNo select new { tbltrans.TransferData_ID, tbltrans.ActionDate, tbltrans.CardSnr, tbltrans.Updated_to_Card_By_CP, tbltrans.Updated_to_Card_By_Ter, tbltrans.Deleted_By_CP, tbltrans.SiteTer_Type, tbltrans.Site_No, tbltrans.Ter_No, tblemp.BadgeNo, tblemp.FullName , tbldpt.DeptID, Dept = tblreg.RegionName + "/" + tbldiv.DivisionName + "/" + tbldpt.DeptName, sites.Site_Name, ters.Terminal_Name }; I wanted to add a dynamic where clause before select,I would appreciate any early replies. Many thanks in advance. regards Sajid

    LINQ csharp database linq

  • [Message Deleted]
    S Sayed Sajid

    [Message Deleted]

    LINQ

  • Linq
    S Sayed Sajid

    Mr Chris, Thanks for your answer. What would be the appropiate way of returning var type? This is my intension to do actually. public var GetSites() { SiteTerDBDataContext ctx = new SiteTerDBDataContext(); ctx.Connection.ConnectionString = ConfigurationManager.ConnectionStrings["DB_ConnectionString"].ConnectionString; var res = from sites in ctx.tblSites select sites; return res; } Many thanks. Sajid

    C# database csharp css linq

  • Linq
    S Sayed Sajid

    Hi, Am writing a function which should return a dataset to bind to a grid control. It is a linq query, Can I type cast var type variable to DataSet and return it. Here is my funtion below. public DataSet GetSites() { SiteTerDBDataContext ctx = new SiteTerDBDataContext(); ctx.Connection.ConnectionString = ConfigurationManager.ConnectionStrings["DB_ConnectionString"].ConnectionString; var res = from sites in ctx.tblSites select sites; return (DataSet)res; } Any early replies will be appreciated. regards Sajid

    C# database csharp css linq

  • Avoid tables in Asp.net 3.5 UI
    S Sayed Sajid

    Hi Abhijet, Thanks for the answer. Am not able to align my controls in the table columns. Apart am also not able to select multiple controls and align them. Anyway am working on a intranet application. But still I would prefer to work avoiding tables. I would be thankfull if you elaborate the DIV format. Many thanks in advance. regards Sajid Electronia Co Ltd, Alkhobar - KSA

    Web Development design csharp asp-net tutorial

  • Avoid tables in Asp.net 3.5 UI
    S Sayed Sajid

    Hi everybody, I just wanted to know, how to avoid using tables in asp.net 3.5 UI. There must an option (AutoPositon property) to drag and drop controls at any part of the design page. Any early replies will be heartly appreciated. Many thanks in advance. regards Sajid Electronia Co ltd, Alkhobar,KSA

    Web Development design csharp asp-net tutorial

  • Visual Studio 2008 IDE
    S Sayed Sajid

    Hi, Am not able to select multiple controls on my web form to align or resize. Is there any form setting for this problem. Many thanks in advance. regards, Sajid Electronia pvt ltd.

    Web Development visual-studio csharp help

  • Creating mdb file at runtime
    S Sayed Sajid

    Hello Am writing a application using C# (studio 2008) which is retreiving the logs from a Smartcard Terminal. As I wanted to create a empty mdb file at run time if it does not exist at a specific location. I kindly expect some stuff to solve this query. regards Sayed Sajid :)

    C# csharp database
  • Login

  • Don't have an account? Register

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