I got it working by writing only a few properties at a time.
This example writes 2 records. There ought to be a better way to do it, but this works. Here is the code:
//write a full record to the dispatch database
CEPROPVAL propval[5];
CEOID ceoidRec;
//phone
propval[0].propid =...
I use a property database to store a few simple records. I create records using CeWriteRecordProps and read them back out using CeReadRecordProps. CeReadRecordProps gives me back fewer properties that I'm writing out. Some properties are missing. I see in searching various messageboards that...
Zarcom makes a good point. Supper would be nice.
I have found 1 more caveat to the way I solved my problem. If you do access a cell's controls directly you might find that it has no controls!! This seems to be the case if a column doesn't support editing. In that case the cells themselves...
Link9,
It would be much easier to use FindControl, but since I'm using the TemplateColumn feature I'm not sure how ASP.NET would ID each checkbox control. Could I specify
ID="MyCheckBox"
and then call
FindControl("MyCheckBox_1");
FindControl("MyCheckBox_2")...
I really appreciated the suggestions. The article on Datagrids is good. However I was able to get the syntax myself via trial and error. Here's how I did it:
ControlCollection CellCtlCol;//control coll for a cell.
CheckBox CheckCtl;//represents the checkbox in the grid's row...
I have a datagrid with a template column. The template column contains check boxes. I want to examine all the checkboxes at once when my form posts back to the server. What is the syntax for iterating through a grid's checkbox controls to find those that have been checked?
I want to write/find an ASP.NET text input control similar to the one through which Windows allows users to change the time on a PC. I know how to write very basic ASP.NET web controls. I could just ask the user to input the time in a certain format then parse the text and extract the time...
Maybe this isn't the right forum to ask this, but since I can't find an IIS forum here goes.
I'm debugging my web pages on my localhost server. I'm trying to create a file in my virtual directory, but IIS isn't allowing me write access in that directory. How do I give myself permission to...
I'm new to web programming and ASP.NET. I'm creating a site that allows a few management types to have access to business data via the web. So I don't need to store zillions of usernames and passwords. I want to store them with a web.config file, and I want to use either SHA1 or MD5 to...
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.