[Mono-bugs] [Bug 617746] Gridview, Automatic generate fields

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 28 05:19:17 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=617746

http://bugzilla.novell.com/show_bug.cgi?id=617746#c5


Yudi Wibowo <yuditriwibowo at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
       InfoProvider|yuditriwibowo at yahoo.com     |

--- Comment #5 from Yudi Wibowo <yuditriwibowo at yahoo.com> 2010-06-28 09:19:16 UTC ---
Created an attachment (id=372048)
 --> (http://bugzilla.novell.com/attachment.cgi?id=372048)
Northwind SQL Script (MySQL)

In the source code, I made dataset Northwind.xsd.

GridView's AutoGenerateColumn = True

Bind data to gridview as below :

protected void Page_Load(object sender, EventArgs e)
        {
            productsTableAdapter productsAdapter = new productsTableAdapter();
            GridView1.DataSource = productsAdapter.GetProducts();
            GridView1.DataBind();
        }

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list