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

Seishin

@Seishin
About
Posts
129
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • some WebMethods in aspx and some in asmx
    S Seishin

    problem solved.. some methods were static and some not.. static methods worked in aspx and not in asmx and vice-versa.. damn it..

    life is study!!!

    ASP.NET csharp javascript asp-net help question

  • some WebMethods in aspx and some in asmx
    S Seishin

    Hi I'm using Asp.net 4 with url routing. I've got a WebmMethods.asmx file with some methods and another file - WebMethods.aspx with the same set of methods (ctrl+c, ctrl+v) and I call them from jQuery code with $.ajax (POST) function.. and there's this problem that just blows my mind.. on one page (default: http://localhost:3333/site/) calling methods from the aspx files throw 500 exception 'unknown method' while calling them from the asmx file works just fine. on another page (somePage: http://localhost:3333/site/somePage/) it goes the other way round: calling from asmx file throws the same exception and from aspx works. I use absolute paths - the files are found by the calls but methods not - when I used some other path I got 'resource not found exception' so what the hell? I've spent a few hours googling the problem but found nothing.. If anybody had similar problem or knows why it's like this PLEASE enlighten me :)

    life is study!!!

    ASP.NET csharp javascript asp-net help question

  • Combobox SelectedValue Problem.
    S Seishin

    I assume you try setting the value after you bind the control to your data.. if the value is bound to int datacolumn then drop the " - use integers.. also you may try setting ComboBox.BindingContext property to parenting Form.BindingContext. ex. cmb.BindingContext = this.BindingContext;

    life is study!!!

    C# database wpf wcf help

  • Reading integer from an xml file
    S Seishin

    when you read a value from xml you get a string. to convert it to int use int.TryParse method.

    life is study!!!

    C# help game-dev xml tutorial

  • Plz, des'nt File Delete ,, [modified]
    S Seishin

    read the images with streams - no lock is set on the file. btw. I'm not sure you want to use 'System.Environment.CurrentDirectory' as it is relative to the point of application launch (shortcuts) and may change easily.. if you meant the application directory use Application.StartupPath

    life is study!!!

    C# csharp wpf help workspace

  • Setup and Deployment Issue!
    S Seishin

    in the directory you pointed should be only a shortcut.. and it's done in a way keefb described

    life is study!!!

    C# help csharp sysadmin workspace

  • Setup and Deployment Issue!
    S Seishin

    maybe instead of installer feature make it an application setting.. using registry for example: RegistryKey key = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run", true); key.SetValue("%app_name%", Application.ExecutablePath); key.Close();

    life is study!!!

    C# help csharp sysadmin workspace

  • CSS div padding in IE (7)
    S Seishin

    Hi! I' trying to layout some div inside another div, both float: left and some padding but without specifying widths. we all know the issue with IE and width and padding :sigh: ... I know the trick width: 100px !important; width: 120px;, but here I specify width. Is it somehow possible to achieve the effect without widths?? thanks for any help!!

    life is study!!!

    Web Development help css question

  • timer does not work
    S Seishin

    Maybe grid's CellValueChanged event - in the event arguments you get the index of the edited row and column index as well.. it's called when the value is commited ex. when the editmode is set to 'doubleclick or f2' [entar] commits value change. also when you use Convert.To... you don't have to use ToString() on the converted object.

    life is study!!!

    C#

  • UpdateProgress for all UpdatePanels except one
    S Seishin

    is it possible to display one(!!) UpdateProgress for every updatePanel on a page except specyfic one?! i've got one that has a timer control on, and it causes UpdateProgress to show.

    life is study!!!

    ASP.NET question

  • msmq from outside the domain
    S Seishin

    Hi! i'm having some trouble with message queing. to check if the queue exists I use MessageQueue.Exists(queueAddress) and the address is "machine.domain\queueName" everything works fine when using this on a machine within the domain. but on a machine outside the domain Exists returns false. i read that msmq uses windows authentication. my best guess is that this "false" is due to this beeing outside the domain security issue.. is there any workaround? passing some credentials or sth? btw. it's a public transactional queue thanks for any help!

    life is study!!!

    C# security help data-structures question

  • dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed
    S Seishin

    thanks a lot!!!

    life is study!!!

    LINQ database csharp linq help question

  • dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed
    S Seishin

    there's no profiler with sql express :/

    life is study!!!

    LINQ database csharp linq help question

  • dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed
    S Seishin

    hmm.. well I was wondering if linq can convert such a call into a query with exec sproc and select rows from the resluts of exec.. oh, well.. I'll have to work this paging problem some other way.. thanks for your reply!

    life is study!!!

    LINQ database csharp linq help question

  • dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed
    S Seishin

    Hi! let's assume that the sproc returnes 20 rows. well, i know that the sproc is going to be executed on the DB but will Skip and Take do their stuff after the data (20 rows) from the sproc is returned to the application or will linq "do it's magic" and call converted to sql statements Skip and Take on the DB and return only 3 rows to the application? thanks for any help

    life is study!!!

    LINQ database csharp linq help question

  • dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed
    S Seishin

    ok.. who/what's "Websters"?!.. ou.. i didn't see linq mb.. sorry!!

    life is study!!!

    C# database csharp linq help question

  • dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed
    S Seishin

    c'mon.. I'm asking seriously.. by "do it's magic" I meant convert linq query into sql query, connect do DB, execute the query, return data and so on...

    life is study!!!

    C# database csharp linq help question

  • dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed
    S Seishin

    Hi! let's assume that the sproc returnes 20 rows. well, i know that the sproc is going to be executed on the DB but will Skip and Take do their stuff after the data (20 rows) from the sproc is returned to the application or will linq "do it's magic" and call converted to sql statements Skip and Take on the DB and return only 3 rows to the application? thanks for any help :D

    life is study!!!

    C# database csharp linq help question

  • logical sum in ms sql2005
    S Seishin

    never mind that.. fyi, you just do it like in c and others :D

    life is study!!!

    Database database help question

  • logical sum in ms sql2005
    S Seishin

    Hi! is it possible to get a logical sum on two integers in sql?? thanks for any help

    life is study!!!

    Database database help 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