|
IIS Requires .Net Framework 3.5
Hi, I installed the VS2008 in my pc. When i open the Manage->IIS services. it doesn't show the 3.5 Framework in the Website's Properties here it show only 2.5 version.
I am using XP operating system. Please Let me know do i need to New version of IIS for 3.5 Framework.
|
|
|
|
|
Ravindra Bisen wrote: t doesn't show the 3.5 Framework in the Website's Properties here it show only 2.5 version.
It should be. There is only upgrades in dll for 3.5 Framework. So if you are getting 2.5.X.X . It's Fine.
just make sure, you IIS is properly registred with ASP.NET Framework. You can have look into aspnet_regiis command for the same.
Please let me know if you any doubts.
Thanks !
|
|
|
|
|
Explain about Boxing and unBoxing
|
|
|
|
|
Homework question? Google it!
..Go Green..
|
|
|
|
|
check the following link
Boxing adnd UnBoxing
regards
koolprasad2003
Rating always..... WELCOME
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
|
Boxing means converting value type variable to reference type variable and unboxing is converting reference type variable to value type variable
ex int i=1;
obj o;
Boxing
int i = o;
Unboxing
o=(obj)i;
Hope this may help u.........
|
|
|
|
|
in c#.net:
i upload a picture with my default .aspx
and then i bound them in gridview
and now i want with mouseover on the file i show the thumnail of picture
|
|
|
|
|
Have you tried this[^]?
..Go Green..
|
|
|
|
|
i want
for example. when you put the mouse over this link www.dsfkjsdlkg.com I want to show a thumbnail image with me near the cursor.
please give me a sample
|
|
|
|
|
This[^] is the 2nd link from the Google search link that I gave you. It shows how to show an image if you hover a hyperlink.
Did you check the links? You will get many others from it which do the same thing.
..Go Green..
|
|
|
|
|
thanks, thats right.
|
|
|
|
|
Glad to help you. You should mark an answer as 'Good Answer' if it answers your question well.
..Go Green..
|
|
|
|
|
do u know sharepoint?
|
|
|
|
|
Hi,
I am trying to clear the items in listbox using .clear method. but this takes too much of time.
currently my listbox contains about 5000 records, but when i try to clear the listbox it takes almost around 1 min.
any workaround for this
Sandeep Kumbhar
|
|
|
|
|
Yes it will take some long time to load & clear in web page. I think list-box with around 5000 items not advisable, you may try auto-complete extender or Gridview(with filter/sorting options load dynamically) so that end user can search data entering starting chars. It's just my suggestion.
|
|
|
|
|
Please try to use javascript , it will take less time.
|
|
|
|
|
Hw abt setting the datasource=null
provided u are using the datasource property for binding the listbox.
|
|
|
|
|
sanjubaba wrote: currently my listbox contains about 5000 records
You can clear the list box just set the datasource as null if you are binding the list from data source.
But, My questions is that why you are binding this amount of Records with your List ? This is seriouly impact performance.
Thanks !
|
|
|
|
|
hi, iam using asp.net2.0 with c#, with backend sql server2000
in my client system i have to create dynamically procedure and return the result
but when iam using in my local system the code is working fine but at client system it it not working can you correct my code which helps me
string strcon = "Data Source=";strcon += Request.Params["REMOTE_ADDR"] + ";" + "Initial Catalog=POS;User ID=sa;Password=xx103";
SqlConnection conproc = new SqlConnection(strcon);
conproc.Open();
SqlCommand cmdproc = new SqlCommand("getsum", conproc);
cmdproc.CommandType = CommandType.StoredProcedure;
cmdproc.Parameters.AddWithValue("@BranchKey", Convert.ToInt32(Session["BranchKey"]));
DateTime dt = Convert.ToDateTime(txtfrom.Text.ToString());
string fromDate = dt.ToShortDateString();
DateTime dt1 = Convert.ToDateTime(txtto.Text.ToString());
string toDate = dt1.ToShortDateString();
cmdproc.Parameters.AddWithValue("@FromDate", SqlDbType.SmallDateTime).Value = fromDate;
cmdproc.Parameters.AddWithValue("@ToDate", SqlDbType.SmallDateTime).Value=toDate;
SqlParameter p1 = cmdproc.Parameters.Add("@tot", SqlDbType.Decimal);
p1.Direction = ParameterDirection.Output;
if ((Convert.ToInt32(cmdproc.ExecuteNonQuery())!= -1) && (cmdproc.Parameters["@tot"].Value)!= DBNull.Value)
{
decimal ot = Convert.ToDecimal(cmdproc.Parameters["@tot"].Value);
if (ot != null)
{
txttotal.Text = ot.ToString();
conproc.Close();
}
}
else
{
clsdataset.ShowAlertMessage("No Data");
txttotal.Text = "";
}
|
|
|
|
|
Are you getting any error? you didn't mentioned that. I guessed one thing, Is your client machine have database? Then Handle the exception using Try..Catch. Reply the details so that we can help you.
|
|
|
|
|
hi,
my client is also having same database with same tables,
client is having data also but displaying no data as a result
|
|
|
|
|
what about the error details? then compare the 2 databases verify those are same.
|
|
|
|
|
I feel executenonquery will return -1 only if it is a procedure
if it is a inline query then it will return the affected rows.
Just check in DB and let me know whether it is updating in tables or not.
|
|
|
|
|
I am developing a web application in ASP.NET using Visual Studio 2008. I am developing it in .NET framework 3.5.
Now is it necessary for the users to have .NET framework 3.5 installed on their systems?
|
|
|
|