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

esjq

@esjq
About
Posts
32
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Beginners question on deployment/installation
    E esjq

    Thank you! :-)

    WPF csharp visual-studio wpf wcf sysadmin

  • Beginners question on deployment/installation
    E esjq

    Hi! I've created a small application, a WPF client which is talking to a WCF service. My app is self-hosted. Now, I'd like to run this outside the IDE (Visual C# 2008 Express Edition). That is, to deploy/install my app. I'd really appreciate some advice or links on how to do this. I've been looking around, but I still need some entrance to this somewhat fuzzy area. Thanks a lot!

    WPF csharp visual-studio wpf wcf sysadmin

  • Databinding driving me crazy!
    E esjq

    Thank you guys! It worked with the datatemplate stuff. Have a nice day :-)

    WPF csharp wpf question wcf data-structures

  • Databinding driving me crazy!
    E esjq

    Hi all! I've found lots of examples describing databinding, but still I haven't got a clue how to solve my problem. The frustrating thing is I think it is easy. But still, I'm lost... In a WPF application, I invoke a WCF service call (contactClient.GetContacts()), which returns an array of Friend objects. Window.xaml.cs:

    private void PopulateContactsListBox()
    {
    listBoxContacts.Items.Clear();
    listBoxContacts.ItemsSource = contactClient.GetContacts();
    }

    My intention is to let a listbox display the result returned from the WCF service call. And it does, but it doesn't display the actual data. Instead it displays the ToString() representation. In other words, the listbox displays the type returned by the service call; like "DataLayer.Friend". So, how do I display the actual data from the service call in my listbox? Thank you!

    WPF csharp wpf question wcf data-structures

  • WCF Events
    E esjq

    Hi all! I need some guidance regarding event handling in WCF. I'd like to have a service to notify a client of some changes, for example, a new record has been added to the database. And when the client receives the event it shall update a listbox. I really don't know where to start. I've seen some examples with duplex communication between the service and the client. But that is not the event handling with delegates and events I'm used to. Can anyone explain or supply good links to some sites describing event handling in WCF. Thanks for your time!

    WCF and WF csharp database wcf tutorial announcement

  • Finding tags and data in an xml-file
    E esjq

    Hi all! What is more effective from a performance perspective; finding an arbitrary tag in an xml-file by means of regular expressions or using the built in xml-support of .NET? Thanks :-)

    C# question csharp xml performance

  • Oracle Client 9i accessing problem
    E esjq

    Take a look at this link: http://dotnetjunkies.com/WebLog/rtgurskevik/archive/2005/01/19/45958.aspx

    C# help csharp asp-net oracle announcement

  • Text file Sorting.
    E esjq

    Take a look at regular expressions.

    C# help algorithms

  • Dataset and Datagrid
    E esjq

    You say you have set the datasource property of the datagrid to the dataset. You haven't simply forgot to call the DataBind method of the datagrid?

    C# csharp html visual-studio sales

  • How to get index/indices of a row in a DataTable
    E esjq

    DataTable dt=ds.Tables["employee"]; DataRow[] arr=dt.Select("emp_name='Joseph'"); textBox1.Text=arr[0].ItemArray["emp_id"].ToString(); Worth noting, if you have several persons named Joseph you simply can not take the first one. To obtain uniqueness it is better to work with the id-column. HTH

    C# tutorial database question career

  • problems connecting to local database
    E esjq

    Shouldn't it be like this: string c = "Data Source=(local);Initial Catalog=db.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"; HTH

    C# database csharp visual-studio graphics security

  • Select Row
    E esjq

    I really see no need to hide the first form. I would do like this instead... DataForm1 tmpForm = new DataForm1 (barry11,dataGrid, rowIndex); //tmpForm.Location = this.Location; tmpForm.ShowDialog(); //this.Hide(); ...and skip all the code to restore the first form in DataForm1.

    C# help css

  • Select Row
    E esjq

    You're welcome! :-)

    C# help css

  • Select Row
    E esjq

    I suggest you skip the event handling i the second form. I really can't see the purpose of it. But, perhaps I get it wrong. Just assign the values to the textbox in the second form. You've got all the information you need through the constructor. Like this: public DataForm1(Barry1 barry11, DataGrid dataGrid, int rowIndex) { // // Required for Windows Form Designer support // InitializeComponent(); PopulateTextBoxes(barry11, dataGrid, rowIndex); private void PopulateTextBoxes(Barry1 barry11, DataGrid dataGrid, int rowIndex) { editLASTNAME.Text = barry11.Tables[0].Rows[rowIndex]["Firstname"].ToString(); }

    C# help css

  • Datagrid select row
    E esjq

    Quick'n dirty... In the main form, when a row in the datagrid is double clicked: private void dgInfo_DoubleClick(object sender, System.EventArgs e) { Form2 frm=new Form2(ds, dgInfo.CurrentRowIndex); frm.ShowDialog(); } In the constructor of Form2: public Form2(DataSet ds, int index):this() { textBox1.Text=ds.Tables[0].Rows[index][0].ToString(); textBox2.Text=ds.Tables[0].Rows[index][1].ToString(); textBox3.Text=ds.Tables[0].Rows[index][2].ToString(); } Helpful perhaps...

    C# csharp database winforms help question

  • Problem in Altering a dbf table , table corrupts
    E esjq

    I've never worked with FoxPro, but to me it seems odd to specify the name of the database file (22.dbf) in an alter table statement. Shouldn't it be the name of the table you want to modify, like: ALTER TABLE TEST ADD COLUMN TEST1 c(10) NULL

    C# security help csharp database

  • Limiting to 2 decimal places
    E esjq

    double a = 1.76543; Console.WriteLine("{0:F2}", a);

    C# tutorial question

  • How to collapse an array?
    E esjq

    Take a look at the ArrayList. :)

    C# tutorial database data-structures help question

  • How to write a statement in several line?
    E esjq

    strSQL="Select * " + " from TB1";

    C# tutorial csharp database question

  • Channel sinks
    E esjq

    I think that the name of the formatter sink to put next in the sink chain is IClientFormatterSink with the corresponding IClientFormatterSinkProvider. Another way to achieve this is to let the custom sink implement BaseChannelSinkWithProperties, IClientChannelSink, IMessageSink. Then you have a sink prior to the formatter sink.

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