https://bugzilla.novell.com/show_bug.cgi?id=623406

https://bugzilla.novell.com/show_bug.cgi?id=623406#c2


--- Comment #2 from Yudi Wibowo <[email protected]> 2010-09-02 06:07:19 
UTC ---
Created an attachment (id=387051)
 --> (http://bugzilla.novell.com/attachment.cgi?id=387051)
Source Code of ConvertEmptyStringToNull bug

Please try test.aspx

in test.aspx.cs I added this code :

protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
        {
            string s ="";
            int numberOfParams = e.NewValues.Count;
            for (int i = 0; i < numberOfParams; i++)
            {
                if (e.NewValues[i] != null)
                    s += e.NewValues[i].GetType() + " ; ";
                else s += "null ; " ;

            }
            Label1.Text = s;
            e.Cancel = true;

        }

        protected void GridView1_RowDeleting(object sender,
GridViewDeleteEventArgs e)
        {
            string s = "";
            int numberOfParams = e.Values.Count;
            for (int i = 0; i < numberOfParams; i++)
            {
                if (e.Values[i] != null)
                    s += e.Values[i].GetType() + " ; ";
                else s += "null ; ";

            }
            Label4.Text = s;
            e.Cancel = true;
        }

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to