Hi Everyone! I need some help. i am working on .net client server application.Thi s application is using on both server/client side enitity framewok of same entities architecture.
but from different reference (Different entities framework project).Now i have to parse the client side entity object to the server side entity object. But i am getting error in parsing!
I want you to know that
Server Side Object Context name is...
Search Result
Collapse
61 results in 0.0049 seconds.
Keywords
Members
Tags
-
Simple (get; set;) question
Hello!
I'm following a simple tutorial for creating a Twitter feed reader.
http://weblogs.asp.net/scottgu/archi...lverlight.aspx
It's really simple, and I'm stuck on one thing.
Apparently, when I'm creating
Code:public class TwitterItem { public string UserName( get; set; );
-
Thread Not Working
Can somone tell me why richtextbox text is not changing?
Code:public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { Thread t = new Thread(rtb2); t.Start(); } private
-
CLEAR the Table "login" on closing of the form
Trying to CLEAR the Table "login" on closing of the form...
Code:public void remTempData() { string delete = "DELETE * FROM login"; SqlCommand rMove = new SqlCommand(); rMove.Connection = access; rMove.CommandType = CommandType.Text; rMove.CommandText = delete; rMove.ExecuteNonQuery();
Last edited by Niheel; Oct 13 '11, 12:56 AM. -
Is a 'field' but is used like a 'type'
Code:long A1Ptr; dictPropId.TryGetValue("A01", out A1Ptr); PropDefInfo[] A01PropDef = GetPropertyDefinitionInfosByEntityClassId("FILE",A1Ptr.ToSingleArray()); A01Valid = A01PropDef[0].ListValArray;
I am getting 2 errors in this segment of code, whcih is meant to access content from a "pick list".
1. "dictPropId ", "A01Vaild" and "A01PropDef "... -
Sharing variables and methods between classes
I have recently come across a situation where various non-related class need to share variables and methods. The first thing that came to my mind was to make a static class with static variables and methods which works fine, but I was wondering if there was a more OO way of doing this. Thanks in advance! -
Client-Side printing of Crystal Reports
I have a webpage with a button to invoke a report.
What I want to do is to automatically print the report in my local printer without having to show the report.
NOTES:
1. I cannot use PrintToPtinter because it runs in server-side.
2. I cannot use window.print() since I intend to print the report called and not the current page.
Can somebody please help me resolve my problem? -
Why is StreamWriter not working?
Im trying to write a class to replace strings in a text file but for some reason StreamWriter will not work in my class. Its not throwing any exceptions or anything its just not writing to the text file. Also I used to have a destructor in my class but it was throwing an exception when I tried to close or dispose outFile.
Code:class TextReplacer { private StreamReader inFile; private StreamWriter outFile;
Last edited by Niheel; Apr 17 '11, 07:40 AM. -
Sending Images Over a Network Stream
Hi i am making a simple HTTP Server using TCP/IP sockets for a project.
i have a method to get an image and send it over to the browser but i am having problems doing so, i have tried doing it different ways but nothing seems to be working.
the browser asks for the image, the server sends the head along with the image but the browser never shows the image. the server works fine for all the html/css files i have send... -
HTTP Server Response Headers
Hi i need to make a BASIC HTTP server for a project using JUST TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =).
Anyway my problem:
i have created the server and it all works so far but i haven't implemented the HTTP Headers properly, if i leave out all the headers i wrote then some browsers work fine with it (can't remember which) but when i add... -
Is there a TabPageRemoved event in C#?
I am trying to trigger an event when a tab page is removed from my tabControl in C#. I have found a ControlRemoved event and implemented it but when I remove the first tab from my tabcontrol the event is not trigged. The event works for all other tabs being removed (including the tab that would not trigger the event the first time)..
Code:tabControl1.ControlRemoved +=new ControlEventHandler(tabControl1_ControlRemoved);
Code:private
-
Alex Dransfield started a topic How do I INSERT the values of variables into an Access table using SQL?in AccessHow do I INSERT the values of variables into an Access table using SQL?
I am trying to record certain incidents in my C# program, such as a user logging in or accessing the database.
I am attempting to use something like
Code:OleDbCommand writeLogs = new OleDbCommand("INSERT INTO [LOG] (username, firstName, lastName, logDetails) VALUES (user, fName, lName, details);", connection);
-
Does anyone see the mistake in this code ?
Hello there !
I'm writing four in a row in csharp.
It's almost done, the only problem is the control for when there actually is four in a row.
I have vertical and horizontal working perfectly fine, diagonal from down-left to right up should work to.
Only if i put in the code i found for left-up to downright, sometimes i get a random message that a player won.
Does anyone see the mistake ?
... -
Why is my string being converted to ASCII when it's read in?
Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Collections; namespace LinearSearch { class Program { static void Main(string[] args) { string toFind = ""; Console.WriteLine("Linear Search"); Console.Write("Enter
-
How to delete a tab page created in one method from another method?
For example, if I want to do this
Code:private void ProcessLogin() { TabPage welcomeTab = new TabPage("Welcome"); welcomeTab.BackColor = SystemColors.Control; tabControl1.TabPages.Remove(loginTab); tabControl1.TabPages.Add(welcomeTab); }