Left outer join with Linq and multiple join conditions
I have to perform a left outer join on two datatables, however with two join conditions instead of the standard one. Is there any way of doing this? The sql equivalent i | | 1 | 1388 | 5/20/2008 4:40:15 AM |
Need help with WHERE clause
Hi!
I am trying to retrieve the data according to today's date. Previously, I used single table to store my data and retrieve it. Now, I am using relational database.
| | 1 | 55 | 5/20/2008 4:32:03 AM |
how to generate excel report from by accessing data from sql server 2000 th ro' asp.net 1.1 using vb
Actually i am working on asp.net 1.1 using vb.Backend is sql server 2000.
I have made a stored procedure in db and able to show those data on front end by calling that stored proced | | 1 | 61 | 5/20/2008 3:12:06 AM |
Dataview Distinct
Hi, Can anyone tell me how can i use distinct keyword in dataview.sort.. | | 3 | 121 | 5/19/2008 10:11:45 PM |
Typed Dataset and scalar return type
I have an existing stored procedure that I am using in a typed dataset table adapter that retrieves one value. It is just a lookup procedure that finds a product based on id, and returns the one | | 1 | 75 | 5/19/2008 8:12:24 PM |
LINQ to SQL: Association error
Hello.
I've been trying to make an association between the two entities Customer and CustomerUser
Take a look at the source code for the two classes: | 2 | 87 | 5/19/2008 8:03:13 PM |
LINQ - how to insert null DateTime into database column?
Using LINQ, how do I insert a null value into a SQL Server 2005 DateTime column?
The code below inserts "1/1/1900 12:00:00 AM" for startdate and enddate
| | 4 | 772 | 5/19/2008 7:47:29 PM |
Failed to enable constraints
I'm getting this error
Failed to enable constraints (ConstraintException). I've been struggling to understand where the error exists because I check the SQL resu | | 7 | 60 | 5/19/2008 7:21:17 PM |
BulletedList with LINQ query
Hello, I was wondering if anyone could tell me what the property values for DataTextField and DataValueField would be from the results of the Sub below. Basically I have a BulletedLis | | 5 | 66 | 5/19/2008 6:49:49 PM |
Insert Null into Database
All, How do I insert a null value into a database? I have a text box that is not required, and the database has this field as "Allow Nulls". If the user enters a | | 4 | 53 | 5/19/2008 6:12:11 PM |
ObjectDataSource not executing SelectCount method
<asp:ListView ID="ListViewFavoriteQuotes" | | 0 | 53 | 5/19/2008 4:00:31 PM |
Using DAAB with stored procedures
I am using the MS DAAB to retrieve data from a stored procedure with input and output variables. Everything I've read, says to do something like this: (Inputs) db.AddInParamater(dbCmd, | | 0 | 57 | 5/19/2008 3:35:20 PM |
"Cannot enable constraints" occurs when more than one user attemp ts to update database
I am in a pickle. I have a live server that presents a series of options to a user and then they pick one. The postback functions make a call to a function, SaveChoiceIteration, designed to | | 1 | 49 | 5/19/2008 3:09:33 PM |
column "id" does not belong table
hello.....
when i want to insert data .... it appear this error
Column 'id' does not belong to tabl | | 3 | 71 | 5/19/2008 3:05:59 PM |
get property of datatable throws exception on NULL value. Why?
Hi all, When I get a the property of a row of a strongly typed dataset, the designer writes code so it throws an exception if the value of the property is NULL because it can't co | | 3 | 50 | 5/19/2008 2:52:06 PM |
Error Message: No overload for method 'SqlParameter' takes '1' arguments
Dear All,
I have a problem while trying to update the content of my page to the database by the means of a stored procedure | | 3 | 59 | 5/19/2008 1:15:19 PM |
Problem filling DataSet with Stored Procedure
Hello there
I'm trying to call a Stored Procedure to fill a Dataset and I am getting this error: Incorrect syntax near 'JobSearch'
The Stored procedure e | | 2 | 72 | 5/19/2008 12:55:18 PM |
Get row Object from ObjectDataSource
I have an ObjectDataSource that contains a custom object (contains some nested generic lists). I have a listview that has several checkboxes. If there is a checkbox checked, I'll need t | | 2 | 143 | 5/19/2008 10:07:10 AM |
DataSet BestPractice: Join DataTables or Join Tables to DataTable
hi,
what is the best practice to solve a scenario like the follwing.
i've got 2 tables in database: EMPLOYEES(id,name,department_id) DEPARTMENTS(id,name,ma | | 3 | 63 | 5/19/2008 7:21:47 AM |
How we can retrieve data fast from server
HII all,
I am varun, i am working on the state level site which is accessed by thousands of users concurrently. therefore the performance of the site, data access getting very slow. actua | | 2 | 54 | 5/19/2008 5:31:29 AM |
DAL - How to create a generic connection
I created my DAL by dragging tables onto the design surface per the MSDN tutorial. But it forced me to use my local connection string. I've set up my web.config file to I can chan | | 1 | 71 | 5/19/2008 4:55:34 AM |
using LINQ and like together
Hi There, I would like to use linq and multiple like statements. I'm really new to LINQ and i'm unsure of the syntax. Can someone please show me how to do this? | | 4 | 100 | 5/19/2008 4:52:32 AM |
Representing ALL/ANY in LINQ
Hi,
How can I write the following in LINQ
select distinct customerid from orders as a
| | 1 | 65 | 5/19/2008 3:37:23 AM |
Linq - Business Objects - nLayer - Accessing Properties
I am trying to create an nLayer application using LINQ modeled after | 2 | 78 | 5/19/2008 1:54:08 AM |
How can I use "lookup tables" to populate drop-down boxes in a Fo rmView data-entry form?
Hi, I'm using the FormView data entry control to interface with a table-adapter linked to my database. I've managed to successfully write to the database by binding with the INSERT | | 2 | 64 | 5/18/2008 9:14:33 PM |
How can i use my insertmethod on objectdatasource without having a gridview or detaislview control?
Hi Guys
Im a newbie using vs2005, vb.net, sql2005, .net2.0
I have an objectdatasource on a page with contains an insert method basically i want to be able to use the insert | | 1 | 71 | 5/18/2008 8:09:34 PM |
Compare column database with text in textbox1
Hi ,
If i have column named (email) in table named (table1) in database named (db1.mdf) and i want to compare t | | 1 | 49 | 5/18/2008 7:08:52 PM |
Pass on a id
Hi, What i'd like to accomplish is to pass on the id in this statement in a 'selectionchanged' procedure to another procedure (update/edit a record).
| 2 | 62 | 5/18/2008 6:50:15 PM |
DataSet Error
I'm getting a strange error when I try to add a dataset to the app_code folder. I simply right click on the folder -> add new item -> "choose dataset" -> | | 9 | 88 | 5/18/2008 9:47:36 AM |
retain data set during post back
I am trying to create some thing like MCQ(multiple choice question). I am able to display my question on the first page load, but not able to maintain the data on post back, i want that on | | 3 | 60 | 5/18/2008 7:22:36 AM |
Linq Limitation or my ignorance..:-(
Hello all the wise ones here.......
I have these two tables:
tasks ---------- task_id task type
orientation --------------- orientation_id | | 2 | 46 | 5/18/2008 2:27:46 AM |
Using a variable from a loop
I have a simple for loop
for x= 1 to 3
next x
I want to use the value of x to change aspects within the loop
Add( | | 2 | 48 | 5/18/2008 2:04:15 AM |
How to display data from database in a user required way
Hi all,
I have table in my DB with following columns
ID,emp_id,project_id,empfname,emplname,projname,workdate,worktype,timespent.
Following is the sample data in my table< | | 5 | 64 | 5/18/2008 1:50:34 AM |
Form View "Data type mismatch in criteria expression."
I'm not sure what this error means, but here's what the error says: Data type mismatch in criteria expression.
body {font-family:"Verdana";font-weigh | | 4 | 96 | 5/17/2008 9:45:16 PM |
Number of query values and destination fields are not the same.
Greetings !
I have been working in this application and I'm having trouble inserting data into the database. I posted a question this morning and two members helped me solved the issu | | 3 | 52 | 5/17/2008 1:14:53 PM |
LinQ: Dynamic Query Where Clause + DataTable linq query
Hi All,
I am wondering if you could help me with this...I am quire new to linq and i am trying to construct a dynamic where clause
for my linq query now | | 1 | 74 | 5/17/2008 8:21:19 AM |
Refresh dbml when database schema changes
Hi,
I have a .dbml file that I have dragged several tables on to from a database in the Server Explorer. I have written a lot of code against the model that was created.
| | 2 | 214 | 5/17/2008 3:40:27 AM |
Creating dynamic Linq Queries - how to?
Hi gang,
The article found here does a good job of describing | | 4 | 65 | 5/16/2008 10:42:50 PM |
Stored procedure returns duplicate records
Hi, I can't figure out why my stored procedure is returning so many records. The search works, but it loops through the record thirteen times when binding them to the Gridview. I have | | 4 | 49 | 5/16/2008 7:31:03 PM |
Connect to Excel. Using x64 (64-bit) platform. Compiled as x64.
Hello,
Has anybody susessfully connected to Excel from an ASP.NET Website that is running on X64 platform?
The only solution I have found is to convert my website to a W | | 2 | 52 | 5/16/2008 7:29:28 PM |
LINQ to SQL - SubmitChanges not working
I have an XML string in memory, which I want to write to my database. I'm using LINQ
But SubmitChanges() isn't working. Everything works fine up to that point, and all the values | | 2 | 118 | 5/16/2008 7:14:23 PM |
Copy tables from one database to another?
Hello there,
Is there an easy way to copy alle tables from one database to another? I have not really tried to create tables or copy or something like that, so i dont even know if it | | 1 | 56 | 5/16/2008 6:59:51 PM |
Accessing one single value in a database, how difficult can it be?
| 5 | 63 | 5/16/2008 6:47:30 PM |
Custom ObjectDataSource from WCF
I?m trying to make my own ObjectDataSource in my .NET Web Project. This is
my approach:
| | 0 | 68 | 5/16/2008 4:42:36 PM |
Error on User Instance of SQL Server 2005 Express
Have downloaded VS 2008 Express, SQL Server 2005 Express, and ASP.net Data Access Tutorials 1. After creating a new web site for the Data Access Tutorial 1, I also created the Nor | | 4 | 55 | 5/16/2008 3:40:17 PM |
get output parameter from objectdatasource
i have seen a lot of examples of how to get the output parameter from a proc when data is inserted but how do i get the output parameter when the page first loads based on a select query. & | | 6 | 130 | 5/16/2008 3:38:36 PM |
help don't succeed in getting right data in my repeater
I am trying to show names and counts in a repeater.
Have two tables here. Votes and Medicines. Votes has the votes and a foreign key (FK_MedicineID) to the Medicine table.
I | | 1 | 60 | 5/16/2008 2:15:42 PM |
MySQL DAL question
Please forgive me if this has already been asked. Following this article http://www.asp.net/learn/data-access/tutorial-01-cs.aspx, I've got my DAL created for my MySQL database, however, I' | | 5 | 68 | 5/16/2008 1:57:29 PM |
Use button to update a single row in a database table
On my form I am wanting to hit the "submit button" which uses a stored procedure to update a single row in the database. I've been trying several things but haven't worked yet. | | 15 | 55 | 5/16/2008 1:08:23 PM |
one random question dislpay randomly once in 10 mins
I have a table called QuestionBank in sqlserver database with 50 questions,and i have exams.aspx page.
In that page i have to display one question randomly,the question would b | | 1 | 45 | 5/16/2008 12:21:30 PM |