Type: Posts; User: Lars_V_J
Search took 0.03 seconds.
August 20th, 2015, 06:56 AM
I've tried to use both doc.DocumentElement.SelectNodes() and doc.SelectNodes() (not sure what the difference is) to get my hand on some of the data.
I need to get the value of:
July 28th, 2014, 02:11 PM
It is on an intranet...
I even ran the browser on the server
July 26th, 2014, 02:46 AM
I have a webapp where the user can make excel sheets. It's been working fine for some time, but suddenly things start to fail.
When I initialize my Excel process I get an exception.
I have a textbox in my aspx (C# backend) where I've made a TextChanged event function (and I have set AutoPostback to true).
This apparently only fires when I press Enter. How to make it fire on...
I found the error. After adding a bucketload of log statements, I found out that some of the data in a following foreach loop where I fetch data from the table was actually null in the...
I believe it is the call to the function that fails, although it places itself on the } that closes the function. Everything in the function is in a try-catch.
But the fun thing is really, that...
I have a function
public List<LabelCreatorDataClasses.LabelLog> GetLabelLogData(States ?state)
For templatefields, I can get data from a textbox in my GwRowUpdating function by
obj.Name = ((TextBox)(GridView1.Rows[e.RowIndex].FindControl("TxtName"))).Text.Trim();
And I've seen people...
I tried something else. I tried to use just the messagebox, and disable all my DB access. Then it closed really fast.
But my db connection is closed and disposed before I ever show the message...
I have a very simple console program that looks up something in the database, and if it finds something, shows it in a messagebox.
The lookup is fast, but the time from I click "Ok" in the...
I have some code, where I serialize some data from EF into XML and post it to a webservice.
The response is also XML, and now I want to deserialize that into EF tables.
The EF tables correspond...
The problem is, that my request comes from a gazillion tables (and there might be more in the future. But all have an EntityKey field which I don't need etc.
The things i _need_ are always different...
I'm making XML files from Entity Framework objects using this code:
XmlWriterSettings settings = new XmlWriterSettings();
settings.Indent = true;
February 27th, 2014, 06:55 AM
Also: can I remove the part that deals with normal http? And if so, can people still autogenerate client code?
February 27th, 2014, 01:26 AM
I have just the web.config, and I'm running on VS2012's built-in webserver. The only other config I could thing off is the IIS machine.config when I deploy (but I haven't done that yet).
February 26th, 2014, 09:06 AM
I've tried to configure my ws to run https, but with no luck.
When I try to access the WS using https, it just times out.
I hope someone can help
January 7th, 2014, 04:37 AM
If I have a laptop which has its own keyboard as well as a usb keyboard, a touchpad and a mouse, is it then possible to identify which device gave the input (laptop keyboard vs usb keyboard - one of...
October 9th, 2013, 03:22 AM
Okay...this was weird...
I made this hack to my code:
public int Length<TEntity>(string field)
var item =...
October 9th, 2013, 02:52 AM
I tried to add a function looking like this
public int Length<TEntity>(string field)
var Context = ((IObjectContextAdapter)entityFramework).ObjectContext;
October 9th, 2013, 02:48 AM
entityFramework = new TCXMLIEntities();
public partial class TCXMLIEntities : ObjectContext
October 9th, 2013, 02:47 AM
public bool VerifyOrderNumber(int OrderNumber)
October 9th, 2013, 02:34 AM
I've been looking for at way to ask EF about the max length of columns to avoid truncation errors.
I found these two articles:...
September 19th, 2013, 09:16 AM
My customer complains that a webapp shows a blank page (also when he tries "View Html" in the browser when he leaves the webapp for some hours. Any idea what could cause that?
September 3rd, 2013, 03:19 AM
What is the best/easiest way to encrypt a connection string in the app.config file?
MS has a lot of articles on this, but I'm not sure which is the easiest and which is the best etc.
August 9th, 2013, 03:28 AM
I get the errors:
Error 1 Error 10027: The XML namespace for the conceptual model's Schema element is not supported on this project's target framework...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!