blah blah blah is here! blah blah » Close

0
votes
0 answers

C# Linq to Entities - Reference.EntityKey

C# Linq to Entities - Reference.EntityKey Now that I have built a database and here is the corresponding SQL code: [url]http://www.mediafire.com/?f4a0d74j7qe7a1f[/url] Visual Studio 2008 SP1’s ADO.NET Entity Framework has g ...

0
votes
0 answers

Searchable Class Or XML

I have never really been one to do much with XML before and was never really heavy in creating custom classes but the way everything is going its looking like that has to change. So here is what I am trying to do and you tell me what is ...

0
votes
0 answers

C# Linq to SQL

Hi, I'm currently doing an ExecuteCommand within Linq to SQL and one is working but the other is not. This one does not work. dc.ExecuteCommand("Update {0} Set {1} = {2} Where {3} = {4}", cha.Change_Table, cha.Change_Field, ...

0
votes
0 answers

Tips for better implementation of Winform C# code with following requirement

Hi, I am a newbie to C# and OOP.. I need some advice regarding my requirement.. 1st Part: There are persons who use mobiles, of many subscribers and also have many numbers in each subscribers. If we consider the XML tags it woul ...

0
votes
1 answers

Linq question to extract items

I have the following: <emphasis role="bold" xmlns="http://something> <emphasis role="underline">Bold with underline</emphasis></emphasis> I am trying to use linq to extract the words &q ...

0
votes
0 answers

LINQ: Show parent table value in child table Gridview while using Databinding Source

hello, i have two tables containing a picture gallery 1. Album (parent) 2. Photo (child) i want to show 'photo table' into gridview using a binding source. but 'photo table' show last column (which is the foreign key) as ...

0
votes
1 answers

Linq

How can I convert the line below line to vb.net var query = from u in db.Users select new { FirstName = u.FirstName, LastName = u.LastName, FullName = u.FirstName + " " + u.LastName };

0
votes
1 answers

LINQ To SQL Rollback problem

Hi I'm using c#. I have create a stored procedure in my SQL Server 2005 db for deleting clients. The reason I used a stored procedure is because in order to delete a client I have to delete several other records from different tables tha ...

0
votes
1 answers

Linq

Having the following rows Maskid. Desc. Cost 1. One. 5 1. One 10 2. Two 20 How can I get the following result 1 one 15 2. Two 20 Using linq

0
votes
1 answers

C# how to use linq query to get column types

I have the following: Dictionary<int, List<DataRow>> fundValues What I need is based off the very first record for a column called "ValueFooted", I need to find out the type this column is (already know it is a ...

0
votes
1 answers

subtracting arrays

AK01
15

Hi there! Here is the snippet: [code]// Get a list of invalid path characters. char[] invalidPathChars = Path.GetInvalidPathChars(); // Get a list of invalid file characters. char[] invalidFileChars = Path.GetInvalidFileNameChars() ...

0
votes
1 answers

Need help with Linq to remove an xml tag

I have the following: <section name="Test"> <Statement Type="XX"> <Names> <Proper Name="My Name" /> </Names> <AccountPeriods> <Period Ty ...

0
votes
1 answers

Take an xml file, and initialize a Dictionary<string,string> using linq

Rick_A
761

Given the following xml: [code] <messages> <message att1="att1value">value1</message> <message att2="att2value">value2</message> ... </messages>[/code] I wish to load a XD ...

0
votes
1 answers

Linq

Calling RemoveAll on a collection, is there a way to wire an event so as the collection item is being removed a method will be triggered?

0
votes
2 answers

Using linq to insert multiple items.

I'm making a program that allows users to create a "Book" in a table row, and then, if desired, will create a relationship with already created characters in that book. This is all triggered by a button click and what I have is be ...

Feedback