|
I don't make it a practice to reuse code, unless I know that certain pieces of code will do the trick, because it's the same in functionality.
That's up to the creator, my years of experience says that if it's not the same thing, start from scratch and build it up.
As far as no one writing that, I sure it's been written already, someone doing government work or a corporate programmer writing for in house stuff.
Most people don't share code, except for scripts, which are a dime a dozen.
Based on your feedback, in which he has something that he can tweak, and can't give you a firm price, he must not be the author of the code, and does not fully understand how it works. So he may be easter egg hunting on how to customize it for you.
You really need to look for experience, most times it's cheaper, and you'll get a fine product the first time round.
|
|
|
|
|
Hi friends,
we say c# is a language .. but what we call the asp.net?
what we call the asp.net either its server page or language?
can any one say about these two thing differnce?
|
|
|
|
|
What is ASP.NET?[^]
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hi,
Have a look here:
http://en.wikipedia.org/wiki/ASP.NET[^]
ASP.NET is a server-side Web application framework designed for Web development to produce dynamic Web pages.
The quick red ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|
|
Hi all,
I am working on C++ & VC++ technologies. I have only basic knowledge about C#. I want to start learning ASP.NET.
Plz let me know any best tutorial or book to start with.
I came to know about the below mentioned books.
Beginning ASP.NET 4 in CSharp and VB
Professional ASP.NET 4 in CSharp and VB
Is it good to start with these books.?
Also plz let me know do I need to have good exp in C# before learning ASP.NET.?
Your suggestions are welcome.
Regards,
Mbatra
|
|
|
|
|
|
Hello All,
With great diffculty was able to set up the Website Administration Tool on the web server, with a copy from my laptop running Visual Studio.
I ran the aspnet_regsql.exe, and set up the database to connect. All the tables related to this app was created in this database.
Using IIS 7, was able to change the connection string, to reflect to this database.
Now, when I click on "Security" tab, it comes back with "Object reference not set to an instance of an object." It also states that the role Manager is maybe not enabled. Where do I enable this roleManager?
Thanks!!
|
|
|
|
|
So that error came from the Website Administration tool?
You might have to reinstall the program, or perhaps your missing the security dll, or it's not registered in the registry, or you simply have to elevate your permissions when you run the program.
|
|
|
|
|
I am working on a Web project .What Databound Control i have to use for Quick Posts Like We can Do With Facebook. can it be possible with Repeater Control.
for Ex: in Facebook .. Whats on your Mind..? than we insert in text Box and at the same time it appears on the Posts section... Please suggests me..????
|
|
|
|
|
You can use a textbox to post data in quick post section and after pressing the submit button you can save that data in database. Then bind previous submitted posts in a repeater using ItemTemplate.
|
|
|
|
|
i need c# code for send sms from web to mobile phone.
|
|
|
|
|
|
Hi all,
I want to host my Asp Dot NET web application project in to my client’s server. The web application project should have a License key that will be valid for certain years. After that particular year ends the application should expire if not renewed before the expired date…could you please tell me how to achieve this…I am feared that he may crack the DLL with dot net reflector or any -compiler to find the logic If I have that in CS file. So could you please help me to find the best way to achieve this and how to achieve this in detail?
Rahamath
|
|
|
|
|
rahamathullah.v wrote: host my Asp Dot NET web application project
AND
rahamathullah.v wrote: should have a License key that will be valid for certain years. After that particular year ends the application should expire if not renewed before the expired date
Above two contradict each other.
You need a license key for a desktop application and not a web application. For web application, if you want to have a 'validity' involved, you need to keep track of user's registration data with you. Post a defined period you can disable the user. You host the application on your server and share the url with client. Your application internally talks to a database that tracks the data of registration and other details.
|
|
|
|
|
There are license key generators out there if you search, it's basically string manipulation, in which you run a function against a pass phrase like the domain name, to generate a key like the Microsoft one. But now you have to decide what to run the key generator against.
License Key Generation[^]
Now you have to be able to validate the key as well on program start up.
but to enforce the key gets quite complex
1. You can call home to your server to validate the key once a month, or every time they do something important.
2. You can hard code your DLL to expire, but then if you have an error, you may get sued.
I can think of a thousand caveats for key validation failure, in which the program shuts off due to a malfunction, so be very careful.
Probably best just to issue a license number, and if the license is valid, offer updates and tech support during the valid period of time for x amount of dollars per year.
|
|
|
|
|
I guess you could force the customer to generate a new key every year, and give them a 30 day grace to do so upon payment.
|
|
|
|
|
i am having x.aspx radwindow page which contains 5 tabs,
if i click the 5th tab( Delete user), radwindow pop up will be dislayed with option ok and cancel, if i click ok.. i am closing the popup and coming back to the 5th tab(Delete user), if i am using the following code,
GetRadWindow().BrowserWindow.location.reload();
I get an IE7 popup dialog, saying
"To display the webpage again, Internet explorer needs to resnd the Information you've previously submitted. If you were making a purchase ...blah blah
with Retry + Cancel buttons
if i use the below instead,
top.location,href= top.location.href
i am not getting an error as explained above but it is navigating into fist tab( Request user)...
Tried all the option like
window.location.reload()etc...
can u share ur thoughts as soon as possible..... plz...
|
|
|
|
|
First thing is to check if it is specific to RadWindow or with normal browser window too? If it is for the third party control, it is always good to look at their support forum and see if something similar is already discussed there.
|
|
|
|
|
hello
i want code that display full records through age in .net by search option that like two textbox between the value 18-50.
please any budy help me for this logic.
saitwal
|
|
|
|
|
this query may help you
select * from table t
where t.age between @textbox1value1 and @textbox1value1
write a method such that it will accept the values from the textbox
and pass it to the query and read the values as shown
public DataTable GenerateReport( DateTime startDate, DateTime endDate)
{
SqlCommand cmd = new SqlCommand
{
Connection=place your connection string,
CommandText = "select * from table t where t.age between"+startDate+" and "+endDate
};
SqlDataAdapter adapter = new SqlDataAdapter();
DataTable table = new DataTable();
adapter.SelectCommand = cmd;
try
{
adapter.Fill(table);
}
catch (Exception ex)
{
throw new NPDSException("error in fetching data", ex);
}
return table;
}
|
|
|
|
|
ravithejag wrote: CommandText = "select * from table t where t.age between"+startDate+" and "+endDate
Have you never heard of SQL Injection[^]?
Never use string concatenation to build a query, not even for a quick sample. Use a parameterized command instead:
using (var connection = new SqlConnection("connection string here"))
using (var command = new SqlCommand("select * from table where age between @startdate and @enddate", connection))
{
command.Parameters.AddWithValue("@startdate", startDate);
command.Parameters.AddWithValue("@enddate", endDate);
var adapter = new SqlDataAdapter(command);
var table = new DataTable();
adapter.Fill(table);
return table;
}
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I am trying to access(Read) the Smart Card within my Asp.net C# web app. This is so the client can use smart card login instead of using a user name and password. All I need is to be able to read the data in the Identity of the smart card, especially the Subject which I parse and compare to the user account on my database. I am having trouble locating the classes and logic for reading this smart card. On one of our other systems, we use CAC login with the Active Card manager and that works correctly, but it will not work with the 90Meter Smart card. If anybody can help with this, I would appreciate it.
Thanks;
Bill
|
|
|
|
|
Hi,
Am sending mails to a group in outlook,the group consists of many users and when the user opens the mail i want to know which user is opened that mail and send it as a response. Currently am adding an image in the mail so on load of the image am calling some url where i can know that some user has opened the mail but i need email id as a parameter to the url. Could you please let me know how can we do this in outlook to get the user mail id. do we need to write any macro or anything??
Thanks
Ranjith.
|
|
|
|
|
This information can only be obtained if the user allows his Outlook system to send read response messages.
Use the best guess
|
|
|
|
|
kumar.ranjith.k wrote: Could you please let me know how can we do this in outlook to get the user mail id.
What is a user mail id?
|
|
|
|