Help with interesting VS2010 and SQL2008 bug

Posted by user355770 on Stack Overflow See other posts from Stack Overflow or by user355770
Published on 2010-06-10T17:23:50Z Indexed on 2010/06/10 18:03 UTC
Read the original article Hit count: 218

Hey

So im using Visual Studio 2010 to create a webpage. im calling some tabels from sql server 2008

here is where im confused...

The code runs fine no errors. The pages works except im missing my rows in my 3rd column from the table. Everything else shows up.

Ive checked to make sure the names are matching everywhere and that in sql the joins and such worked.

Its just very weird that i'd be missing my 2 rows from the 3rd column.

anyone have any ideas to help??

the error is in the tab called research material

            else if (tabTagId == "tpArlington_ProjectInformation")
            {
                repArlington_ProjectInformation.DataSource = ds;
                repArlington_ProjectInformation.DataBind();
            }
            else if (tabTagId == "tpArlington_Plan")
            {
                repArlington_Plan.DataSource = ds;
                repArlington_Plan.DataBind();
            }
            else if (tabTagId == "tpArlington_ResearchMaterial")
            {
                repArlington_ResearchMaterial.DataSource = ds;
                repArlington_ResearchMaterial.DataBind();
            }



            else if (Session["projectAbbreviation"].ToString() == "ARLING")
            {
                tpArlington_ProjectInformation.HeaderText = "Project Information";
                tpArlington_ProjectInformation.Visible = true;
                tpArlington_Plan.HeaderText = "Plan";
                tpArlington_Plan.Visible = true;
                tpArlington_ResearchMaterial.HeaderText = "ResearchMaterial";
                tpArlington_ResearchMaterial.Visible = true;
                getTabData("tpArlington_ProjectInformation");
                getTabData("tpArlington_Plan");
                getTabData("tpArlington_ReasearchMaterial");
            }

the 2 other tabs work perfect. the research material is where the problem is. the stuff in the tab doesn't come up. the text in the tab DOES come up but not the stuff from sql.

the stuff in sql looks good, the ids match and everything is joined properly otherwise the other 2 tabs wouldnt work. that is what is confusing me.

any suggestions or specific info you need just ask.

thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET