|
HI All,
Thanks for all your helps,Now i am getting error
'Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))'
I am using System.Management, error raises while trying to connect.
|
|
|
|
|
how to check the control is their or not which is not in the page
is it possible to check the control is present or not using codebehind
|
|
|
|
|
if(Page.FindControl("ControlID") != null)
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Plz Dont ask same questions again and agian
himanshu
|
|
|
|
|
You can use Page.FindControl("ControlID") to get all the server control but not html controls.
You are best person who knows about your problem.
-------------------------------------------------
More pain more gain
|
|
|
|
|
Hi To all,
how to move mails from Inbox to other Folders??
Thanks,
nkmkrishna
|
|
|
|
|
nkmkrishna wrote: how to move mails from Inbox to other Folders??
How does it relate to ASP.Net????
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
nkmkrishna wrote: how to move mails from Inbox to other Folders??
Here is the few steps.
Right Click on Inbox > New Folder > Give Name of the Folder > Now Select Mail From Inbox > Drag it and Drop the mail to the New Folder that you have create .
So,Unless you give the proper information Nobody can give you the proper answer? Which inbox, what is the mailbox server? By the, I don't thing my answer is wrong
|
|
|
|
|
Hi Abhijit,
really sorry..
How to move mails from Inbox to other folders through .net code???
I am using the mail server like yahoo,gmail & any org mail server.
I get all the details through .net code.
My question is how to move mails from inbox to other folders through .net code???
|
|
|
|
|
nkmkrishna wrote: how to move mails from inbox to other folders through .net code???
I guess there is no way unless the mail service provider provides some API to do this. AFAIK, gmail doesn't maintain folders. They have something similar called labels.
|
|
|
|
|
I’m using sqldatasource to link data from sql to gridview. Using the following
SELECT itemName, itemEmail, itemPhone, itemImage, itemDate, itemPrice, itemDescription FROM Item
All the data appear in the gridview except the itemimage. Itemimage should show an image from sql. I try to use imagefield in the gridview, but instead of the image a small white box with a red cross. What option should I use in the imagefield to link data from sql server.
|
|
|
|
|
please show your aspx code.
Did you use a TemplateField with an asp:Image control to display the image?
Does the database store a BLOB field or a URL to an image?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
y_mmohd wrote: SELECT itemName, itemEmail, itemPhone, itemImage, itemDate, itemPrice, itemDescription FROM Item
All the data appear in the gridview except the itemimage. Itemimage should show an image from sql. I try to use imagefield in the gridview, but instead of the image a small white box with a red cross.
So, did you you set the image url for the imaage box.
Here is an article which describe, how to show image in grid view from database,
isplaying Image in Gridview from Database
|
|
|
|
|
Dear,
Thanks you for answering. I had read many articles about this topic, my problem is that i can't retrieve the image that i saved in sql server as binary to grid view.
I make DataImageUrlField for the ImageField is itemImage, but instead of the image a white box with red cross appear.
What is the problem?
Thanks in advance....
|
|
|
|
|
I am working on an online based website. I wud like to display the number of views of every product. ex: if a user go and click the product to chen then the view number shud increase by one. Can i get coding for this?
|
|
|
|
|
Pratheepa wrote: I wud like to display the number of views of every product. ex: if a user go and click the product to chen then the view number shud increase by one.
From where are you displaying the product ? Is it from database? if yes, then with the product column and another column, Viewer. Now on each click on product, update the field.
|
|
|
|
|
This seems so basic, and obvious. What have you tried, anything ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Is there a way to display the total number of visitors being online in my webiste. plz help me by providing the code
|
|
|
|
|
Pratheepa wrote: Is there a way to display the total number of visitors being online in my webiste.
Use database. Store login use in database. Display the information as Online information list. When any user logs off, update the database entry.
|
|
|
|
|
You need to think about this stuff, instead of asking us to do your work for you. There's no real way to know for sure how many people are online, you need to apply some sort of timeout to the last activity you got from a user, as you have no idea when they 'leave'.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Can anyone send me the code of displaying popup when the user clicks a link( in asp.net c#)
|
|
|
|
|
Pratheepa wrote: Can anyone send me the code of displaying popup when the user clicks a link( in asp.net c#)
Window.Open().
I will suggest you, before post this type of question, please search google first. If you are new in ASP.NET then Buy a book and start reading.
|
|
|
|
|
You can use AJAXModalPopup control. Go to ajax.asp.net.
There is no foolish question, there is no final answer...
|
|
|
|
|
Hi
I am not able to download file from Web Server...
I am using following code
string filename = "Resume.doc";
string path = Server.MapPath("~/Resumes/" + filename );
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment;
filename=" + filename );
Response.ContentType = "application/octet-stream";
Response.WriteFile(path);
Response.End();
this code is working fine in localhost...
but when Execute in the server it says 'File not found in the Directory',but file exists on the server.
The website id done in ASP only the file upload and download is done in ASPX,
upload is working fine but download is creating the problem.
may be because of Version compatibility,I am using GODaddy Share WebHosting.
please help me to find the solution.
Thanks and Regards
Vayanan
|
|
|
|
|
vayanan wrote: string path = Server.MapPath("~/Resumes/" + filename );
Try to print the file path on screen and then check....
|
|
|
|