In your delete method you must check to see if the item was the last on the page and then decrease the currentpageindex Regards, Alexandru Savescu
Alexandru Savescu
Posts
-
Paging Problem with Data Grid -
2 problemsYou don't have to put the identitiy in the insert command, the sql server will automatically generate it. However, if you want to use that ID then when you create the insert commmand check the "refresh the dataset option", it will add a new select command and will update the dataset. Regards, Alexandru Savescu
-
How do I save/load STL data (map & vector)You cannot automatically serialize STL objects to files. You must write your own file format. If you use only MFC then you can use CArray and CMap as containers and serialize with CArchive. Regards, Alexandru Savescu
-
Java script errorNo, I think I found the problem. I believe it has something to do with Google Toolbar 3.0 beta. Regards, Alexandru Savescu
-
Java script errorI constantly get java script errors when accessing this site. Don't you? It says: Line: 243 Char: 2 Error: Permission denied Code: 0 Regards, Alexandru Savescu
-
Bug Tracking (again)I agree, we use Test Track Pro and it does the job. Regards, Alexandru Savescu
-
Could you help about internacionalization?ksanju1000 wrote: But it was difficult bec in java char support 2 byte and in c++ one byte. It's not true. If you use
wchar_t
insteadchar
then it works. Regards, Alexandru Savescu -
Set Label Value at Run TimeEvery web control has a ClientID property that is actually the Id you can refer to it in browser. Regards, Alexandru Savescu
-
Huge quake hits Indonesian coastWell, it looks that there are 1000 deads in Indonezia. I just saw it on google news. Regards, Alexandru Savescu
-
DataGridYou cannot do this directly. Use the rowselector control: http://www.datagridgirl.com/customcolumns.aspx[^] Regards, Alexandru Savescu
-
sscanf in dllDid you try
atof
? Regards, Alexandru Savescu -
Friday lunch timeGoing to see my parents. And my sister who is leaving for US cause her PhD holiday is coming to an end. Regards, Alexandru Savescu
-
Where's everyone?On holiday perhaps.... And we are left here working.... Regards, Alexandru Savescu
-
Choosing a domain name (UPDATE: Neck and Neck!)I'd go for www.watson.com. And the email address would be paul@watson.com :) But I think it is already taken :( Regards, Alexandru Savescu
-
Used or new? JOTDhttp://bbspot.com/News/2004/08/bbloopers_used.html[^] Regards, Alexandru Savescu
-
Urgent Advice needed - What do I need to set for fastest page and data grid load??Use multiple pages and display only, let's say, 10 records at one time.... Regards, Alexandru Savescu
-
SOTD : quest for the restThis is really cool! :cool: Regards, Alexandru Savescu
-
reverse-engineeredsreejith ss nair wrote: how can i reverse-engineered from IL? Use .NET Reflector. Search it on the internet. sreejith ss nair wrote: How can I stop my code being reverse-engineered from IL? You must obfuscate it. There are many thrid parties that can do that. Regards, Alexandru Savescu
-
filling dataset with user defined objectsWhy do you need to fill a dataset with user defined objects? Do you want to bind a datagrid or something like that? In this case you can put them in a ArrayList and it may be easier. Regards, Alexandru Savescu
-
Response.Redirect(...) & setting targetYou can do a hack as follows. Write a javascript that redirects as _top and from your page do like this:
if (sObject == null)
{
Response.Clear ();
Response.Write (myjavascript);
Response.End ();
}Regards, Alexandru Savescu