Thanks a lot for the Sungfusion grid tipo :) I think the best way is to add, update, delete the dataset and finally update the database with the updated dataset.
markdbd
Posts
-
Refresh DataGrid question -
Refresh DataGrid questionHi all, I am making a little application where I am using a datagrid. A menu displays when the user right click on the datagrid. This menu has insert, update, delete options. And when the user clicks on one option it opens a new form so the user can edit or insert data. After filling this form and submiting the data, the form closes and the datagrid should refresh. MY question is: Is it better to make a new query to the database to see the new Information in the datagrid or to insert manually the submitted data into the old Dataset? Another question? Is there any good component that offers Image in Datagrid? Thanks.
-
What´s the best way for validating input data?Thanks for the answer sreejith ss nair. I also found good info at MSDN about Validating. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformscontrolclassvalidatedtopic.asp[^]
-
What´s the best way for validating input data?I validate all input data using a Validation class with functions like: IsAlpha, IsAlphaNumeric, IsEmail, Lenght, IsNumber Normally I make the validation in the Click Event of a form, and then I show the errors using an error control. Is there a better way to validate input data? And for what are the events "Validated" and "Validating"? Thanks.
-
SP6 experience?We got it since 2 weeks and till now we got no problems.
-
England 1 - France 2BigAndy wrote: I can't believe it. Any other England fans still alive, or has everyone reached for the 6 foot of rope. Still, sets up the final nicely. Comments anyone? Sometimes you win sometimes you loose. This end is very hard for english fans, I am sorry :(
-
String WidthThanks I was also looking for this.
-
Question with treeviewThanks a lot, it works but SelectedNode doesn´t work with right click so I use:
private bool IsSubNode() { TreeNode selected =treeview.GetNodeAt(this.treeview.PointToClient(Cursor.Position)); if (selected != null) { if (selected.Parent != null) return true; } return false; }
GetNoteAt with Current Mouse Position works with right click, now subnode works, and I can follow with my little app, thank you :) -
Question with treeviewFirst of all, hi to everybody, it´s my first post :) And sorry for my english I am from Spain. Well I am making a little app that write questions with their answers into an xml file. I am using a treeview to display the data. The question is the top node, and in it there are subnodes each for an answer. I know how to see which node was selected with this code:
if(this.IsNode(tree.GetNodeAt(this.tree.PointToClient(Cursor.Position)))==true)
Where IsNode is:private bool IsNode(TreeNode node) { try { string foo = node.Text; return true; } catch { return false; } }
My question is: How can I see if an subnode is selected or an node? I want to show an menu for answers and another for question. Thanks a lot :)