|
Thaks nagendra
i hv resolved the problem.
Saurabh Gupta
Software Engineer
|
|
|
|
|
I have provided google link in last post to it i think that better option to learn than getting answer directly from forum
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... "
|
|
|
|
|
hi,
I am new in VS.net 2005.
I created one simple web application(no aditional dll refernced) and published it.
But the bin directory of the published application contain 4 or 6 dll files..
And its name is also strange.My application name is TESTMY2005 .
But the dlls names are like App_Code.dll,App_global.asax.dll,App_Web_7-fyelsj.dll,App_Web_yhzbj4i_.dll etc...Why this happen??
In ASP.net1.0 ,there is only one dll and its name will be same as our application name.
how can i solve this issue?? or is it any problem occured from my side??
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
download "Add web deployment project" from Deployement.
After installation ,
You have got options "Add Web Deployment Project" in Solution Explorer.
You can deploye application with only one dll.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Thankx for ur reply..It helped me a lot..
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
One doubt also..
after building this using web deplyment project,the bin directory of the published application contain App_global.asax.compiled,App_Code.compiled with my dll.
wats it?is it neccessary one??
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
Hi all ,
I am using C# , asp.net ,visual studio 2005.
I am defining label control at runtime as
Label item1 = new Label();
And assigning its id as
Item1.ID = "item1";
But problem is that I have to define it for 250 label control.
Actually I tried it to define through loop but its not working.
Is better way of coding posiible or we have to define all 250 label control
Please help
Thanks
imran khan
|
|
|
|
|
But why you want to define 250 labels ?
Can you tell the business requirement behind so that could help you more that just giving answer
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... "
|
|
|
|
|
This works fine for me:
for (int i = 0; i < 250; i++)
{
Label l = new Label();
l.ID = "label" + i.ToString();
l.Text = i.ToString();
this.Controls.Add(l);
}
Can you share some code? What do you mean it is not working? What is it doing?
|
|
|
|
|
How to erase the values present in the textbox when user clicks the browser's back button.
can anybody help me........
|
|
|
|
|
hi,
Try TextBox.Text="";
Nagendra
|
|
|
|
|
sry the actual thing i want to erase the prevoius pages content.
means suppose if user enter his/her details and clicks submit button and enters into some other page. when user clicks browser's back button from that page i dont want to display the previos page's content i want to erase the fields.
How to do this.
|
|
|
|
|
Remove all the values before redirecting user to another page.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
disable caching on client:
Response.CacheControl = "no-cache";
Response.AddHeader("pragma", "no-cache");
Response.Expires = -1;
This will cause a Request to the server when the user clicks on the back button.
Your page will be freshly initialized then.
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
Hi..
All
I've a database table's 'bit' field type problem.
The problem is :
When I fire any update query to the table, my 'Active' (bit type) field automatically updated to value 1. But I have not taken this field in my update query. But this update query update the value of 'bit' field with 1.
Please, Give me any solution as soon as possible.
Thanks in Advance..
Regards,
Abhi
|
|
|
|
|
Hi,
Please tell me what is the purpose of using that field and whats initial value of that field.
Nagendra
|
|
|
|
|
I haven't given any initial value of that field in design type.
Foe Ex. The current value of 'Active' field is : 0
Now, I'm fire a update query of other fields except 'Active' field.
But, this query update the value of 'Active' field with 1.
Means, I haven't use this 'Active' field in my Query.
My Query is : update tblProduct set Name = 'xxxx' where ProductID = 1
but, After fire this query, My 'Active' fields value become 1, while it was 0.
So, This is my problem.
Hope you will get this now.
Please, Help me as soon as possible.
Thanks.
Regards,
Abhi
|
|
|
|
|
Dear Friends..
I have my ASP .Net project which is done in Ajax .I use AJAX dll in this to avoid post backs..
The thing is, my application runs well in Internet explorer but it doesn't work well in browsers such as Mozilla,safari etc..I use javascript functions in my aspx pages..They are not getting fired in these above mentioned browsers
For example i display a timer in my .aspx page.This timer is not even shown in the mozilla browser if i open my application..Wat to do..?
Pls help in this regard..
Regards,
Balaguru
|
|
|
|
|
This sounds like the javascript isn't valid in none-IE browsers. Open your site in Firefox, and debug the pages with Firebug (a FireFox add in).
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Dear Pete O'Honlan..
I am having iframes in my aspx page..Whether it could be the reson for malfunctioning..?
Regards,
Balaguru
|
|
|
|
|
I seriously doubt it. Give what I suggested a try and see what FireFox complains about.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
I am using a FileUpload control for uploading and saving the inside text into the database, it was working fine in my local system but after uploading the project in the server it is showing error that could not find file at the time of saving the uploaded file in the databse
Thanks & Regards
Mishra
|
|
|
|
|
Have you tested the aplication in another machine ?
Can you post the code that will upload the file at server ?
So you are uploading Text file and after uploading the file the content will be stored in database
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... "
|
|
|
|
|
Hi,
I am using this lines of code to read from the uploaded file:
FileStream fst = new FileStream(fupsql.PostedFile.FileName, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fst);
string qry;
while ((qry = sr.ReadLine()) != null)
{
totqry += qry;
}
sr.Close();
fst.Close();
After that I am storing that string "totqry" in the databse.
Thanks & Regards
Mishra
|
|
|
|
|
The problem is surly with ur database connection. Its not matching with the server path.
Nagendra
|
|
|
|