|
Someone? I'm just someone?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
ROTFL - I often wish it was possible to view the entire thread while writing a reply, so I could remember names and look at other responses. I might mention that to Chris.....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
When i set HttpContext.Current.Session while using thread it gives me error "Object reference is not set to an instance of an object" for Http.Context object IN THE CLASS(not on web page - aspx). But i can set Session object in the aspx page with no errors, and also i can set Session object in the class while NOT USING THREAD. How can i resolve this?
thanks in advance..
maxat
|
|
|
|
|
I have a website that curently have an admin section with which a user can manage site . I use the cookie name set in web.config file for authenticating the admin user of the site. Now I am gonna add normal user membership other that admin to my site. I have a problem regarding "authentication cookie name" for normal users as I have already used that for admin users. As you now I am not allowed to define another authentication cookie name at folder level.(But application level). So what is your recommendation to this problem ?? Should I use a normal cookie other that the one defined in web.cofig file to authenticate users . I need this . I will appreciate your help . Thanks in advance.
|
|
|
|
|
I'd authenticate that a user is logged in at all, and then have a permissions system that works out for each user what they are allowed to see and do on the site. So, the back end decides if a user is an admin. This is harder to hack than a cookie, which lives on the client machine.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi everybody
i have a case study to assign employee for shift using (asp.net)
1- the duty is 24 hours
2- assign each employee to 7 days (or lets say 7 times) , weekend is included and they want the program to generat it randomly
for example :- if the employee assigned for a day of the weekdays the other day it should be at the weekend. our weekends is (Thursday and friday)
let's say fisrt shift in saturday. the next day shift must be in weekend thursday or friday.i will explain in more details:-
here is the schedule what it should be look like (1) saturday (2) friday(weekend) (3) sunday (4) thursday (5) tuesday (6) wednesday (7) monday
3- the code should generat it atomaticly and randomly.
4- we have more than 70 employees.
5- (2) employees per a day
6- the printed report should show the id number and the day
plz help me with that
waleed
|
|
|
|
|
Which part of your homework are you stuck with ? Which parts do you understand ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i did not start it yet i'm just preparing a pototype and just i need some hints to start writing the code ..... thanx for replying
waleed
|
|
|
|
|
Again, your question is too broad. Do you know how to generate a random number ? Do you know how to show your data on the page ? Which bits do you need help with ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
yes i know how to generate random numbers and show my data but the problem is:- i create table for the employees
ID_number
name
rank
mobile phone
section
----------------
first of all do i need to make another table for the weekdays and make my program to assign day to employee randomly
the lay out report should this way
employee id employee name shift day
2354 john saturday
2354 john friday >>>>>> next shift
hints : weekend is (Thursday and friday)
waleed
|
|
|
|
|
Yes, I imagine you need to create a table for the weeks and then assign data to that table.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
waleed666 wrote: hints : weekend is (Thursday and friday)
Hints? We don't need hints, you need the hints to do your homework. This is a help site, ask specific questions for the problems you have.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
i have a gridview which contains a textbox,checkbox, and a dropdown list
my question is
the textbox field value is generated by datasource A and dropdownlist fields items is generated from datasouce B which depends on checkbox field value, how can i accomplish this??
thanks in advance
|
|
|
|
|
I cant set Session object while using threading
Error is "Object reference not set to an instance of an object."
how can i set value to session in threading
is it possible?
thanks in advance.
Maxat
|
|
|
|
|
This Error is not because Threading,
It is because you are calling session object (or any other object)
Before that object decalre or get a Memory allocation.
|
|
|
|
|
Not Session but System.Web.HttpContext.Current is null
in thrreading, when i run these codes out of threading
there isn't any error.
Only error while threading.
|
|
|
|
|
I'm looking for a 'pictureboxlike' control for
a web form using asp.net 2.0 w/VS 2005 and vb.net similar
to the picturebox control that I have been using in VB6.
I want to be able to use the backcolor, forecolor,
scale property, and currentx, currenty to create graphs
(lines, circles, parabolas) as
well as have the ability to mix different fonts
and colors when printing text.
Can someone point me in the right direction?
|
|
|
|
|
There is an image tag. ASP.NET is limited to what can be done using HTML. You are describing a control that doesn't exist, unless you use SVG. Your other option is to draw your bitmaps on the server, and feed them down to the client.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
I just googled SVG. I don't think it's what
I had in mind.
Thanks.
|
|
|
|
|
No, I doubt it was, I was just trying to give a complete answer. You probably want to generate images on the server, and push them to the client.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
take eg. there are textboxes and two Buttons.
TextBox1,Button1 and TextBox2,Button2
if someone write in TextBox1 and press 'Enter' then Button1 should be pressed
and if Something is written on TextBox2 and on pressing of Enter Button2 Shoud be pressed.
|
|
|
|
|
You can do this by help of javascript
Check the keypress event and if the event is enter(13)
the call your button click event.
Or in focus event of text box set the button summit beheviour
Viral
YahooID : just_viral
site : www.theseoworld.info
|
|
|
|
|
I want to create a class that my whole asp.net application can use, sort of like how the App_Code folder works. But the problem, with
App_Code, is that it sits on the site root, so any changes you make to it affects ALL the code in your site which might break production code.
I would like to create two seperate App_Code type folders within both my debug and release folders. Is that possible?
/\ |_ E X E GG
|
|
|
|
|
No, it's not possible, and it it were, it would not help. Any changes you made to any code in these folders would also affect all the code in the application.
Add a library project to the solution. This compiles into a separate dll file, and you can easily separate it from the main application at any time by removing the reference to the project.
---
single minded; short sighted; long gone;
|
|
|
|