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
Y

Yoyosch

@Yoyosch
About
Posts
128
Topics
70
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PSD to ASPX
    Y Yoyosch

    Thank you very much for response. Fireworks outputs a png file. So in my opinion it is rather helpful for graphic designers. Photoshop is large-caliber gun, while Fireworks can speed up your time over Photoshop in small projects. But is still outputs png, so it doesn't speed up developer's work. Am I correct?

    ASP.NET performance help

  • PSD to ASPX
    Y Yoyosch

    I am developing many small web sites. Could you please recommend me an application that could speed up my work. Ideal would be if it could take PSD file and produce ASPX files as output. I know this is very complex issue and I could loose generality using it. But I am asking for an application that could speed up my work even a bit. Thank you in advance

    ASP.NET performance help

  • ASP.NET usefull controls
    Y Yoyosch

    I am going to develop application in ASP.NET MVC. I know there are no rich controls. Could you please recommend me good controls for that (datagrid, calendar, scheduler, numeric textbox, etc.)? Thanks in advance

    ASP.NET asp-net csharp architecture question

  • ASP MVC update panel
    Y Yoyosch

    How to use update panels in asp.net mvc? What is the best practice and library for that?

    ASP.NET asp-net question csharp architecture tutorial

  • WPF: listbox not refreshing
    Y Yoyosch

    Listbox contains expanders and each of them has different size. The problem is not growing. The problem is to shrink listbox after collapsing expander.

    C# csharp wpf help tutorial question

  • Linq To SQL - My Thoughts
    Y Yoyosch

    Linq2Sql is dead indeed, but it has been completed. Theres nothing to be done more. So I cannot consider this as a disadvantage. EF is much more complex and difficult to use. It also has lots of bugs. Linq2Sql is a perfect choice for smaller applications. What about larger apps? EF is also quite slow. In some scenarios ADO.NET could just be better choice. NHibernate? It almost doesnt have any sensible documentation, tutorials, showhows. It is the worst possible choice in my opinion.

    C# csharp database discussion sql-server linq

  • WPF: listbox not refreshing
    Y Yoyosch

    I have a listbox in which I'm keeping several expanders. At the beginning all expanders are collapsed. The height of the listbox is just enough to show them all. After I expand one of those expanders, the height of listbox is increased accordingly. However, when I collapse this expander, height of the listbox remains unchanged, leaving huge white space. How to refresh listbox size? Thank for help in advance

    C# csharp wpf help tutorial question

  • basicHttpBinding configuration
    Y Yoyosch

    I want to host WCF web service in my windows application. So far I succeeded with the following configuration: <system.serviceModel> <bindings> <wsHttpBinding> <binding name="NewBinding0" /> </wsHttpBinding> </bindings> <services> <service name="VegasWebServiceLibrary.VegasService" behaviorConfiguration="VegasWebServiceLibrary.Service1Behavior"> <host> <baseAddresses> <add baseAddress="http://11.11.11.11:1111/" /> </baseAddresses> </host> <!-- Service Endpoints --> <!-- Unless fully qualified, address is relative to base address supplied above --> <endpoint address="" binding="wsHttpBinding" contract="VegasWebServiceLibrary.IVegasService"> <!-- Upon deployment, the following identity element should be removed or replaced to reflect the identity under which the deployed service runs. If removed, WCF will infer an appropriate identity automatically. --> <identity> <dns value="localhost"/> </identity> </endpoint> <!-- Metadata Endpoints --> <!-- The Metadata Exchange endpoint is used by the service to describe itself to clients. --> <!-- This endpoint does not use a secure binding and should be secured or removed before deployment --> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> </service> </services> <behaviors> <serviceBehaviors> <behavior name="VegasWebServiceLibrary.Service1Behavior"> <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --> <serviceMetadata httpGetEnabled="True"/> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="False" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> I would like however to use basicHttpBinding instead. I dug Web pretty carefully for a corre

    WCF and WF wcf csharp wpf sysadmin workspace

  • PayPal problem
    Y Yoyosch

    This post relates only to Express Checkout using web service and ASP.NET/C#. I downloaded great sample application from http://www.codeproject.com/KB/aspnet/paypal\_c\_aspnet.aspx. I reconfigured it so that it would use my own test accounts on developer.paypal.com and it worked perfectly. Cash was substracted from client's account and added into business account. The problem began, when I deleted the web service reference and added exactly the same reference afterwards (referencing the same address: https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl). This brought compile error in the following code snippet: DoExpressCheckoutPaymentRequestDetails = new DoExpressCheckoutPaymentRequestDetailsType() { Token = resp.GetExpressCheckoutDetailsResponseDetails.Token, PaymentAction = PaymentActionCodeType.Sale, PayerID = resp.GetExpressCheckoutDetailsResponseDetails.PayerInfo.PayerID, PaymentDetails = new PaymentDetailsType() { OrderTotal = new BasicAmountType() { currencyID = CurrencyCodeType.USD, Value = "10.00" } }, } PaymentDetails is not of type PaymentDetailsType anymore. Now it became of type PaymentDetailsType[]. So I rewritten the code as follows: DoExpressCheckoutPaymentReq payReq = new DoExpressCheckoutPaymentReq() { DoExpressCheckoutPaymentRequest = new DoExpressCheckoutPaymentRequestType() { Version = UtilPayPalAPI.Version, DoExpressCheckoutPaymentRequestDetails = new DoExpressCheckoutPaymentRequestDetailsType() { Token = resp.GetExpressCheckoutDetailsResponseDetails.Token, PaymentAction = PaymentActionCodeType.Sale, PayerID = resp.GetExpressCheckoutDetailsResponseDetails.PayerInfo.PayerID, PaymentDetails = new PaymentDetailsType[]{ new PaymentDetailsType() { OrderTotal = new BasicAmountType() { currencyID = CurrencyCodeType.USD, Value = "1.00" },

    ASP.NET csharp asp-net help wcf com

  • ADO.NET almost nullable column
    Y Yoyosch

    Sure sure, its the best to write everything in assembler or even machine code. Such approach is senseless. ADO's designer saved me a lot of time during many years, this is first time it fails. Still a very good result.

    Database csharp database ai-coding help tutorial

  • ADO.NET almost nullable column
    Y Yoyosch

    I have a table in my DB containing a column of type Datetime, which allows null values. I created DataSet on which I drag&droped this table. Everything was fine, DataTable with TableAdapter have been successfully created and are both working. When I select this column in this DataTable (on designer surface) it shows in properties that this column is indeed nullable (AllowDBNull: True). However ADO.NET generated false code for this example. Look at the following code: var t= new ABCTableAdapter().GetData(); ticket[0].MyNullableColumn -> this return 'Datetime' instead of 'Datetime?'. If a given record in DB has indeed null value in this column, then such code generates "StrongTypingException". So this is quite clear that ADO.NET made some mistakes in code generation. I tried deleting all DataSet and recreating it from scratch. Also I`m sure that my column really allows null values as some records have such value in this column. Could you please help me and tell how am I supposed to force ADO.NET to generate this code properly? I want the following code to compile: if (t[0].MyNullableColumn != DBNull.Value) {...}

    Database csharp database ai-coding help tutorial

  • CLR stored procedure cross base access
    Y Yoyosch

    I implementd CLR stored procedure on 'Database1'. I would like to perform some UPDATE statements inside this CLR stored procedure in 'Database2'. Is is possible? If so, then how?

    Database database dotnet question announcement

  • ADO.NET cross-base transactions
    Y Yoyosch

    Thank you very much for help

    C# csharp database debugging help question

  • ADO.NET cross-base transactions
    Y Yoyosch

    dont make rubish on the forum

    C# csharp database debugging help question

  • ADO.NET cross-base transactions
    Y Yoyosch

    I made a simple transaction using ADO.NET: SqlTransaction tn; SqlConnection cn = new SqlConnection(/*connection string to 'Database1'*/); try { if (cn.State != ConnectionState.Open) { cn.Open(); } } catch (SqlException ex) { Debug.Assert(false, ex.ToString()); } tn = cn.BeginTransaction(); SqlCommand cmd2 = ... This works nicely. However I would like to make some update statement in other database - 'Database2'. Is it possible to do that inside one ADO.NET transaction? If so, how? Thank you for help in advance.

    C# csharp database debugging help question

  • CLR stored procedure cross base access
    Y Yoyosch

    I implementd CLR stored procedure on 'Database1'. I would like to perform some UPDATE statements inside this CLR stored procedure in 'Database2'. Is is possible? If so, then how?

    C# database dotnet question announcement

  • Custom membership provider
    Y Yoyosch

    It is using my custom implementation - otherwise loggin feature would not work

    ASP.NET csharp asp-net database windows-admin help

  • Custom membership provider
    Y Yoyosch

    I implemented custom membership provider by deriving from MembershipProvider class. I added login control to my web page and associated my membership provider with my custom database, where I`m keeping all users. This works great. Whats more, I would like to enable 'Change password' scenario by using the standard ASP.NET control. I created dedicated web page for it and put this control onto form. When I`m willing to change my password (after I logged in to my web application), GetUser(string username, bool) method is being called from my custom membership provider. It`s cool, but why I`m getting my OS login name instead of the login which I used to log onto my web site? In other words: assume that I logged into my web application with {user: User1, password: qwert} credentials. I expect that GetUser method will pass 'User1' as a first argument. Currently it passes '[domainName]/[WindowsLoginName]'. I believe there is some magical switch in IIS (I`m using v7.5) or web.config file. Could you please help me?

    ASP.NET csharp asp-net database windows-admin help

  • Initializing ASP.NET
    Y Yoyosch

    Tnx, it was exactly what I asked for. Thank you

    ASP.NET question csharp asp-net

  • Initializing ASP.NET
    Y Yoyosch

    This will not work as user may start my application from different page

    ASP.NET question csharp asp-net
  • Login

  • Don't have an account? Register

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