Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for ITech

can anyone help..plz i have a form called transaction view.in this form there is two datetime picker.dtpstart and dtpEnddate.i want to pass these two values to report such that the report will display transactions occured in the range specified by th e datetime picker there are 3 tables in my …

Member Avatar for DdoubleD
0
468
Member Avatar for MJV

I have a datepicker on my form that I need to use as an integer value in the form yyyymmyy in an sql procedure. Can anyone tell me how to extract the datepicker value to an integer variable? Thanks

Member Avatar for serkan sendur
0
3K
Member Avatar for MJV

I have code that is giving me the following errors The best overloaded method match for 'EstimatorC.EstimatorDataSet.QuoteCalcHeaderDataTable.this[int]' has some invalid arguments E:\VisualStudioProjects\EstimatorC\EstimatorC\Estimate.cs 1653 13 EstimatorCArgument '1': cannot convert from 'string' to 'int' E:\VisualStudioProjects\EstimatorC\EstimatorC\Estimate.cs 1653 46 EstimatorC Code: private void findBN_Click(object sender, EventArgs e) { string aFilter = ""; ////Search name …

Member Avatar for JerryShaw
0
129
Member Avatar for MJV

I have the following error: Argument '1': cannot convert from 'string' to 'int' E:\VisualStudioProjects\EstimatorC\EstimatorC\Estimate.cs 1653 46 EstimatorC Any help is appreciated. Note estimateno is an integer in the table QuoteCalcHeader. with this code: private void findBN_Click(object sender, EventArgs e) { string aFilter = ""; ////Search name starts with aFilter = …

Member Avatar for Ramy Mahrous
0
85
Member Avatar for MJV

I have searched everywhere but im not able to determine if you can show two or more data fields in a combo box. If so can anyone help me with the code to do so as I am stumped. Thanks in advance.

Member Avatar for kvprajapati
0
64
Member Avatar for MJV

I have a c# program that uses crystal reports to print a quote. When I run the code off the internet site it does not bring up the database name in the logon screen of crystal reports nor does it allow me to enter this. When I run the program …

Member Avatar for jerry32uk
0
109
Member Avatar for MJV

Is there a way to have a multiple field combo box using Microsoft Visual Studio with C#

Member Avatar for Ramy Mahrous
0
212
Member Avatar for MJV

I have a program that has several forms that uses the same sql data table through the same data source and dataadapter tables. Is this ok if more than one form is being used at the same time which references the same data adapter table.

Member Avatar for ndeniche
0
59
Member Avatar for MukeshZ

Hi I am facing logon Failed problem in VB.Net Crystal Reports after i deployed it at client side... A window showing Database name, user name, Server and password I fill it manually still it fails... Can any one help me to sort out this solution... Thanks :)

Member Avatar for maczoon
0
682
Member Avatar for MJV

I have the following code that executes an sql stored procedure and I pass a customer name and customer contact to the procedure to use to create a new record in a table. When I execute the stored procedure in sql it inputs the customer and contact in the new …

Member Avatar for JerryShaw
0
114
Member Avatar for MJV

Im working on a project that involves attaching attaching the results of a crystal report to an oultlook email and forwarding it. Can anyone point me in the right direction on knowledge to perform this.

0
63
Member Avatar for MJV

I would like to create assign a value from a combo box selection to a variable. I'm not sure how to do this as im new to programming. I know how to trigger the assigment of the variable from the combo box when the combo box changes but Im not …

0
71
Member Avatar for MJV

I have a form with combo boxes and calculations based on the value of the combo box. I set a default value in the combo box on loading the form but this value is not seen for calculations unless i go and reselect it with a mouse pick. What is …

Member Avatar for MJV
0
115
Member Avatar for MJV

I have a form with datepicker. This datepicker comes up with the current date automatically so is not usually selected by the user. Unfortunately because the field is not selected it is not validated and the attached table is not updated with the date. Im struggling with code to validate …

Member Avatar for sknake
0
84
Member Avatar for MJV

I have a stored procedure which returns a parameter @quotenum when run in sql but I'm having trouble getting a return value in my C# form. I'm trying to get the message box to show the @quoteno parameter but im failing misserably. The connection is working an the parameter @estnum …

Member Avatar for Seemant
0
188
Member Avatar for MJV

I have created and tested a stored procedure that works in sql. This stored procedure has one parameter that it requires to run "quoteno" . I already have the database attached to the form. Can anyone help me with the code for this. The name of my stored procedure is …

Member Avatar for JerryShaw
0
218
Member Avatar for MJV

I have a solutin with forms that use table adapters to input data into sql tables and that all works fine. My trouble comes when I have another form that uses a sql stored procedure. When I try to connect to the server I get an error that the login …

Member Avatar for JerryShaw
0
142
Member Avatar for MJV

How can I stop this error, here is my code and there error occurs where i have decimal.TryParse(.... class EstCalc { static void Variables (string[] args) { decimal bl; //blank length decimal bw; //blank width decimal bp; //blank perifery decimal pd; //part depth decimal dq; //die quantity decimal.TryParse(quantityTB.Text, out dq); …

Member Avatar for Rashakil Fol
0
108
Member Avatar for MJV

I have a case statement that evaluates a string in a combo box on a form which is either English or Metric. What I'm finding is that the case statement does not see the pull down box contents which is loaded by default unless it is physically reselected by the …

Member Avatar for bcasp
0
403
Member Avatar for MJV

I have a quote program I have made and i'm looking for a way to lock the records once it has been approved. I have a form that is filled out and a calculation that is done based on the fields that are linked to an sql table. What method …

Member Avatar for LizR
0
121
Member Avatar for MJV

I have some code that checks a value in a combo box before it executes but it does not appear to be seeing the value selected in the combo box until I select the item in the combo box for a second time. Note the value in the combo box …

Member Avatar for LizR
0
83
Member Avatar for MJV

What would be the most efficient way to check that a series of text boxes are completed prior to allowing the execution of code since executing the code without values being completed errors out the program.

Member Avatar for LizR
0
94
Member Avatar for MJV

If I have code that is executed by a button statement and I would like this code to be executed at different times from other actions can I use a goto stateent to execute it? If so how. I can't seem to find a correct way or method to label …

Member Avatar for Rashakil Fol
0
97
Member Avatar for MJV

Im getting an "unknown selection" error on this code. Can anyone help me. I don't know what is wrong. My two text boxes both have English selected. blankl and blanlkw have both been initialized as decimals. if (bunitsCB.Text == "English") { switch (dieunitsCB.Text) { case "English": dielTB.Text = Convert.ToString(blankl + …

Member Avatar for sknake
0
286
Member Avatar for MJV

When i write case statements my last line is always: default: throw new Exception("Unknown selection"); how can I change this so a message comes up for the user to do something with the data he or she inputted so the default will not occur.

Member Avatar for sknake
0
326
Member Avatar for MJV

I need to create a table that will display different variables. Is there a canned table control I could use.

Member Avatar for ddanbe
0
78
Member Avatar for MJV

Im trying to assign a decimal value of 1 to a variable if a check box is checked but I having trouble getting it to work. Here is my code: decimal nitrodsgn; decimal lnitro; decimal unitro; if (nitrogenLowerCheckBox.Checked) lnitro = 1; if (nitrogenUpperCheckBox.Checked) unitro = 1; nitrodsgn = (lnitro + …

Member Avatar for sknake
0
88
Member Avatar for MJV

I have a form that has a table adapter for a table called costing. Im not using any of the items in this table in any textboxes etc.. on the form but I would like to use them in calculations that will give results to put in text boxes on …

Member Avatar for MJV
0
82
Member Avatar for MJV

I have a text box designTB and a double variable totaldsgn. I cannot create the following equation because the designTB is a string and totaldsgn is a double designTB.Text = totaldsgn I have tried this and it still does not work designTB.Text = totaldsgn.tostring Any suggestions? Is there a way …

Member Avatar for MJV
0
106
Member Avatar for MJV

Im new to C# and having trouble with this code: I have a combo box on a form optypeCB and when a particular type is picked(Draw,Form,Pierce,Trim) I would like a numerical value assigned to a text box designhrsTB. My code is as follows but it does not work can anyone …

Member Avatar for Rashakil Fol
0
292