Author: nicholasstark | Posted on: 2/20/2010 10:33:43 PM | Views : 797

Hey there guys.  Any help here would be appreciated.  When the compiler gets to sid =  dv.Table.Rows[0][4].ToString(); it chokes if the data does not exists.  How do I get C# to not freak out when it sees a null value.  Thanks ahead of time :).  Here is the code:
protected void Page_Load(object sender, EventArgs e)
        {         
            CheckReorderStatus();
        }

        protected void CheckReorderStatus()
        {
            
            DataView dv = (DataView)SqlDataSource1.Select(DataSourceSelectArguments.Empty);


   ...

Go to the complete details ...