|
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;
|
|
|
|
|
Well, here's what I mean
/debug/ <- debug folder
/debug/App_Code/
/demo/ <-release folder
/demo/App_Code/
SO, I work on App_Code code when building the app then copy it to demo when it's ready.
How can I facilitate this?
/\ |_ E X E GG
|
|
|
|
|
I have no idea how can i get the HTML code in the textfile that I downloaded from the server.
Here is the code... (C# .net)
============================================================================================
String filename = "dataFile.txt";
String fileDownload = Server.MapPath("TextFiles//mydata.txt");
Response.ContentType = "text/plain";
String disHeader = "Attachment; Filename=\"" + filename + "\"";
Response.AppendHeader("Content-Disposition", disHeader);
FileInfo fileToDownload = new FileInfo(fileDownload);
Response.WriteFile("" + fileToDownload.FullName);
============================================================================================
I tried to used the vb .net it has no problem I mean no HTML code in the textfile.
Anybody who has ever had this problem? or Anybody who know this how to solve the problem help me please.
Thank you very much.
junior boy
|
|
|
|
|
Almost certainly you have debug tracing turned on, so it gets rendered below your text. Response.Flush() and Response.End() should stop it, but also turn tracing off in the aspx that creates the text file.
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 )
|
|
|
|
|
Well, I did turn it off. please see my code..
<%@ Page language="c#" CodeFile="test.aspx.cs" Trace="false"%>
is this correct?
If so it didn't work.
I still got HTML code in the Text file.
Thank you million.
junior boy
|
|
|
|
|
Oh...Gosh..
Thank you very much for your help. I am really appreciated.
Now I got it work.
I chaged some code it's Response.Flush() to Response.End()
I think .Flush() it doesn't work for this somehow.
Thank you very much..I spent all two days for this
junior boy
|
|
|
|
|
Hello sir,
i am maintaining a windows service which run in every ten second and check if certain condition is true then it will connect with the database and made some entry when i install it on machine , at run time it display AN Unhandled Exception('System.Data.SqlClient.SqlException')occurred in windowsservice.exe. just in time debugging this exception failed with the following error:No installed Debugger has just in time debugging enabled. say not to connect with sql server.
please sir resolve my problem
Siddharth jain
siddharth
|
|
|
|
|
It might help if you show us the connectionstring. I would guess that you have a problem with your connection string.
Ben
|
|
|
|
|
thanks for showing intrest in my problem my connection string is very simple
Data Source=DOTNET/SQLEXPRESS;Initial Catalog=HR_GoldERP;Persist Security Info=True;User ID=;Password=;
please help me in solving problem
siddharth
|
|
|
|
|
Is sql express loaded on the PC where this windows service is running? If it is installed is the database you are looking for installed? If the database is installed does the user and password you are using to connect exist with the correct rights for the application? Are you sure your name for the sql server express is correct?
If you are having problems connection with sql server there is a real good chance that there is a problem with the connection string.
If you have loaded the express tools so you can access the database, use the tool and log into sql express as the user. Make sure you can do everything the windows service should be able to do.
Ben
|
|
|
|
|
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.
|
|
|
|