|
Code is OK and it works for me.
In which even u are calling that loop?
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Actually, I have figured it out. I was referencing the Page class when I actually did not need to TextBox tb = ((TextBox)Page.FindControl("txtName" + (i+1).ToString())) as TextBox; I just removed it and now it works.
|
|
|
|
|
Hi There,
I'm just starting learning ASP.NET AJAX. I'm creating a web service to access in my ASP.NET AJAX application. But I don't get ref to System.Web.Script.Services.ScriptService attribute in the webservice application. I'm using VS 2005 and installed ASP.NET AJAX 1.0. Don't know what I'm missing. Could you guys help me find this?
thanks in advance
Muthu.
|
|
|
|
|
hi frnds,
I am trying to achieve Export to Excel control with .net framework 2.0. I could find lots of samples on web for that. But what I need is a User or custom control with button to do this functionality.
The control available are only for 1.1 and other samples dont work as controls.
Now I tried using one of the sample here[^] as control. But I am facing issue with VerifyRenderingInServerForm which is not available in a user control.
Any suggestions?? Any tried this before??
Thanks.
Keep DotNetting!!
GeekFromIndia
|
|
|
|
|
Hi, i have created a report which using two tables Category and Product
Main Report Field
Category Name
Sub Report Fields
Product Name Product Price Company Name
Olper Rs.45 Lever Brothers
Haleeb Rs.48 Haleeb Private Limited
i want to show a Total amount of each product but when i calculate total then it appreas in front of every record like
Product Name Product Price Company Name Total
Olper Rs.45 Lever Brothers Rs.93
Haleeb Rs.48 Haleeb Private Limited Rs.93
will any one help me how i calculate total in sub report which appears once like
Product Name Product Price Company Name
Olper Rs.45 Lever Brothers
Haleeb Rs.48 Haleeb Private Limited
Total Rs. 93
KnightGuy
|
|
|
|
|
1) Using the imperative in the subject is not going to get you help. You can't order people to help you unless you pay them. Even then over use of barked orders won't get you far.
2) What reporting tool? You didn't say, ergo no one can easily help you.
3) From what I can glean from you post, you need to put them in the footer, not the body.
Bar fomos edo pariyart gedeem, agreo eo dranem abal edyero eyrem kalm kareore
|
|
|
|
|
Hello
I try to write a java script function in the web content form
but i got this error when runing the application:
"'FunctionName' is not a member of 'ASP.pages_gridsample_aspx'"
any help will be greatly appreciated
Thanks in advance
Assaf
|
|
|
|
|
You are trying to a function to the mark up in aspx. Try using serverside code.
Control.Attributes.Add("event", "jsMethod");
I didn't get any requirements for the signature
|
|
|
|
|
Please i didn't get it
Assaf
|
|
|
|
|
Are you trying to call a javascript function from your page's code behind?
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
i create a virtual directory for Test(project name), and set the websharing for that project , i configure virtual directory
in asp.net startoption property,when run the project first default page run virtual directory but the second page run port number
fist default page run
htt://localhost/Demo/default.aspx
second file run
http://localhost:1090/Test/user.aspx
(run port number)
|
|
|
|
|
do you have multiple websites at your IIS server?
Cheers!!
Brij
|
|
|
|
|
perumalLashmi wrote: fist default page run
htt://localhost/Demo/default.aspx
second file run
http://localhost:1090/Test/user.aspx
(run port number)
seems there is some thing mistake by you . because , in First case Virtual Directory name is Demo and Second case it is Test which is your project name, so i think this may be your existing running application from Visual Studio directly.
please confirm !!!!
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
when i add a swf file in my project ,the swf file split into two file and stored in two folder,when i run viewfile.aspx file the two splited swf file join and display in browser
how i split swf file into two files
how i merger two splited swf file
|
|
|
|
|
what is the purpose of this split and marge ?
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
I am using visual studio 2003.(Frame work 1.1). i have the database with my application.what i want is while making the setup,i want to include the database too.(so that while installing the web set up,i need not to install database seperately)...any idea??
Cheers,
|
|
|
|
|
Hi
I have a sentence like:
"This is a test."
I have put that in a string
I have managed to split this string down to the first word but I am not sure how to get just the first 3 letters of the first word.
any help would be great.
thanks.
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|
|
use substring of first word to get first 3 letter.
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
try this.
string str = "This is a test.";
str = str.Substring(0, 3);
|
|
|
|
|
Thanks, that is what I did
cheers!
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|
|
I dynamically created an image (imageA), what I require is onclick event another image (imageB) should display and save the imageA id in string (which later I store in a dataset).
My question is how do I change and save the imageA id? , JavaScript can handle onclick event but don’t know how it handle in <asp:placeholder>
Here is a code
default.aspx
<asp:PlaceHolder runat="server" ID="image_placeholder"></asp:PlaceHolder>
default.aspx.vb
Dim imageA As System.Web.UI.WebControls.Image = New System.Web.UI.WebControls.Image()
imageA.ID = "imageA"
imageA.ImageUrl = "Box1.gif"
image_placeholder.Controls.Add(imageA)
Thanks In Advance
|
|
|
|
|
i have a web site there are lot of pages.
one page name home.aspx
when i run the site in localhost.
write in : http://localhost/home.aspx
i want to write http://home then open my home page
how it is possible.
|
|
|
|
|
It shouldn't be possible. In order to display a webpage within a browser, it will have to know two things:
1) What page do you want
2) Where is that page
"Home.aspx" is the name of the page. "Localhost" is the place where that page resides.
"Localhost" is the domainname for your local computer. You could change that in the hosts-file, to get something like "http://mycomputer/home.aspx".
You could also set the default page to "home.aspx", that's a setting in IIS. That would give you an address like "http://mycomputer/".
|
|
|
|
|
Hello Friends
I want to give user a option to write down in the drop down list .
Details :
Suppose there are categories in the drop down
like CAT-A , CAT -B , CAT -C and so on
if the user wants to create another category he will type it in the drop down list and click on the button
Please tell me whether it is possible or not if possible please tell me how to do this
thanks and regards
Sindhu Tiwari
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Surely the better way would be to just have a textbox and then let the user write down their info into that and then update the database that way.
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|