|
Assemblies are of three types
1. Private Assemblies
2. Shared Assemblies
3. Sattelite Assemblies
you can look in to google for each of them
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
I'm using itextsharp and I'm having trouble getting the parser to read the html and put it in the pdf.
thx for ur help
BiG RaLpH
|
|
|
|
|
i am using ASP.net with C# and SQL Server2005i am using dataGrid view in an website, it has a an image column which is getting imageURL from a table in database.
i want to display picture through URL of such format
C:\images\abc.jpg
but image i not being displayed, image is displayed ig i use "images/abc.jpg"
can any one tell me how to display image using "C:\images\abc.jpg"
|
|
|
|
|
I don't think is possible. When executing from server, server have accsess only from Root of your specificied server.
But here is a fact.
when using \ in strings, it is intended to be special char
example:
\n - NewLine
\t - tab
\\ - Display \
you have to change.
C:\\images\\abc.jpg
|
|
|
|
|
You need to use virtual path only you can not user physical path in ASP.Net applications I mean you can but it will then find the file to clients hard drive.
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
string str = "SELECT cr_name, Trim(cr_pic), FROM criminal";
cr_pic contains image URL "E:\images\abc.jpg"
i want to trim "E:\" Is this possible and what will be the way to do so
|
|
|
|
|
update the table (I mean use the sql query)
Can u solve]
Soniagupta1@yahoo.co.in
|
|
|
|
|
i want to use the trip function in such scenerio
SqlConnection conPubs;
SqlCommand sc;
SqlDataReader dr;
conPubs = new SqlConnection("server=localhost;User ID=sa;Password=sasa;database=rescue15");
conPubs.Open();
string str = "SELECT cr_name, Trim(cr_pic), Trim(fing_print) FROM criminal ORDER BY cr_id DESC";
sc = new SqlCommand(str, conPubs);
dr = sc.ExecuteReader();
GridView1.DataSource = dr;
GridView1.DataBind();
but i thing i am not using correct sytax fot Trim() can u guide me in this scenario plz
|
|
|
|
|
Try to write a short subject line for your post. Putting the entire question in the subject line makes it too long to be useful.
You can't use C# functions in SQL.
The Trim function is used to remove spaces at the beginning and end of a string. What you need is a function like Substring . Look in the documentation for the SQL syntax of the database you are using.
---
single minded; short sighted; long gone;
|
|
|
|
|
you can use the following query...
string str = "Select cr_name, substring(cr_pic,4,len(cr_pic)-4) from criminal"
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
you can use the following query...
string str = "Select cr_name, substring(cr_pic,4,len(cr_pic)-4) from criminal"
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
i published the website after then on the same machine i tried to create the virtual directory of the same.after creating the virtual directory , i ws browsing the directory in IIS.there while browsing the directory , i got the following error.
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Soniagupta1@yahoo.co.in
|
|
|
|
|
Go to IIS Manager, Locate you Virtual Directory, Right Click on it then Select Properties, In the Directory Tab -- Click on the Create Button...
then try accessing your site....it may work...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
diectory tab u mean to say Virtual directory/ directory security?
Soniagupta1@yahoo.co.in
|
|
|
|
|
I asked you to click on the create button in the Directory Tab of the Virtual Directory Properties Window.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
but there is not create button there in the directory tab
Soniagupta1@yahoo.co.in
|
|
|
|
|
If you are finding remove button in the same directory tab, then click on it and then again click on create button on the same button...
I think it will work..
Girish Kumar Sharma
|
|
|
|
|
still it is not working
Soniagupta1@yahoo.co.in
|
|
|
|
|
Have you created virtual directory in IIS
|
|
|
|
|
yes i have created
Soniagupta1@yahoo.co.in
|
|
|
|
|
After creating virtual directory, now what is the exact error your are getting ?
|
|
|
|
|
i am getting the following error
this problem is occuing after publishing the website
and there occur no prolem when i am creating the virtual direcory of the project folder where code exist as well.
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Soniagupta1@yahoo.co.in
|
|
|
|
|
check this link.
http://www.velocityreviews.com/forums/t63201-server-application-unavailable.html
If not helpful, plz. ask again...!
|
|
|
|
|
sir i am not getting the concerned question there.can u give me the permalink for the problem that was asked there?or can u elaborate , i mean according to ur understanding what possible problem can be lying , after browsing the virtual directory(a published project).
Soniagupta1@yahoo.co.in
|
|
|
|
|
Sorry, previously i forgot to post this link
http://forums.asp.net/p/1119459/1745283.aspx. Check all the steps as per link.
If still error, then post your problem, error in step wise step. Without knowing all the facts abt application, IIS, Visual studio version, .NET Framework Version; its hard to find the perfect solution...
|
|
|
|