My code is as below :
if (lbl == "Valid")
var lbl1="<%= str1 %>";
alert("Bio-metrics have not been done");
Can anybody please tell me how to do it. Thank you.
I am currently using VS 2005 (.NET 2.0) and want to install the .NET 3.0 framework and start working on it.
I have installed the .NET 3.0
Now i am told that i will need to install the Windows SDK and .NET 3.0 components and then
install the VS 2005 extensions for the .NET 3.0
When reading through the Windows SDK install link in MS site, it is suggesting to do several things, including un-installing the current Windows SDK and also says there are several known issues around this install.
It is also asking to uninstall existing stuff like Document explorer etc. which i use with VS 2005 (for documentation).
And the list of things to do looks pretty long
The current machine is my production machine where i develop 2.0 based apps / controls and i want to be careful when installing the 3.0, especially the Windows SDK.
Can anybody share their experience on this bit - i.e. the Windows SDK instalaation bit.
Oncei get over this step, i can happily install the 3rd bit - i.e. the VS extensions for .NET 3.0 and have fun with .NET 3.0 fluff
If your just going to play with .NET 3.0 don't install it on your production machine. Install something like VirtualPC, install Windows on a new virtual machine, then Visual Studio .NET 2005 and all the .NET stuff. That way, you can play all you want safely without screwing up your production environment.
Dave Kreskowiak Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
"That way, you can play all you want safely without screwing up your production environment."
Why??? Is .NET 3.0 not RTM'ed yet? It is RTM!!!!!! I would be worried only if it was a RCs or Betas, but with RTM release, MS should ensure that it does not screw up any production environment, especially the .NET 2.0 system. If they cannot assure that, they should not be releasing .NET 3.0 as RTM at all. They should keep it as Beta if the developer community will have to be cautious to use it in production machines running 2.0 framework (or use it via Vistual PC etc.).
I have typed datasets in the designer. I have table adapters that i have dragged from the server explorer. I have used these for the last couple of month. I have added queries, stored procedures, added and deleted fields in the table adapters.
Now, I added an extra column to one of my tables in sql server 2005. I right clicked the relevant table adapter and clicked configure, and included the extra column.
I build the program, but the changes to the table adapter does not reflect in the code. When I do the following: tableAdapter.insert() the extra column has not been included.
I tried this with another table adapter in the dataset designer by adding a new field. The same problem.
I used rebuild, i have deleted the table adapter and added a new one. I have restarted VS, and also restarted the computer. I have also opened the project on another machine. I have deleted the table adapter from the form designer and added a new one from the components tab. And still the same problem.
When I preview the data, the extra column is there. But not when I use it in code.
Can anyone please tell if they know about this problem and is there a way to solve it.
You required to reconfigure the Typed dataset, I had faced same problem what I did was I had regenerated the designer class from the tool. The problem here is you will have the old designer which not getting regenerated.
So either try to regenerate it or recreate the complete typeddataset which will have tableadaptor etc
Jaiprakash M Bankolli
I'm a newbie. Please, take it easy on me if my question is too low of a level.
I've got this C-code that works fine. I want to bring it into MFC and I decided to enclose most of the functions inside a class. There are functions that take in as arguments pointers to other functions, and I have no problems understanding how it works in C although I am not the savvy programmer.
When I try to use those functions inside the class I gett errors.
For example, I have one function (called "danger") which I put inside the class and what it does it simply takes in a double and returns a "corrected" double. Then I have another member function in the same class that takes in as the first argument the pointer to the member function mentioned above (that is to "danger"). So, the first argument for the latter function is a *double.
When i compile the compiler (.NET Visual C++) tells me that it cannot convert a double (which is basically what "danger" returns) to a (__cdecl*)(double). I sort of see why the compiler tells me that, but I wonder how do I "fool" the compiler to see that it is a pointer to a function and not just a variable of type double.
please help me. I've looked through all the threads on pointers to member functions and I could not quite figure it out. Most of the threads talk about how to use the pointers to member functions when passing them as arguments to non-member functions. Or else, I am not that savvy yet.
I've been asked to assist with designs for a large enterprise scale accounting project. So far I have decided upon a n-tier design with remotable objects and webservices at the server end. I'd like to gauge the responses from everybody as to when you believe the middle and even UI layers should be split up into their own assemblies.
I am aware of the performance penalties associated with reflection vs. native object calls, but am also firmly believe that a large scale application will sooner or later use reflection in some way, shape or form. Based on this, my initial thoughts are to split the application into logical functional units.
So following these lines of thought (and these are rough thoughts), an assembly for business objects (BO), interfaces (I), data components (DC) and user interface (UI). Each of the BO, I, DC and UI will then be replicated for each logical unit: ie. debtors, creditors, stock, general ledger, system, etc.
I'd love to hear your thoughts on this and any suggestions and/or recommendations you've got.
> "logical functional units" is a very overloaded term. No two people seem to use it the same way. What do you mean by that?
By "logical functional units" I refer to debtors, creditors, stock, general ledger, system, etc.
> Will you really have only one UI to allow the user to interface with the enterprise application
No this will be accessible from a variety of platforms
> Don't force them into starting one UI for half their task and then switch to another UI in order for them to complete it
No intention of it.
As you can probably see from the above points you have raised my thoughts aren't altogether clear on the topic, so I think it best to elaborate on some of the finer points of the "current design".
· Main application (EXE). Minimal code and almost a "stub" making reference to various UI assemblies.
· A common UI assembly to be used as a control library as well as base forms
· A common interface assembly handling some of the typical/common CRUD operations
· A common BO assembly for common validation code, error checking, "business base" objects, etc.
· A dedicated DAL assembly which all DC assemblies can hook to. The chosen DAL model I have used previously on a smaller project with much success. This has plenty of support for ALL sql db operations.
· A business rules assembly to be used for custom attributes. Again have used something very similar before with much success.
· Debtors - DC, I, BO, UI
· Creditors - DC, I, BO, UI
· Stock - etc, etc.
I hope this paints a clearer picture for you and I do appreciate your input.
Last Visit: 31-Dec-99 18:00 Last Update: 20-Jun-21 21:59