|
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
|
|
|
|
|
I think there is some problem in data from DB.Give some default value to you string.Then if data is coming properly then you will get the result else you'll get default value.
Cheers!!
Brij
|
|
|
|
|
I am in the process of building an ajax enabled web application .net 3.5 coding with C#, And further i want that application to be converted into windows based application. what thing should i keep in mind while developing an web page, so that further i'll be able to convert it to windows based application. Like using which controls and style of coding or any more.....
|
|
|
|
|
As per my point of view, you need to consider the layered architecture of your application. UI/Presentation layer should be different . You need to have you own BLL, DAL and Adapter Layer . Maintain the flow of layers.
Now when you developed it in windows, just need to think about only UI , because all other layers should be same.
cheers,
Abhijit
|
|
|
|
|
Follow the layered arcitecture as Abhijit said.In the UI part,Keep in mind the option available in UI and Desktop because ther are some cotrols that are not supported in Web
Cheers!!
Brij
|
|
|
|
|
Thanks for reply abhiji
how could i maintain Business, Data, Adapter Layer in asp.net using C#.
some thing like using Store Procedure
Pankaj Deharia
|
|
|
|
|
|
Thanks Abhijit
Pankaj Deharia
|
|
|
|
|
In asp.net wheater v can able to find particular user is in online? and How to send a group msg????
|
|
|
|
|
you can have a database to store the users who logged in...
Thank u..
|
|
|
|
|
Drij wrote: In asp.net wheater v can able to find particular user is in online?
ASP.NET don't have any inbuilt method to do this. You can keep a database flag indicating the logon status and update it when user logs in/out.
|
|
|
|
|
HI'
hey ..plzz tell answer 2 this question
i taken 1 dropdownlist so initially i adding to that ddl "ALL" and If i select to that "ALL" so in DDL the ALL fields should be save into one string .. and that i ll insert 2 into database , and how can i select multiple in ddl ..and insert into database. i hope u ll understand my prob
thanks 2 all..
|
|
|
|
|
You can use This [^] One
cheers,
Abhijit
|
|
|
|