Advertisement

07.01.2008 at 03:13PM PDT, ID: 23531904
[x]
Attachment Details

Show something in the datagrid other then empty. No row returned.

Asked by mathieu_cupryk in C# Programming Language, Microsoft Visual Basic.Net, Microsoft Visual C#.Net

       private void CompareListReport(string previousID)
        {

            //Instantiate Dataset
            System.Data.DataSet DataSetDelete = new System.Data.DataSet();
            System.Data.DataSet DataSetChange = new System.Data.DataSet();
            System.Data.DataSet DataSetAdded = new System.Data.DataSet();
            string Status = null;
            InitialPriceReporting.InitialPriceReportingServiceWS.InitialPriceReportingService WS = new InitialPriceReporting.InitialPriceReportingServiceWS.InitialPriceReportingService();

            DataSetDelete = WS.ComparePriceListDelete(previousID, dr["PRICE_LIST_HDR_ID"].ToString(), ref Status);

            DataSetChange = WS.ComparePriceListChange(previousID, dr["PRICE_LIST_HDR_ID"].ToString(), ref Status);

            DataSetAdded = WS.ComparePriceListAdded(previousID, dr["PRICE_LIST_HDR_ID"].ToString(), ref Status);

            DataSetAdded.Tables[0].Columns.Remove("GRADE_CODE_DTL_ID");
            DataSetAdded.Tables[0].Columns["GRADE_NAME"].ColumnName = "Grade Name";
            DataSetAdded.Tables[0].Columns["STRGHT_PRICE_AMT"].ColumnName = "Straight Price Amount";

            DeleteDataGridView.DataSource = DataSetDelete.Tables[0];
            ChangedDataGridView.DataSource = DataSetChange.Tables[0];
            AddedDataGridView.DataSource = DataSetAdded.Tables[0];

        }

I need to modify the above so when there is nothing being returned like all three grids.
put a message inside say no result returned. People do not understand count 0.

See file.Start Free Trial
Attachments:
[+][-]07.02.2008 at 06:16AM PDT, ID: 21916001

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2008 at 01:33PM PDT, ID: 21920453

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.05.2008 at 09:18PM PDT, ID: 21939279

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 04:29AM PDT, ID: 21944036

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 07:43AM PDT, ID: 21945460

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 08:01AM PDT, ID: 21945642

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 08:24AM PDT, ID: 21945881

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 08:35AM PDT, ID: 21945972

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 09:29AM PDT, ID: 21946456

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 09:36AM PDT, ID: 21946507

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 09:38AM PDT, ID: 21946521

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 09:44AM PDT, ID: 21946562

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:00AM PDT, ID: 21946701

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:09AM PDT, ID: 21946778

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 10:30AM PDT, ID: 21946961

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C# Programming Language, Microsoft Visual Basic.Net, Microsoft Visual C#.Net
Sign Up Now!
Solution Provided By: iboutchkine
Participating Experts: 1
Solution Grade: A
 
 
[+][-]07.07.2008 at 04:12PM PDT, ID: 21949390

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 04:25PM PDT, ID: 21949457

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628