We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Reg:gridDataBoundGrid1

Hi, I am using gridDataBoundGrid1 in my application. Q1: How do i set Column width & row width for each column . Q2: How do i set Back and fore color for header and cells fields. Q3: If any cells data updated in gridDataBoundGrid1 how do i update in database. [Source for gridDataBoundGrid1 is dataTable] Q4: How do i insert row in gridDataBoundGrid1. [Source for gridDataBoundGrid1 is dataTable] This will happen when i click btn which is present in the form. Help me.......!

1 Reply

AD Administrator Syncfusion Team July 15, 2005 11:25 AM UTC

1) http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=94 http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=92 2) http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=91 http://www.syncfusion.com/support/kb/grid/Default.aspx http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=85 3)If you use dataAdapter.Fill to load teh data from your database, then you would call dataAdapter.Update to save the data. 4)If you are using a Datatable, you cannot insert a row. You can add a row at the end of the table ( and it would be automatically positioned in the sorted state). To add a row, you can use: DataRow dr = dataTable1.NewRow(); //set values into dr dataTable1.Rows.Add(dr);

Loader.
Up arrow icon