|
Are you using Visual Studio 2005 or 2003 ?
|
|
|
|
|
How can I provide permissions to shared Drive or Network Drive folders from asp.net Page?
Any help plz??????????????
Thanks,
Bhasker P
|
|
|
|
|
at iis, there is a asp.net user running all the time, in order to share folders and files in your website, you must to modify the asp.net user access permissions.
keep Learning...
|
|
|
|
|
ASPNET account gives access to the users under that account. I am using impersonate. So this will identify the current user. This is working fine. How we can authorized the folders from asp.net page using impersonate?
Thanks,
Bhasker P
|
|
|
|
|
I'm working on a web application and I have one really BIG problem. I'm just not able to get image from image scanner plugged in the Client computer... And I'm wondering:"Is it possible to create a web application that uses scanners plugged in the Clients, and if it is, how can I create one??"...
Please help becouse it's killin' me
tnx for any help and replay you post, AzDHeX
|
|
|
|
|
It is possible, of course, but not with pure web application. You have to create ActiveX component or use similar technology to access clients resources. ASP.NET runs only on server side and is separated from client.
Pilo
|
|
|
|
|
I want to add two times together. Eg. 11:05:00 + 00:10:00 the result should be 11:15:00. I am using MSSQL as my backend and ASP.Net as my frontend. One time is retrieved from MSSQL and another from the ASP.NET Dropdownlistbox. How will i add the times.
Sarvan.M
|
|
|
|
|
I don't understand why you want to add two different dates? Probably you want to add some time span to a particular date if it is so then there are somany methods available datetime in asp.net.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Simple...
TimeSpan myTimeFromDropDownList = GetTimeFromDropDownList();
TimeSpan myTimeFromSql = GetTimeFromSql();
TimeSpan myOverallTime = myTimeFromDropDownList + myTimeFromSql;
but maybe you have another probelm with it, which I don't see...
Pilo
|
|
|
|
|
Hi,
Im really struggling to find solutions to my problem so any help would be greatly appreciated!
Basically i want to create an events calendar which shows the current month. If the database holds any events for the current month these should be indicated within the calendar control on the corresponding day.
I know items can be added to the calendar using the day render event but i dont know how to best use this to get data from the SQLDataAdapter etc.
Thanks in advance.
-- modified at 8:49 Tuesday 12th September, 2006
|
|
|
|
|
you have to create runtime button controls according to the data Fetch from database
attach event using delegate.
u can populate function corresponding to the day\Date click as button control
Mahendra
|
|
|
|
|
Hi,
Thanks for the reply but it makes no sense whatsoever!
Please explain.
|
|
|
|
|
If you just want to display text within day cell, then you can use DayRender method in your own class MyCalendar, which extends Calendar control.
class MyCalendar : Calendar
{
private ArrayList myEvents;
public MyCalendar() : base()
{
DayRender += new DayRenderEventHandler(myCalendar_DayRender);
}
protected override OnPreRender(object sender, EventArgs e)
{
DateTime visibleDate = (VisibleDate > new DateTime(2000, 1, 1)) ? VisibleDate : TodaysDate;
myEvents = LoadEventsFromDatabase(visibleDate.Month, visibleDate.Year);
}
void MyCalendar_DayRender(object sender, DayRenderEventArgs e)
{
for(int i=0; i < myEvents.Count; i++)
{
if (((MyEvent)myEvents[i]).Date.Day == e.Day.Date.Day)
{
e.Cell.Controls.Add(new LiteralControl("<br/>" + ((MyEvent)myEvents[i]).EventTitle);
}
}
}
}
I suppose you created MyEvent class with two properties, DateTime Date and string EventTitle.
And you have a method LoadEventFromDatabase, which queries database, retrieves events and transform them into ArrayList of MyEvent objects (or you can use generic List<MyEvent> instead of ArrayList)
I hope it works
Pilo
|
|
|
|
|
Pilo,
Thanks for the detailed solution. I've been away from .Net for a while now and am new to version 2.0 using VS2005. How do i go about retreiving data from the database and turning it into an array? It seemsVS2005 only allows wizard based use of the SqlDataAdapter, how do i get the data from this?
Many thanks and sorry to be so demanding!
|
|
|
|
|
I want to maintain session cookielss using cookieless="true".
but don't want to show SessionId in url may i do it.
Mahendra
|
|
|
|
|
mbbisht wrote: I want to maintain session cookielss using cookieless="true".
but don't want to show SessionId in url may i do it.
As far as I know, you cannot. The session ID is required, but its management is completely automatic, so you don't have to take care of that.
|
|
|
|
|
No, you can't. If you don't want to store the SessionID in a cookie, there is no other place than in the URL.
---
b { font-weight: normal; }
|
|
|
|
|
How can i send gridview within mail in asp.net
i tried get content of div[runat="server"] which has gridview
but error occurs ("Cannot get inner content of divmail because the contents are not literal.")
how can achive that,
thanks in advance..
|
|
|
|
|
I want to maintain session cookiless using cookieless="true".
but don't want to show SessionId in url may i do it.
Mahendra
|
|
|
|
|
Hi Mahendra,
No we cannot maintain it.
With Regards
Satips
|
|
|
|
|
Hi
One & All
I need a small menu in my project. If i click one main link it as to show the sub links. this is my requirement in my project.
So please give me an idea to do this.
Thanking U
Naren.
please help me
|
|
|
|
|
If you are using ASP.NET 2.0 then use the Menu control (Navigatiopn tab if you are using Visual Studio 2005) otherwise you can code on yourself.
Google has plenty of examples of dropdown CSS/JavaScript menus.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
HI
Guys , i want make my app to run on all resolutions ,and it's UI Design remains the same and correct on all resolutions, how can i do it,plzzz let me know in ASAP, thankx in advance for help.
|
|
|
|
|
use css for color,font,size instead of Fix values
Mahendra
|
|
|
|
|
Thankx man for ur reply, is there any other way then the CSS for doing it.
|
|
|
|