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
H

honeyman_can

@honeyman_can
About
Posts
33
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • recognising db errors
    H honeyman_can

    Hi guys Where do I find a list of database error type exceptions for SQLServer 2005? I'll know when its a database error a and log it in the eventviewer and send an email. I just want to distinguish between database errors and any other error. thanks

    C# database help question

  • Please help me
    H honeyman_can

    thanks bro, but i sorted it out now. first casted it to a 'real' number then used the 'round' function. and it worked. all trailing zeroes are now removed

    Database database help question

  • Please help me
    H honeyman_can

    Im returning ratios with rounded off to 3 decimals places, but when the rounding off function doesnt get rid of of the trailing 10 zeroes. How do I get rid of the trailing zeros because it shows in SQL reports. I have tried TRUNCNUM, ROUND, TRUNC. I just cant seem to get rid of those zeroes. Help would much be appreciated.

    Database database help question

  • allowing access rights to log errors in eventviewer
    H honeyman_can

    Hi guys How does one change the registry keys to use the eventviewer/logger? thanks

    ASP.NET windows-admin question

  • reports viewer tool problems? Help!
    H honeyman_can

    hi What is wrong with this ReportPath?: /Pages/ReportViewer.aspx?/IL_User/Weekly_ConversionAppRate When I view it from ReportServer it works, but not when I run it in reportviewer in asp.net 2.0 FYI: ReportServerUrl: http://ildevsvr02-v05/reportserver I get the following error: The path of the item "/Pages/ReportViewer.aspx?/IL_User/Weekly_ConversionAppRate" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath) thanks

    ASP.NET help question csharp css asp-net

  • invalid reportpath?
    H honeyman_can

    Hi guys What is wrong with this ReportPath: /Pages/ReportViewer.aspx?Website+Reportingfvisits&rs:Command=Render FYI: ReportServerUrl: http://server/ReportServer/ I get the following error: The path of the item "/Pages/ReportViewer.aspx?Website+Reportingfvisits&rs:Command=Render" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath)

    ASP.NET question css sysadmin help

  • adding report in report viewer?
    H honeyman_can

    Hi guys How you do add a report (rdl file) in a report viewer in asp.net 2.0?

    ASP.NET csharp asp-net question

  • How do you pass by reference in c#?
    H honeyman_can

    hi guys! I'm a newbie to c# Method signature: public static string Translate(string translationCode, string culture, ref Dictionary> input) I want to pass a dictionary by reference and not the entire object. Is it correct to use 'ref' in the argument? Then how do I insert the dictionary when calling the method? thanks

    C# question csharp

  • accessing dictionary within another one?
    H honeyman_can

    Hi guys! This is my method signature:public static string Translate(string translationCode, string culture, Dictionary> input) i would like to know how to access the value of the 'input' dictionary within the method? e.g. if(input.ContainsKey(culture)) { if(how do I check they 'key' of the inner dictionary?) { //use the value of the inner dictionary then how would i access the value of the inner dictionary } } I hope this makes sense. Thanks

    C# question tutorial

  • Cache vs Application variable
    H honeyman_can

    Can someone please me out? I got a translatable website where all the translations are currently stored in a DB. I have loaded them into a Dictionaries ect so I need to do is just access them. What are the implications or advantages of storing it in the cache and application variable respectively? I can't seem to see when is it appropriate to use either? Thanks in advance

    ASP.NET database visual-studio question

  • struct
    H honeyman_can

    -

    C# csharp visual-studio

  • struct
    H honeyman_can

    forgive me - I'm new to c# public struct lookupOjbect { string fieldvalue; public lookupOjbect (string fieldvalue) { this.fieldvalue = fieldvalue; } } lookupOjbect lookupObjectRow = new lookupOjbect(); When I want to assign a value to this object then 'fieldvalue' doesnt show with intellisense. e.g. lookupObjectRow.fieldvalue - doesnt show!

    C# csharp visual-studio

  • Do hashtables accept duplicate keys?
    H honeyman_can

    I know dictionaries don't accept duplicate keys, but hashtables are inherent within dictionaries. If the answer is yes, then what data structure could I use?

    C# question

  • Initializing dictionary with a struct? help pls
    H honeyman_can

    Sorry I didnt know about checking the checkbox, you solved my problem without looking at my code. Great!

    C# help question css dotnet

  • Initializing dictionary with a struct? help pls
    H honeyman_can

    Hi guys what is wrong with this line? lookupObject is a struct. I just want to initialize the dictionary with the struct as value. public static Dictionary dicTextLookup = new Dictionary(); this is the error: "Error 1 Inconsistent accessibility: field type 'System.Collections.Generic.Dictionary' is less accessible than field 'dicTextLookup' C:\IL\TranslationController.cs 44" Thanks

    C# help question css dotnet

  • alternative to structs?
    H honeyman_can

    Could you please explain what you mean by this - "Use .NET 2.0 with generics". What generics are you talking about?

    C# question

  • alternative to structs?
    H honeyman_can

    What can I use instead of struct to store little info? I want create instances, put them in a dictionary, iterate and modify elements in the dictionary. I know every addition will involve a boxing operation, and every modification will involve an unboxing followed by a boxing operation. What is the best thing to do?

    C# question

  • trygetvalue? Please help
    H honeyman_can

    string translationText = ""; if(dicText.TryGetValue(translation[r].EntryCode, out translationText)) { dicText.Add(translation[r].EntryCode, translationText); } I don't get this method. As far as I understand it, it should do one lookup and if found then assign the related value of "translation[r].EntryCode" to translationText. Is this correct?

    C# help question

  • out value?
    H honeyman_can

    // When a program often has to try keys that turn out not to // be in the dictionary, TryGetValue can be a more efficient // way to retrieve values. string value = ""; if (openWith.TryGetValue("tif", out value)) {Console.WriteLine("For key = \"tif\", value = {0}.", value);} else {Console.WriteLine("Key = \"tif\" is not found.");} What is value? value of the dictionary i.e. in this case openWith.value?

    C# question

  • Hashtable vs. Dictionary (key values)
    H honeyman_can

    Can a Hashtable accept two key values that are the same? if yes, then why can't a dictioanary accept two key values that are the same as it inherits from the hashtable class?

    C# visual-studio 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