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
R

rameshbhojan

@rameshbhojan
About
Posts
47
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    and wat bout getting the #region and #endregion Dave????

    C# csharp help tutorial

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    The Code will change Giorgi During Runtime...... :-) its not static..... anyways i ve got my answer from Dave........ u can check the same...... Thanks, ramesh

    C# csharp help tutorial

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    Sorry Dave, i don know how to add a section of code here.... both my indented version and non-indented version look the same above!!!!:-( Sorry..... but i hope u got wat i wanted to say....... i want the statement inside the method to be indented to one more tab towards right

    C# csharp help tutorial

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    Thanks Dave for both of your answers :-) its all fine now........ hey Dave do you know how to creat regions using CodeDOM and i have one more issue..... all the statements inside a method or a constructor are aligned to the extreme left...... i want it to be properly indented. for example: public Data(string name, string age, string city) { this.m_name=name; this.m_age=age; this.m_city=city; } this i wat i am getting instead of getting a well indented code like: public Data(string name, string age, string city) { this.m_name=name; this.m_age=age; this.m_city=city; } How do i get it indented....

    C# csharp help tutorial

  • Using CodeDOM in .NET to generate an assignment statement inside a property of a class
    R rameshbhojan

    Hi Gajatko, All i wanna generate is : public System.Int64 RollNumber { get { System.Int64 rollNo = (System.Int64 )this["@roll_number"]; return rollNo; } } i don need the set statement.... anyways gimme the solution you have...... if i am able to generate the way you said then also it is fine!!!! Thanks, Ramesh

    C# csharp help

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    Well..... :-) i started with CodeDOM.... Actually i am creating a whole C# file which has a namespace.... a class.... its member fields.... methods..... properties.... i have been able to do a major part.... the places where i had issues.... are the ones i have posted.... :-) so i need a solution to tat using "MemberField" class in CodeDOM... hey Giorgi...... u din tell me how to do tat string manipulation stuff.... i mean if a wanna have " in my string... then how do i do tat???? -- modified at 7:51 Tuesday 21st August, 2007

    C# csharp help tutorial

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    No Giorgi.... m speakin of using CodeDOM to do tat... However, i would also like to know the solution for the problem you mentioned above.... i mean how do i have " inside my string usually in string manipulation???

    C# csharp help tutorial

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    ya .... tats wat i meant Giorgi.... as u mentioned i can build the code from string... in the content of tat string i want one such statement which i mentioned in my query above........ do u know how to do tat?????? Thanks, ramesh

    C# csharp help tutorial

  • Using CodeDOM in .NET to generate an assignment statement inside a property of a class
    R rameshbhojan

    Could anyone please help me out in auto-generating a property in a class in a following format: public System.Int64 RollNumber { get { System.Int64 rollNo = (System.Int64 )this["@roll_number"]; return rollNo; } } I am able to generate the property with the return statement and the other stuff, but i am not able to Generate the assignment statement i,e : System.Int64 rollNo = (System.Int64 )this["@roll_number"]; Please Help. Thanks, Ramesh

    C# csharp help

  • Using CodeDOM in .NET to AutoGenereate a constant member field
    R rameshbhojan

    Hi All, I have used CodeDOM in .net to auto-generate C# code, which in essence generates a class file having a class along with its member fields, methods and properties. However, i don know how to generate the following line of code: private const string NAME = "CSharp"; Here, i have a generate a CodeMemberField which is a constant string with a private specifier as shown above. Please send me the sample code which would help me to auto-generate the above line of code. Thanks, Ramesh

    C# csharp help tutorial

  • Using CodeDOM in .NET
    R rameshbhojan

    Hi All, Could anyone please help me out in auto-generating a property in a class in a following format: public System.Int64 RollNumber { get { System.Int64 rollNo = (System.Int64 )this["@roll_number"]; return rollNo; } } I am able to generate the property with the return statement and the other stuff, but i am not able to Generate the assignment statement i,e : System.Int64 rollNo = (System.Int64 )this["@roll_number"]; Please Help. Thanks, Ramesh

    ASP.NET csharp help

  • Auto-Generating a member field in a class using CodeDOM in .NET
    R rameshbhojan

    Hi All, I have used CodeDOM in .net to auto-generate C# code, which in essence generates a class file having a class along with its member fields, methods and properties. However, i don know how to generate the following line of code: private const string NAME = "CSharp"; Here, i have a generate a CodeMemberField which is a constant string with a private specifier as shown above. Please send me the sample code which would help me to auto-generate the above line of code.

    ASP.NET csharp help tutorial

  • How to store the retrieved values from a coulmn of a table in an array??
    R rameshbhojan

    Thanks talal :-) Now if i wanna display all these values in the array(or datareader) in a dropdown list.... how do i do that???????

    C# csharp database data-structures tutorial question

  • How to store the retrieved values from a coulmn of a table in an array??
    R rameshbhojan

    Could you please give me a sample code(using my example above) to do the same as u mentioned.......

    C# csharp database data-structures tutorial question

  • How to store the retrieved values from a coulmn of a table in an array??
    R rameshbhojan

    Thanks Talal :-) Now how do i get these values from row and save in a array variable, which i need to pass as a parameter to a method???

    C# csharp database data-structures tutorial question

  • Using CodeDOM
    R rameshbhojan

    For Eg. If i have a class with a member field as follows: Private Const int ID=123; How to generate this using CodeDOM?

    C# csharp tutorial question

  • How to store the retrieved values from a coulmn of a table in an array??
    R rameshbhojan

    Hi All, PLease let me know if how can a save the values in a column from a database in an array using C# .NET Web Application (so that i could use each value in the array in my code one by one.) For Eg.: if i have the following query: SELECT Name FROM Details WHERE Country='India' here "Name" and "Country" are two columns in table called "Details". Suppose the query returns Three values: Ram, John and Sohail i want these names to be saved in an arraay. i could not use the "ExecuteScalar" class as it can save only one value into a variable! please send me the few lines of code necessary to do that using the above mentioned example. Thanks, Ramesh

    C# csharp database data-structures tutorial question

  • Using CodeDOM in .NET
    R rameshbhojan

    Hi all, Could you please let me know if how can i generate the following piece of code using CodeDOM public System.Int64 X { get { System.Int64 A = (System.Int64 )this["@B"]; return A; } } I am not able to generate the following line: System.Int64 A = (System.Int64 )this["@B"]; Thanks, Ramesh

    C# csharp question

  • Using CodeDOM
    R rameshbhojan

    Hi All, Please let me know if how to use CodeDOM in .NET to autogenerate a Const member field with initialization.... ??? Thanks, Ramesh

    C# csharp tutorial question

  • Exception :"The configuration section for Logging cannot be found in the configuration source."
    R rameshbhojan

    Hi All, I was trying to use Enterprise Library 3.0 in my .NET application. While trying to use the Logging application block,after configuration,i got the following exception while calling the Logger.Write class: "The configuration section for Logging cannot be found in the configuration source." However, earlier while calling the LogEntry class, i was not having any issues. only while the logger class is called after the log entry, i am getting the exception. I have added the necessary references to my project and included the namespaces. Please help me solve the exception. Thanks, Ramesh

    C# csharp help workspace
  • Login

  • Don't have an account? Register

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