How do I write a where statement that will exclude records if both conditions are met.
example:
var filteredRecords=AllRecords.Where(w=>w.Amount!=0 && w.Sales!=0);
so if any record had amount=0 or sales=0 I want to include.
I only want to exclude records where BOTH sales and amount are equal...
Is there a way to dynamically resize the legend of a chart based on the number of items being displayed?
example: I have a pie chart that shows sales per state
Currently I only have sales in 3 states so the legend shows those 3 states.
but lets say after 1 year I have sales in 15 states I...
I am trying to use the mget command and download all csv files to a specific folder.
I tried the following code but i wasnt able to successfully download the files.
cd /outgoing
mget *.csv \\ServerA\MorningFiles\Download
This is the error message I received:
"open for read: no such file or...
Does anyone know whow to add two lines in a header for an export to a text file?
Basically i transferring data from sql table to a text file but i need two header lines in my text file
example :
Version-5.1
spr-comma delimitted
7647, john smith, 123 main st, newport, ri
3459, jane collins...
I'm trying export data from a sql server table to an Excel file using SSIS.
1. Is there a way to get the package to override the file every time it runs?
2. Apparently SSIS does not allow implicit conversion. For some reason I keep on getting an error that I cannot convert between unicode and...
I have a DTS package that runs a Vb.Net executable program. I would like to pass a argument from the DTS package to the Vb.Net app without having to enter the argument in the console manually.
Every time I try to run the DTS package and vb.net app the Console appears and waits for my input. How...
I have a DTS package that runs a Vb.Net executable program. I would like to pass a parameter from the DTS package to the Vb.Net app without having to enter the parameter in the console manually.
Every time I try to run the DTS package and vb.net app the Console appears and waits for my input...
Hi..
I was wondering if it is possible to give the user the option of selecting a date range and based on the date range that they select the cube will show the associated data.
I was wondering if anyone knows how to pass a value from a textbox in frame1 to a variable in frame2.
Here's what I'm trying to do:
I have a frameset with 2 frames. I have a save button on frame2 that saves data in that frame to the database. but i would also like to pick a value from frame1...
Hi.........
I have 3 webforms (page1, page2 and page3)
On page1 there is a button that opens page2. At is time i page1 and page2 open. On page2 there is a button that opens page3. At this time i have page1 and page3 open.
now here is my problem.............
From page3 I would like to pass a...
Is it possible to use the Crystal Report Viewer in VB6 without installing the Crystal Report application.
i.e. Can i use the Crystal Report Viewer like i would use a flexgrid, just set the datasource and have the data display in the Crystal Report Viewer like i would in a flexgrid.
I'm using VB 6 front-end with MS Access 2000 back-end.
using an ADO recordset, i'm attempting to load data from a recordset to a data grid, however i keep on getting an error message "Cannot initialize data bindings" when i use the "datagrid.rebind" method. if i remove the...
Hi....
on machine A i right click to register a server
i type the server name but i get a message saying the server with name i entered is incorrect, but it is correct
any ideas?
I want to create a package in DTS (on SQL 2000) to update a cube on a daily basis and then schedule it. I know how to schedule the package but what i'm not sure how to do is tell the package to perform an incremental update based on the current date. So that each day i would not have to change...
Hi...
I have a page with 2 frames: mainpage and subpage
How do i save data from 2 frames with only one submit button?
on main page i have a submit button that when clicked, i want to save the data (that the user entered) from mainpage and subpage?
Thanx
Sam
The following is the line of code i've been having trouble with:
<td>
<input type=radio name="Flavor" onclick=window.location="P123.html" target="smallframe">
Flavor</td>
I have a page with 2 frames (bigframe and smallframe)
on "bigframe" i have a radio...
If I have a fucntion in vb script or java script, how can i call that function from inside ASP.
ex:
on page1 a user enters information and then clicks on "Save"
by clicking on "save", page2 in invoked .
In page2, which the user never sees I use ASP to call the Dll and then...
Does anyone know how i can send info from a form in VB as an e-mail with the info being the subject, message, and user's e-mail address,
but to do this groupwise and not outlook..
Sam
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.