Search:
Type: Posts; User: sunhpj
Search:
Search took 0.03 seconds.
-
I actually use DataView.filter.
But the problems are the same
-
Hi, even it is not directly supported, I need to implement it myself.
For A*D, and I can just seperate A* and *D
but for free combination, like A*D*B*C*
How can we handle?
-
I actually can guest why it cannot support, because * and % also are operators. if we set column like A*D, API cannot know it is A multiplied by B or A wildcard B.
But Microsoft just throw an...
-
Sorry, A%D is also invalid, both in MSDN document and my testing.
http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression(VS.71).aspx
a line:
Wildcards are not allowed in...
-
I am not sure some one asked it before.
I see that the Select Method of DataTable only supports * before and/or behind the characters. If it is A*D, it exits with exception.
I want to know why...
-
In VB6, there is a Line Control in Tool Box, we can draw a line in a form.
But I cannnot fine such control in toolbox of VB.net
-
I tried caspol.exe.
It seems that administrator is required for grant full trust of a .net application.
Is there any automatic way (like batch file or scripe) to grant a .net app trust so that it...
-
Hi all,
I have installed VS 2005 and developed an application.
But why can't I fnd caspol.exe?
While running the command as the threads, it comes up with
'caspol' is not recognized as an...
-
So it require users to install .net?
It is not reasonable. Any automatic way to help users do this?
-
I copy the executable in my Release/bin folder of my project to a PC without any development environment setup.
When double clicking it , it just gets nothing.
Do I need to copy some dll as...
-
Actuall the title is How to add an unbound column to a data based binded datatable in a datagrdiview. Sorry if I didn't make it clear.
I tried adding it to a table after the table is filled by the...
-
Thx for suggestion.
But I need to add the column to datatable rather than a dgv, since our following operations are performed on datatable.
I still need to add a column to a database binded...
-
I have a dataadapter binded datatable that bounded to a binding source and then datagridview.
Rather then the columns updated from database, by fill or update command of dataadapter. I need to add...
-
Yes, you both quite right.
Sorry for such a stupid mistake.
Thx.
-
I define my own class as a value type in dictionary.
But while retrieving, some property values are missing.
Need I write any other overrides function to copy the value?
Private Class...
-
I need to check whether the user really want to close the form.
But if I do this in Formclosing, the form will be closed anyway.
-
For simple selection it works.
As for using Select
But for some complicated condition, how can I do this.
For example, My Grid has a column named "A B C" (blank between characters)
I...
-
Thanks for reply.
I believe it works. though still use looping,
I prefer some property to get this,but it seems not exist.
-
Your opinion sounds good.
I handle this by setting current cell. It comes to my goal though not exactly the same function of TopRow.
However, there are some problems that the doc cannot help a...
-
I posted this thread for couple of days but not replied yet.
Is it rather impossible, without naive looping the manually find it.
-
In VB6, I got the following codes, how to do the same in VB 2005?
It set the rows(i) to be displayed in screen. but in VB.net, there is no TopRow.
If (Grid.RowIsVisible(i) = False) Then
...
-
Yes, it is.
But as I tried, only the first row is displayed in the text box.
How if I want to display other row at run-time? Which function should I call?
-
-
It seems that in VS 2005, textbox no longer has the property of DataSource.
But I still have to bind it to a datatable, and runtime define a value in the table.. How to do this.
-
If the DataGridView is binded to a BindingSource, whic is in turn binded to a DataTable.
Now I need to set a row in DataGridView as be selected. I know how to do this if I get the DataGridViewRow...
-
Yes I understand what you said.
But please be informed that by defining relation on a dataset and assigning to child binding source, I needn't write any code in the click event of row.
The update...
-
Sorry, I still cannot get your point.
DataGridView doesn't have a method like PerformClick.
What I need is for two DGV having relation (one is parent and other is child),
When I click a row...
-
Thanks for help.
But I need to click the row programmatically rather then a button.
You mean I have to host a button in each row? it is unacceptable.
-
I bind datagridview 2 as a child of dgv1 by defining a relation.
I need to select a row in dgv1 on demand. I do this be setting the row.selected=true, but dgv2 cannot be automatically updated...
-
How to raise an event manually?
I just know adding stuff in system event .
-
Hi, thanks .
Actually it is just a bug issue, so I mark it resolved after I fix the bug.
After chosing a filter, just one row left, so bindingsource just has 1 row.
But I click the last row(...
-
Hi, I know that the Parent-Child relation in dataset can automatically provide update of one grid according to selection of another.
Is it support multi-level relation? like family in parent-child...
-
For example, I setup an array,
I need to raise an event or call a function automatically when any element of an array is changed. How can I do this?
-
Hi, I know that the Parent-Child relation in dataset can automatically provide update of one grid according to selection of another.
Is it support multi-level relation? like family in parent-child...
-
For a DataGridViewButtonColumn, how to make it transparent or the same color with other normal cells?
I tried CellTemplate.Style and DefaultCellStyle, but it doesn't work
For...
-
When mouse enters a cell, I need to pop up a form just besides the cell, like, the top left of the form is at the bottom right of the form.
But the following code doesn't work, where the form...
-
My datagridview is binded to a binding source.
Then I change a value of a cell in column (c) in the first row, and click other rows.
Then I set the filter of the binding source by the other...
-
Sorry for posting in the same thread. But I just follow the discussion of acceptchange. Will do it better next time.
The second way you mentioned seems a little slower if I just want to know...
-
Here comes another problem,
How can I know there is some pending changes in datatable waiting for acceptchange or not?
It is important if I want to give user a warning when he close the form
-
Hi jmcihinney, your link really helps.
However, it is not exactly what I want. It just seems a filter
1. Adding the relation for parent and child require unique id in parent table. But I don't...
|
Click Here to Expand Forum to Full Width
|