Hi
i have a GridEX in my form
How can i empty my GridEX after submit?!
Thanks....
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ALI MOHAMMAD BAHMANYARPosted Feb 6, 2011, 2:10 PM
shimaPosted Feb 6, 2011, 1:23 AM
ALI MOHAMMAD BAHMANYARPosted Feb 4, 2011, 3:31 PM
shimaPosted Dec 18, 2010, 2:27 AM
I find out the answer!
accountRowsTableAdapter.FillByAccountID(dataSetAccounting.AccountRows, -1);
shimaPosted Dec 17, 2010, 10:56 PM
i just want to add in AccountRow and refresh GridEX in evry insert operation...
Sam HobbsPosted Dec 17, 2010, 5:13 PM
shimaPosted Dec 17, 2010, 4:00 PM
When i submit my data , every thing in GridEX adds in AccountRows
And i want to clear my GridEX for next add
thanks...
Sam HobbsPosted Dec 16, 2010, 2:17 PM
The table is AccountRows, correct? When you submit the data, what happens to the data in AccountRows? Conceptually speaking, the data that has been submitted should be deleted from AccountRows. Does that happen? If not, then can it happen?
Suthish NairPosted Dec 16, 2010, 1:36 PM
I never used this control.
refer link, might helps you.
shimaPosted Dec 16, 2010, 1:12 PM
I couldnt use this property:
this.gridEX1.ClearItems();Beacuse i use DataSource property and if i usethis.gridEX1.ClearItems(); i get this error message:ClearItems can not be used when BoundMode is Bound. Clear the items directly in the datasource or change BoundMode to Unbound.Suthish NairPosted Dec 15, 2010, 11:12 AM
this.gridEX1.ClearItems();shimaPosted Dec 14, 2010, 1:51 PM
For example:
gridEX1.KeepRowSettings = true;
gridEX1.DataSource = null;
gridEX1.DataMember = "AccountRows";
gridEX1.NewRowFormatStyle.Reset();
gridEX1.DataSource = dataSetAccounting;
Accounting2.DAL.DataSetAccountingTableAdapters.AccountRowsTableAdapter adapter = new Accounting2.DAL.DataSetAccountingTableAdapters.AccountRowsTableAdapter();
gridEX1.SetDataBinding(adapter,"");
gridEX1.RetrieveStructure();
gridEX1.EmptyRows = true;
gridEX1.ActiveControl = Activate();
gridEX1.Refresh();
gridEX1.AllowAddNew = Janus.Windows.GridEX.InheritableBoolean.True;
Subhendu DePosted Dec 14, 2010, 11:17 AM
Is there any help wiki page for this 3rd party control?
Thanks.....
shimaPosted Dec 14, 2010, 11:14 AM
unfortunately, GridEx dosent have this method(DataBind)
Subhendu DePosted Dec 14, 2010, 10:17 AM
C#
==
VB.NET
=====
Thanks.....