|
once i clik on submit button
it has to check whethr i enetrd the values or not in all the text boxes
even i skip single text box it has to disply alert
i hope u understand my prblm
with regards
|
|
|
|
|
Hi Ravi,
Hope this will help you.
Javascript[^]
Regards,
Satips.
|
|
|
|
|
thank's a lottttttttt
with regards
|
|
|
|
|
Welcome
Regards,
Satips.
|
|
|
|
|
hiiii
Is there any way to upload file without using file upload control in asp.net ??????
jagmit
|
|
|
|
|
You can use System.IO.File
It has many functions to create , modify and move files...
hope this helps....
If you fail for the first time , call it version 1.0.
|
|
|
|
|
krishna19 wrote: You can use System.IO.File
Not for uploading to a webserver you can't.
|
|
|
|
|
|
it is using file upload html control .i want without it
jagmit
|
|
|
|
|
Hi , I am supposed to work on an already developed project (in VS and SQL 2005). When I open this project on my machine (Project was developed on some other machine), I get the following error (on pages which are connected to DB)
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
In my web.config, Connection string goes like
connectionString="DataSource=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\RealEstate.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"
Anybody facing similar problem before ??? Please help then , its urgent .. Thanks
Kaliem
|
|
|
|
|
Can you connect to the database with Windows Authentification? If not connect with SQL Server Authentification, then right click the connection in Object Explorer, go to the seurity tab and in the "Server Authentification" section select both authentification modes.
If you want your db to be accessable from a remote connection you must change the default option that SQL Server 2005 has:
Go to Start Programs -> sql server 2005 -> configuration tools -> Sql Server Surface Area Configuration. On the "Surface Area Configuration for Services and Connection" option, under SQLEXPRESS -> Database engine -> Remote connections, check "Local and remote connections" and then "Using Both TCP and named pipes.
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
SQL got installed on my machine by VS 2005 installer. Now, when I open "Surface Area Configuration for Services and Connection" as you said, "NO SQL Server 2005 components were found on this computer"
Do I need to install VS 2005 again after un-installing SQL and VS ??? But Installer is same as before ...
btw, same error appears when i open my .mdf file in VS environment ...
|
|
|
|
|
kaliem wrote: Do I need to install VS 2005 again after un-installing SQL and VS ??? But Installer is same as before ...
I don't understand what you mean. Have you uninstalled SQL Express?
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
Mircea Grelus wrote: Have you uninstalled SQL Express?
No, I havent un-installed anything ... I ran VS 2005 Installer and SQL 2005 was installed by this setup. Now, I get error "No SQL Server 2005 components were found on this computer" I am asking you what should i do now ???
and btw, VS 2005 setup didnt ask me for anything (sa password or server name etc) as it happens with Manual Installation of SQL Express ...
|
|
|
|
|
Fire up SQL Express with Microsoft SQL Server Management Studio Express[^] and see how that goes.
Maybe your installation of SQL Server is corrupted.
Btw, do you have any other SQL Server installed? 2000?
In order for two versions of SQL Server to coexist on one machine, only one can be set as default instance, the other/s must be installed as named instances.
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
Hi all,
We can secure source code of business login in asp by using DLLs but how can we secure ASPX pages. I had sale a business solution to a company and they just rename the my company's name and logo and sale to other companies. any solution.
|
|
|
|
|
Do you have any kind of formal agreement with your clients? When you sell them an application, do you require them to sign a license agreement that prohibits what you're describing?
The truth is there isn't much that would stop an unethical individual/business from hacking a .NET application and replacing resources (e.g. a logo image) with their own. However, if you have a signed contract with them and can prove they violated the terms of the contract, your lawyer should be able to make a case in court and recover damages.
|
|
|
|
|
Download the deployment plugin for visual studio. Add a deployment project and use that to compile the application for deployment. In the settings you can choose to not make the site editable, which will turn all aspx files into empty placeholders and put the markup in the DLLs.
---
b { font-weight: normal; }
|
|
|
|
|
Thankx all, especialy Guffa, i will go for deployment package for aspx.
thanks alot.
keep Smiling,
Happy Coding.
|
|
|
|
|
If you didn't do what Guffa said ahead of time, you may be screwed.
Being that it's an ASP.NET application, they can simply replace your logo by replacing a graphic file. They could also change the HTML in the aspx page.
When a company buys an application, they usually also want rights to the source code. If that's the case, your price for source code should be a point where you are compensated enough to not care in case this happens.
If it's a generic piece of software, and not a custom built application for them and they didn't agree to the source code, you can use your receipt, and go after them for copyright infringment.
|
|
|
|
|
little relevant to the topic, I have seen people using utility which takes exe file as Input and generates its Source code as output ... now, what would you do there ... Btw, I have seen it for .NET only, any info about other languages ???
|
|
|
|
|
kaliem wrote: now, what would you do there
Obfuscate.
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
kaliem wrote: I have seen people using utility which takes exe file as Input and generates its Source code as output
Actually, that is impossible. What you have seen is someone generating source code that will recreate the program, but the original source code can not be recreated that way.
Any program can be reverse engineered like this. However, to recreate the application you have to take all the different parts of source code and try to put it together into an application igain. That takes a lot more effort and knowledge than just opening an aspx file and change some text.
You can never completely protect your program from reverse engineering, but you can at least make sure that it can't be done by someone who has just learned how to use Notepad.
---
b { font-weight: normal; }
|
|
|
|
|
hmm, I see, 'will seek a chance to use that utlity myself and then tell you ... if integrated source code couldnt be obtained directly, thats actually Good to know ...
|
|
|
|
|
Hi guys,
Anybody knows how to add a column to a datagrid?
I want to create a datagrid for database search result. However, I want to check on something with the data and show yes/no in the additional column in the datagrid according to some conditions.
Thank you
|
|
|
|