|
you'll need to buy a library that supports RAR files, for a start. Then you'll need to save the file in your file system and write code to emit the right HTML to play the file.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I opened a new window on link button using javascript. Now i want to close the newly opened window and getback to the previous window on click event
|
|
|
|
|
Do you mean a popup window ? If so, just close it. If you mean you went forward a page, history.back() from memory does what you want. No, it's some sort of navigate method that you pass -1 to. Sorry, you'll have to google it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi friends,
I have created voting system every user can vote not only registered users,so i want to add some security to it,i need some ideas on how to prevent multiuser voting.
I dont know exactly may be like checking cookies r session r something else.
|
|
|
|
|
The only way you can truely get it to be single user single vote is by making everyone register. Other than that you can do it by IP Address, but then only 1 person at a school can vote for example. There are other ways, but the best way is only registered users can vote. If you allow the unregistered to vote, you need to accept the fact that they can vote multiple times.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
|
You're on the right track. Writing a cookie will help, the session is obviously useless, making me wonder if you understand how the cookie could help, or just threw some buzz words out there. You could write a cookie when someone votes, that uses an id to define the post that was voted on. Of course, users can delete the cookie, and you'd end up writing a lot of cookies, which is not ideal. So, once again, there's really no possible way to stop a person from voting, if they have not logged on. There's just no way to magically tell if the same person is voting again, or another person on the same machine, or the same person on another machine, etc.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanx Christian Graus,
It will bw usefull for me if u give me link that can guide me on how to write cookie.
|
|
|
|
|
here[^]. But, like I said, it won't actually work properly. It will stop only people who are not at all motivated to double vote on your site.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thats k,no problem i goin to now something....
I will try it....
|
|
|
|
|
Hi friends,
I want to insert bulk data in my table. I am using the below query. But it giving exception. Could not Bulk Insert:File 'C:\ip-to-country.csv' does not exist.
BULK
INSERT tblAllCountryName
FROM 'C:\ip-to-country.csv'
WITH
(
FIELDTERMINATOR=',',
ROWTERMINATOR='\n'
)
GO
How to solve this proble. Could you please tell me? Hope your's reply soon.
Thanks & Regards
Every Successful Person Have A Painful Story
|
|
|
|
|
Guvera wrote: Subject: Could not Bulk Insert : Error Path does not exist.
Is this anything related to ASP.NET ?
cheers,
Abhijit
|
|
|
|
|
Hi dude,
Thanks for your reply. I got the solution. Just change data type for data variable.
Thanks & Regards
Every Successful Person Have A Painful Story
|
|
|
|
|
Does that file live on the server, or the computer on which you are viewing the page(I have to assume it is a page as you posted on the ASP.NET forum)?
If it doesn't live on the server, then that is why you are getting the error, the path does not exist. The query is being run on the server, not the machine viewing the page.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Hi all,
May i access two seperate web applications from single server PC on LAN using server pc name
like this
http://localhost/Reserver where Rserver is my computer name .
what i have to be done ?
Best Regards
|
|
|
|
|
rameez Raja wrote: May i access two seperate web applications from single server PC on LAN using server pc name
like this
Did you deploy the sites on IIS ?
rameez Raja wrote: http://localhost/Reserver where Rserver is my computer name .
Why ? insted of localhost if you write
http://Reserver , it will also work. You do not need do url like this.
cheers,
Abhijit
|
|
|
|
|
Of course you can, not by using localhost though. Try http://Reserver/VirtualDirectoryName
|
|
|
|
|
You just need to deploy both of web application on IIS on the server.now both application will be accessible from all the machine as well as Server machine connected to that server.the path would be like
http://[localhost]or [server machine name]or [server IP address]/virtualdirname
Cheers!!
Brij
|
|
|
|
|
I developed a project Webapplication1 with one asp page Webform1.aspx. As you know when webapplication projects compiled it makes a dll for whole application. Compiled dll resides in Bin folder of webapplication1 project.
I also developed a Web site project by the name of WebSite1. Include webapplication1's compiled dll reference in website1 project.
Now I want to show webform1.aspx from website1, while webform1.aspx exist in webapplication1 project. I have created the instance of webapplication1.webform1 in website1 project but unable to load or show the form.
|
|
|
|
|
ZiaMehdi wrote: Now I want to show webform1.aspx from website1, while webform1.aspx exist in webapplication1 project. I have created the instance of webapplication1.webform1 in website1 project but unable to load or show the form.
Sounds like you have no idea on ASP.NET. In ASP.NET, you don't need to instantiate webforms to show them. Just redirect to the page using Response.Redirect
|
|
|
|
|
You are right about response.redirect. But i think you didn't understand my question. Actually webform1.aspx is not in web site project. it is in web application project. I have added reference of web application project in my web site project. Is there any solution?
|
|
|
|
|
|
gorakraos wrote: please list free dating softwares......
You are in a Wrong Place. This is the forum where people ask there problems not like a stupid question that you have asked.
Please read forum guide line , that how to post question.
cheers,
Abhijit
|
|
|
|
|
A lot of S/W available on net.Try Google.
Cheers!!
Brij
|
|
|
|
|
hi all ,
i wrote one webmethod in webservice , from that webmethod i am returning string
but i am getting unassigned local variable value , how to solve this problem?
[WebMethod]
public string GetCountryList()
{
string connectionString = ConfigurationManager.ConnectionStrings["iphoneConnection"].ConnectionString;
SqlConnection connection = new SqlConnection(connectionString);
SqlCommand comm = new SqlCommand();
comm.CommandType = CommandType.StoredProcedure;
comm.CommandText = "sp_name";
comm.Connection = connection;
connection.Open();
SqlDataReader objdatareader;
objdatareader=comm.ExecuteReader();
string Value;
while (objdatareader.Read())
{
Value = objdatareader.ToString();
}
objdatareader.Close();
connection.Close();
return Value;
}
Thanks& Regards
RamaDevi.
samrama
|
|
|
|