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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
L

linqabc

@linqabc
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem when using group by
    L linqabc

    i want to select id ,name,code,sum(deposit) groupby name the code var b = from a in DBContext.ctx.RestrictionsDetails_Views where (a.Relay == true) && (a.ID == grpID) && (a.Restric_Date < DateTime.Parse(dedit_from.Text)) group a by a.Account_Name into g select new { name= g.Key, Account_ID = (from o in g select o.Account_ID, Account_code = from o in g select o.Account_code.Value, RestricDet_Deposit = g.Sum(x =>x.RestricDet_Deposit) }; the result is name RestricDet_Deposit name1 200 Account_ID and Account_code dislayed System.Data.Linq.SqlClient.Implementation.ObjectMaterializer`1+<Convert>d__0`1[System.Data.SqlClient.SqlDataReader,System.Nullable`1[System.Int32]] it doesn't display value

    LINQ csharp linq help

  • How to merg two datatable
    L linqabc

    i have two datatable dt1,dt2 i want to merg its columns to newdatatable then make gridview datasource newdatatable

    C# tutorial

  • How to display day month year only in datatable column
    L linqabc

    i have datatable contain id name ,date (smalldatetime) i want to fill gridview by this datatable but in date columns display only daymonthyear

    LINQ tutorial

  • How to set text of textbox with value user entered in another form at form close
    L linqabc

    ok i will try it

    C# tutorial

  • How to set text of textbox with value user entered in another form at form close
    L linqabc

    i solved it by another way form1 form2 f2 = new form2(); f2.showdialog(); f2.dispose(); if(f2.IsDispose) { textbox1.text = valuetext; } // value text is static variable in form2 thank u for ur replay

    C# tutorial

  • How to set text of textbox with value user entered in another form at form close
    L linqabc

    textbox1 i can't see it in form to its modifier private

    C# tutorial

  • How to set text of textbox with value user entered in another form at form close
    L linqabc

    i have two forms form1 contain textbox1 and buttonsearch //click form2 is opend form2 contains textbox2 i want when user close form2 the value of textbox1 equals value of textbox2 in form2

    C# tutorial

  • Exception while trying to change value of fk
    L linqabc

    i have two tables Assest{assestid,name,parentid} account{accountid,name,assestid}//assestid is foreginkey to assest table the code Account account = DBContext.ctx.Accounts.Single( a => a.Account_ID == idacco); account.Account_Name = txt_nameAccount.Text.ToString(); account.Account_code = Convert.ToInt32(txt_CodeAccount.Text); account.AssestID = newid ; DBContext.ctx.SubmitChanges(); this exception Foreifn key reference already has valueexception was caught Operation is not valid due to the current state of the object. note newid is already founded in table assest

    LINQ

  • How to Make textbox autocomplete?
    L linqabc

    i changed AutoCompleteMode ==>suggest Autocmpletesource ==>Customersourc In foreach (DataRow row in (SelectAccounts().Rows) { textBox1.AutoCompleteCustomSource.Add( row["Account_Name"].ToString()); } it worked successfuly and displayed names in table Account now i want to get id for accountname that user enter SelectAccounts() return table accounts{id,Account_Name}

    C# tutorial 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