|
Hello Friends
About my web application, I have an integrated web application (ASP n ASP.net), I have created one dll to maintain the session state (session variables are created in ASP page) by passing HttpContext object.
My Problem:
If the session gets timeout, Users are unable to relogin in the same browser, the users have to open the new browser to login again.
I am nt getting why this is happening. Suggestions from you...
Abhishek
Mumbai, India
|
|
|
|
|
pls give me the solution for my problem as fast as possible
i m using the datagrid and just click on the one column will open other datagrid but the problem was that i want to highlight the row through css which is selectd by the user and then just click on other row at that time the first selected row will become normal and the selected one gets the same css so this is the problem and give me solution as fast as possible.
i m using link button to click the hyperlink column in datagrid so pls give the answer in that regards
-- modified at 4:25 Monday 24th September, 2007
Hiren Dave
|
|
|
|
|
Hi,
u have write javascript code to handle this. u need to highlight on row click.
this Article[^] will help u in this regard
Ramana
|
|
|
|
|
Hi,
How to set a background image in a ListBox control. And when i take a printout of this, back ground image should be appeared in the printout. I am using VS 2003 and language is C#. I am new to .NET. Please suggest me the proper solution.
Thank u
|
|
|
|
|
Hi
i am building a web app in which i am sending emails to the site users through asp.net(C#) now i want to track two things
1-who opened that mail
2-who also clicked on some link in that email and come to my site
if a user clicked some link and come to my site i traced that by the secret code in the url but didn't got any idea how to track if some one open that mail in his inbox, i searched the net but didnt got any idea can some one guide me how to do so i am using asp.net(C#) 1.1
any help will be highly appreciated
regards
shezi
|
|
|
|
|
i want to ask you one simple
question yaro? please can you tell me when actually Interface and
Abstract Class comes in to picture.I mean whats the purpose or whats the use
of Interface and Abstract Class in developing real time project.how
people use it and when they use and why they use please send me this information.
whats the real time use of interface and abstract class things
please guide me regarding this things
|
|
|
|
|
Interface: is used to implement the some common type of task a single interface.
Abstract: is used to implement the base class structure or base class implementation. Like all .Net server control inherit with System.object base class.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
i will give good example,
go through Abstract Factory Pattern example, u will get clear idea
Ramana
|
|
|
|
|
Still please suggest me when in what conditions people use and develope the abstract and interface,in developing the classes
|
|
|
|
|
go through that example. it is self study example
Ramana
|
|
|
|
|
Abstract Factory Pattern example from were i can get link for this example
|
|
|
|
|
where is this abstract factory example
|
|
|
|
|
hi
In enterpriselibray 2.0
i add name space
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
this is my code
Database db = DatabaseFactory.CreateDatabase("pubs");
String sqlCommand = "SELECT * FROM TableName" ;
DBCommandWrapper dbCommandWrapper= db.GetSqlStringCommandWrapper(sqlCommand);
DataGrid1.DataSource = db.ExecuteReader(dbCommandWrapper);
DataGrid1.DataBind();
DBCommandWrapper object show the error like this:
The type or namespace name 'DBCommandWrapper' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\admin\My Documents\Visual Studio 2005\WebSite6\Default.aspx.cs 28 6 C:\...\WebSite6\
can u help me??
regards
saravanan
|
|
|
|
|
I had a problem in web.config so I was told to remove
"xmlns ="http://schemas.microsoft.com/.NetConfiguration/v2.0"" so I removed it and now it is giving me errors upon deployment of the website. that it doesn't recognize the connection string.
What should I do?
BiG RaLpH
-- modified at 3:44 Monday 24th September, 2007
|
|
|
|
|
Hi All,
i m sending emails in which i have error:
" The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available"
Write following code:
****************code**************************
msg.To = toemail;
msg.From = fromemailid;
msg.Subject = subject;
msg.BodyFormat = MailFormat.Html;
msg.Body = message;
SmtpMail.SmtpServer = "mail.rsmovie.com";
// Username
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "username");
// Password
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password");
// SMTP Server
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserver", "mail.servername.com");
// Port
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", 25);
// These don't normally need changing
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 1);
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusing", 2);
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout", 20);
msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", false);
SmtpMail.Send(msg);
plz reply if u have solution.
thanks.
-- modified at 3:22 Monday 24th September, 2007
|
|
|
|
|
try to set the usercredentials property to default....
i am not exactly remembering the syntax.....
or you may follow http://www.codeproject.com/useritems/Send_Emails_in_ASPNET20.asp?print=true
regards
sebastian
-- modified at 5:24 Monday 24th September, 2007
|
|
|
|
|
Hi,
I want to give validation for entered birth date taht age should not be less than 18 years.How can i do this validation.
I have a date in the form 9/25/1980 (mm/dd/yy) I want to validate it
My application is in asp.net 1.0 with vb.net
thanks in advance.
-- modified at 4:05 Monday 24th September, 2007
|
|
|
|
|
U can use Javascript for this ie on textbox onblur event calculate the Age and get check whether its less 18.
|
|
|
|
|
If you want do it using javascript then
Use date object in javascript function
how to use the date object in javascript see the link
http://www.w3schools.com/jsref/jsref_obj_date.asp[^]
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I am doing an application and all the pages work fine.
I am using Infragistics UltraWebgrid control in the form, but it also works fine
in most pages.
The problem is that i am experiencing an error called "Invalid Procedure or argument " in runtime...
The Javascript file in project does not show any error and the line number is showing as 359...
There is no such line in Javascript file attached to the project..
The paging doesnot work because of this...
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
i made a stored procedure.there i wrote the select query and then i code behind file , i wrote the following code.
SqlConnection con;
con = new SqlConnection("connectionstring");
con.Open();
DataSet ds;
ds = new DataSet();
SqlDataAdapter ad;
ad = new SqlDataAdapter("waste");
ad.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
then i added the indert query in the same procedure with the select statement .
problem is in the same function i have to implement the insert query as well as the select query.
using the sqlcommand i passed the parameters.
but how to show the exsiting records
Soniagupta1@yahoo.co.in
|
|
|
|
|
Hello friends..I got following error in as site..
The type or namespace name 'Dbprocess' could not be found (are you missing a using directive or an assembly reference?)
What is the procedure to add reference to your project..Is it necessary to upload dbprocess file in bin folder
|
|
|
|
|
This 'Dbprocess' class file is a part of your webproject or it is in seperate class library project?
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
The Dbprocess class file is put in DBLibrary.dll file and the reference is added to my project. Everything runs fine on local but gives error on server...What is the solution for this..
|
|
|
|
|
Ok I suppose that DBLibrary.dll is Compiled without including the DBProcess class file. To verify this --
Go to Visual Studio .NET command prompt and
Run this Command -- ILDASM
this will open the Intermediate Language Disassembler where you can see all the list of class files included in your DBLibrary.dll. In the list just check DBProcess class file is available or not. If not available then you will have open the DBLibrary class library project and Include the DBProcess class file, compile it, then put the latest build in your BIN folder and reference it.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|