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
E

exhaulted

@exhaulted
About
Posts
224
Topics
43
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Threading Concept.
    E exhaulted

    I'd recommend the WaitHandles, implement a simple application with 2 threads and get some examples of how to use waithandles from MSDN[^] or where ever google points you. Once you understand how to use them in a simple application implement them in your more complicated application

    Kev http://esendexdeveloper.spaces.live.com/

    C# question design help

  • MCSD 70-316 exam
    E exhaulted

    Short of piracy you will find that a very difficult thing to achieve. If you are willing to pay for the questions then i would highly recommmend the Transcender practice exams.

    Kev http://esendexdeveloper.spaces.live.com/

    C#

  • Alternative To iTunes?
    E exhaulted

    I use sharepod running directly off my iPod and it works great, highly recommend it to anyone! :-D

    Kev http://esendexdeveloper.spaces.live.com/

    The Lounge question

  • What am i missing? Tables in my DataContext do not have Add or Remove options
    E exhaulted

    Pretty much what it says in the title, i must be missing something obvious. My "tables" inside my datacontext do not have Remove or Add functions, for example i would like to do something like...

    MyDataContext db = new MyDataContext()
    db.Clients.Add(myCleint);
    db.SubmitChanges();

    but the Add function is not available to me in the db.Clients object. Anyone able to shed some light on this?

    Kev http://esendexdeveloper.spaces.live.com/

    LINQ database com tutorial question

  • LINQ DataSource and Foreign Keys
    E exhaulted

    Well i figured it out and the problem was with my Eval statement, nothing to do with LINQDataSources or the gridview. Eval("User1.UserName") is how it should be done instead of Eval(User1.UserName). I thought the days of missing ; or " off your code were long gone but obviously not :laugh:

    Kev http://esendexdeveloper.spaces.live.com/

    LINQ csharp tutorial database wpf wcf

  • LINQ DataSource and Foreign Keys
    E exhaulted

    Hi all, i've probably just missed something amazingly simple but.... I've been watching the tutorials based on Scott Gu's blog and the tutorial on binding a GridView to a LINQ datasource (video 4 i think) would really save me loads of development time while i'm creating prototypes for a project, if i could get it to work. An example table structure is as follows Customer ID (int) CustomerName (varchar) UserID (int) User ID (int) UserName (varchar) Now, as you can see, the userID field in customer maps to the user table quite nicely. I create a LINQ to Sql dbml file and drag the two tables into the page and i get a relationship created for me. Next up i create a LinqDataSource pointing at the Customer table with the * box ticked to select all columns. Then i bind a GridView control to the LinqDataSource and run the app, everything looks OK but i get the UserID int where i want the UserName. In the code behind file i can create a new Customer object (cust) and use the following to get at the username cust.User1.UserName but if i bind an itemtemplate field on the datagrid to this with Eval(User1.UserName) it doesn't work, i get the error message "User1.UserName was not found on the selected data source." I have tried User.UserName as well but to no avail, anyone have an answer for this? I'm running a web app in C# if it makes any difference :-D

    Kev http://esendexdeveloper.spaces.live.com/

    LINQ csharp tutorial database wpf wcf

  • ASP Shopping Cart [modified]
    E exhaulted

    Anyone able to point me in the direction of a good tutorial for an online shopping cart in ASP / HTML? [edit NOT asp.Net] Cheers Kev -- modified at 17:05 Monday 19th June, 2006

    Web Development csharp html asp-net tutorial question

  • Scissors removed from patient's stomach
    E exhaulted

    six-kg tumour I guess when you've been walking around with sonething like that inside you, it's understandable to not notice a pair of scissors, kind of! Kev

    The Lounge com

  • Web Setup Projects
    E exhaulted

    Hi All, I've got several projects in a solution including 3 setup projects to build msi's. For arguments sake lets call the projects Business Layer InternetPresentationLayer OtherPresentationLayer BusinessLayerSetup InternetPresentationLayerSetup OtherPresentationLayerSetup The 3 setup projects point to the output, content files and Localized Resources of the relevant project. This all works great except.... Sometimes my InternetPresentationLayerSetup projecty changes itself to point at the OtherPresentationLayer's output content etc I change it back and it's fine for a while but soon points itself at the wrong project again. Anyone else experienced this or anyone got any ideas about how to fix it? Cheers Kev

    ASP.NET business help tutorial question workspace

  • Displaying the system menu
    E exhaulted

    I don't know how to tie into the windows system menu but the options contained in it would be very simple to write in your own context menu that you could display when the picture box is clicked. Kev

    C#

  • How to use Pay Pal Pro [Urgent]
    E exhaulted

    Not wanting to be rude but 2 things first 1. Have you contacted paypal and asked them how to use their application, surely they would be the best place to start. 2. There is an ASP.Net forum for ASP.Net questions Cheers Kev

    C# csharp asp-net help tutorial

  • MDI data storage in XML
    E exhaulted

    You'll have to be more specific, what happens when your write function is called? are any exceptions thrown? Maybe show some code?? If you don't give details then no one can help you:-D Kev

    C# help xml

  • Conversion to xml
    E exhaulted

    if everything is going to be space delimited then it's definately possible.

    string s = "abc=100 bc c=50 def=20"
    string[] strings = s.Split(" ");

    This will give you an array of xml elements split at each space " ". Then you've just gotta go through each one and work out whether or not it has an operator and create your xml file. Just make sure that the only spaces in the string are between elements, if you need spaces elsewhere then use a different character like a comma.

    string s = "abc=100,bc,c=50,def=20"
    string[] strings = s.Split(",");

    Cheers Kev

    C# xml question

  • how to get items count <b>OF</b> an Enumaration?
    E exhaulted

    It wasn't clear at all, i assume you are after the number of options in a specified enumeration??

    string[] enumCount = System.Enum.GetNames(typeof(myEnum));
    MessageBox.Show(enumCount.Length.ToString());

    That should give you what i think you're after. Cheers Kev

    C# tutorial question

  • Fill Data in PDF file through Programming
    E exhaulted

    Try contacting the people you got the editor from and see if they have a command line option for inserting the text you want, then you can call it from your Process.Start as above. Kev

    C# help question

  • Web Application Organised File Structure
    E exhaulted

    Try asking in the web development forum rather than the C# one, more chance of you getting the answer you're after Kev

    C# javascript winforms

  • System.Type
    E exhaulted

    I'm not sure what you're trying to do but you can get at the sql datatypes using the System.Data.SqlDbType enumeration. Kev

    C# database tutorial question

  • Prevent Multiple Forms
    E exhaulted

    Have a bool value and set it to true when the export object is created.

    bool exportCreated = false;

    private void View_Click(object sender, EventArgs e)
    {
    if (!(exportCreated))
    {
    Export export = new Export();
    export.Show();
    exportCreated = true;
    }
    }

    Until you set exportCreated to false a new export object will not be able to be created. Cheers Kev

    C# question

  • File Access over a UNC
    E exhaulted

    Hi folks, anyone know how to access files using a unc name and a fileStream? The user will have to provide the correct login details on a form i have created but i don't know how to create the connection to get at the files. Cheers Kev

    C# tutorial question

  • Mapping a Drive at runtime
    E exhaulted

    Yeah i found that. The example i gave was from the comments section of that article. The class used in the article requires you to provide a drive letter. The ideas used in the comments section at the bottom of the article givesa a way of doing it without using a drive letter but i can't get it to work. All i want to do is access some files using a unc name and the relevant login cridentials. Cheers Kev

    C# sysadmin csharp com help
  • Login

  • Don't have an account? Register

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