Hi all,
I want to initialize a static stl::list of strings with some predifined string values(hardcoded).
I declared the list in my class like this:
static const list<string> my_list;
(I want to do something like static const list<string> my_list("VAL1","VAL2","VAL3","VAL4") but this is not...
Thank you!
It was ok, but then I faced other problem: befor using this when pressing edit button in the grid the selected value of the region ddl was the same as that from the non editable item.
I did this by using databinding but now it doesn't work. How can I achieve this again?
And another...
I have an editable datagrid whith template columns.
In two EditItemTemplates I have ddl.
I want the user to select the country from the first ddl and then the second ddl to display only the regions from that country.
I tried putting the code on the OnSelectedIndexChanged event of the first one...
Thanks Rob!
After trying to do this for a while I rconsidered using the effective control placed in the edititem template of my grid.
And it worked.
And it's easier.
Cri
Hello!
Here is my problem:
I have an editable datagrid with edititem templates.
I want to validate the data entered into the grid using a RegularExpressionValidator, but I get this error:
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object...
I want to extract a selected date from a calendar and not to display it on my window permanently.
I tried to create a calendar object in the moment that I press a button but the calendar doesn't seem to apear.
Still, it exists, as I can display the selected date.
I thought maby someone was...
I have a page wich does the following:
I select a value from a DropDownList and I press a button.
The DataGrid displays values based on the selected value.
It works fine until I select a value which shoult display less pages then the previous selection.
In this case I get the following error...
Same question. Bat I added a subject.
I hope someone can help me with this problem:
I am developing an aplication using Access Data Pages and SQL Server.
Everithing works fine when usind wizards.
I want to call a stored procedure so I created a button with the script:
<SCRIPT language=vbscript...
Thanks for the tip, but I don't need Access exemple. That is Basic I think.
What I need is a script: vbscript or javascript or an explication why my script doesc't work.
I hope someone can help me with this problem:
I am developing an aplication using Access Data Pages and SQL Server.
Everithing works fine when usind wizards.
I want to call a stored procedure so I created a button with the script:
<SCRIPT language=vbscript event=onclick for=buton>...
I am developing an aplication usind data access pages and SQL Server.
I want to execute a stored procedure so I have the code:
<SCRIPT language=vbscript event=onclick for=bbb>
sql1="execute p1"
MSODSC.Connection.Execute sqlsql1
</SCRIPT>
The script doesn't seem to be proccessed.
Does...
Thank you, BJCooperIT, that really solved the problem.
One problem would be that, on commit, all the records browsed are considered changed and are rewritten to the table.. Do you have a magic solution for this? Thank you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.