|
I hope you are trying this from windows app not Web app. If it is the later, then you need to understand the basics of asp.net
If it is windows app, then, my friend, you are in the wrong aisle.
In any case,
Usharva wrote: In Outlook.NameSpace.Logon Profile property what value i need to pass to read other Inbox?
Usharva wrote: Outlook.NameSpace ns = myOlApp.GetNamespace("Mapi");
ns.Logon("","",false,true);
Check how outlook is configured and how you talk to your mail server. I am assuming it uses your windows credentials. that is why when you leave it blank, it will impersonate you.
Did you try to use your windows credentials?
|
|
|
|
|
Consider 3 columns in the GridView Control like(ID,Filename,Path). How to loop through and get the Filename, Path Values.
total rows count using GridView1.Rows;
Reg,
Palanivel
|
|
|
|
|
GridView1.Rows[RowIndex].Cells[ColIndex]. is this you are asking ...
|
|
|
|
|
your grid should have a datasource.
if the datasource is a collection then loop through the collection using foreach loop.
|
|
|
|
|
I have a treeview in my page which I need to put a vertical scrollbar. How can i do that? Since there is no inbuild property, I am not sure how to do that inside a ?
Can anybody please give an idea on this?
Thanks in advance.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Why don't you use ASP.NET Panel control with ScrollBars property set to 'Auto' and put around TreeView control.
|
|
|
|
|
Thanks. Let me give a try.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
put ti gridview in the div element
and set the style of div element to overflow-y:scroll for vertical
and overflow-x for horizontal and only overflow:scroll for both
example
<---- your gridview control ------>
<asp:gridview><asp:gridview>
Shaikh Tauhid Hasan
|
|
|
|
|
Hi ,
I'm creating a video gallery. In my gallery I'm uploading videos from my application.
Can any 1 tell me that how can i display video in thumbnail?
Is there any option/code in asp.net so that we can show video in thumbnali?
I don't wan't to create thumbnail image for each video.
If u know the answer or any link, Plz help me.
Regards...
|
|
|
|
|
Check this link[^]
As video is stored in the server, you may need to do video streaming using Silverlight of Flash and display the content in smaller sizes.
|
|
|
|
|
You had better create a thumbnail version of your videos, otherwise the page will take forever to load.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I thought I would post this because it was driving me nuts.
When you are firing a RowCommand from a GridView ButtonField when the ButtonField is of type Image, Page.IsPostBack is false
Button column as image:
<asp:GridView ID="gvMyGrid" runat="server" AutoGenerateColumns="false" Width="200px" >
...
<asp:ButtonField CommandName="Up" ButtonType="Image" ImageUrl="Images/up.gif" />
</Columns>
When you are firing a RowCommand from a GridView ButtonField when the ButtonField is of type Button, Page.IsPostBack is true
Button column as button:
<asp:GridView ID="gvMyGrid" runat="server" AutoGenerateColumns="false" Width="200px" >
...
<asp:ButtonField CommandName="Up" ButtonType="Button" Text="Up" />
</Columns>
Code Behind:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
'This code will be reached on first load and also when the user clicks a Gridview ButtonField Image!!!
End If
End Sub
Protected Sub gvMyGrid_RowCommand(ByVal sender As Object, ByVal e As GridViewCommandEventArgs) Handles gvMyGrid.RowCommand
...
End Sub
|
|
|
|
|
what ur trying to ask quest is not fully completed
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
It is not a question Its just some information that I thought would be useful since I think it is a bug with the .NET framework.
|
|
|
|
|
From what I understand, there can be only on web.sitemap file.
However if I want to create a master page with two menu's, one horizontal menu and one vertical menu at the same time,
then how do I construt it?
Should one of the menus be a static menu while the other menu's datasource be web.sitemap?
<- Menu1 ->
^ -----------------------
^ |contentpage contentpage|
M |contentpage contentpage|
E |contentpage contentpage|
N |contentpage contentpage|
U |contentpage contentpage|
2 |contentpage contentpage|
^ ----------------------
My Requirement
Horizontal menu1 should show ==> Home, Blogs, View Photos
Vertical menu2 should show ==> Write Blog, Edit Blog, Add Photos
Please help me out!
Thanks,
NetQuestions
|
|
|
|
|
Hi there,
I am not sure where did you get your info of couldnt have multiple sitemaps, but its not true, you can and you have to specify multi sitemap provider therefore, here is a link that will help you:
http://msdn.microsoft.com/en-us/library/ms178426.aspx[^]
Sincerely Samer Abu Rabie
Imagination is more important than knowledge !
|
|
|
|
|
thanks Samer, i was able to perform the setup after updating my web.Config with multiple providers
|
|
|
|
|
Hi I am creating window' service .I have created it but while creating setup i got error as error code 1076 no valid sorce code be found for product.what is this error.
Please give me solution for this error if possible
Thanks in advance,
Regards,
Makarand Jadhav
|
|
|
|
|
Good Day
try to see if you have followed the Steps here ,
http://www.dotnetfunda.com/articles/article191.aspx[^]
If it still gives you an Error tell me
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I am in need of writing an application ,as soon as i deployed an application in asp.net server it has check automatically a column of a table depending the value i have to send emails on daily basis(that means when a day changes it has to automatically scan the entire table based on that it has to send emails..)please help me out in this matter
|
|
|
|
|
Use windows scheduler.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
You can schedule triggers on database based on time condition.
Or
You can execute a function that check the current date value after a specified time period and if old date and new date is not equal then you can execute your code.
Regards
Atul.
|
|
|
|
|
y u cant go for scheduled tasks?
i acheived using that
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
If your database is SQL Server, I would create a SQL Agent job that runs on a schedule to scan the table. Then you can use database mail to send the emails.
My other signature is witty and insightful.
|
|
|
|
|
Hi,
I am a starter in asp.net. i've created a project containing a folder called "Login"
with some pagesin it. When i run the project and type a page name in the browser address bar it lists all the other pages in it. I want to block it and redirect it towards a single page named Login.aspx in that folder.
Plz Help.
|
|
|
|