|
http://www.codeproject.com/KB/install/msicustomaction.aspx
Please Go Through The Above Link and send in the Web Setup Project using c#
Thanks
Shavil
|
|
|
|
|
You want us to go to that link, and follow the directions to get something to work for YOUR project... Explain to me how that will work.
Why can't you do it yourself?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
|
have you tried by yourself?What is the error you found?
Cheers!!
Brij
|
|
|
|
|
Seeing as this is a C++ article, what the hell does it have to do with ASP.NET ? Did you spam the entire site, or just look for the most unrelated forum to ask in ?
You can post in the forum under the article if you have a question for the author.
Oh, I get it now. It's still not an ASP.NET question, but you want us to rewrite a C++ article in C# ? Dream on, buddy.
Christian Graus
Driven to the arms of OSX by Vista.
modified on Thursday, December 18, 2008 1:13 AM
|
|
|
|
|
Hi
I have to insert value in db from textbox which create at runtime i have done the coding the for creating it
but need help in inserting value in Database?
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsPostBack)
{
if (txtbox.Text != "")
{
CreateControl();
}
}
}
private void CreateControl()
{
TextBox txttest;
LiteralControl LCT1;
for(int i=0; i <= Convert.ToInt32(txtbox.Text)-1;i++)
{
LCT1=new LiteralControl ();
LCT1.Text="
";
txttest=new TextBox ();
txttest.ID="txt"+ (i+1);
Panel1.Controls.Add(LCT1);
Panel1.Controls.Add(txttest);
}
}
protected void Button1_Click(object sender, EventArgs e)
{
for(int i=0; i<= Convert.ToInt32(txtbox.Text)-1;i++)
{
TextBox txtCntrl=(TextBox)Panel1.FindControl("txt"+(i+1));
if(txtCntrl != null)
{
TextBox tbox = new TextBox();
tbox.Text=tbox.Text + "tbox"+txtCntrl.Text;
}
}
}
any help
|
|
|
|
|
page load is too late to create dynamic controls. They have missed the population of viewstate, and so won;t have any state.
You're also adding an empty literal every time ? Is this to space the control ? Have you tried css ?
developer.ravish wrote: for(int i=0; i<= Convert.ToInt32(txtbox.Text)-1;i++)
If someone types in 'one' here, your page will blow up.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
For better reliability of the code,
Always use try block when use "Convert" class.
Cheers!!
Brij
|
|
|
|
|
Dear All,
I am working on web development i am using VS 3.5 when i was doing code then suddenly sever explorer disappear then i open view menu and click on server explorer to view it again no server explorer didn't appear i restart IDE and also system abut still its still not solved i am avoiding to install IDE complete if any suggestion you have then kindly tell me.
Please kindly do replay
Sajjad Ali
|
|
|
|
|
|
i need to remove browser toolbars when page onload.. eg. such as toolbar=no, statusbar=no
Dushan Perera
|
|
|
|
|
I don't believe you can do that, except in some older version of IE. They fixed it as it is a security issue.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
thanks for your reply Christian Graus and can u tell me what are the alternatives to do this..
Dushan Perera
|
|
|
|
|
I have a functionality in my code which uses crystal report object to create an excel report directly on the click of a button.
Firstly the aspx page runs which uses the crystal report object. Later this page closes and the Excel sheet opens.
But I have a problem here. On some machines the aspx page closes automatically. But on some other machines the aspx page remains until it is closed manually!!!
Can anybody please suggest me on what can be checked or done here??
|
|
|
|
|
In the aspx page, the report engine URL is Redirected with certain parameters for the Report Engine.
|
|
|
|
|
naveen678 wrote: On some machines the aspx page closes automatically. But on some other machines the aspx page remains until it is closed manually!!!
Might be some browser settings. Since it is controlled by browser, ASP.NET can't do anything.
|
|
|
|
|
I am using a CheckBoxList for convenience, as I have several. But I notice the CheckBoxList itself is the sender when one checkbox is clicked. So, how do I know which one was clicked?
Thanks.
|
|
|
|
|
Try SelectedItem property. Something like
checkBoxList1.SelectedItem
|
|
|
|
|
SelectedItem or SelectedIndex will tell us which are selected - but I want to know which one is clicked.
Any other idea?
Thanks.
Ekjon
modified on Thursday, December 18, 2008 12:41 AM
|
|
|
|
|
Hi all,
How to retrieve querystring value in td using asp.net.Please help.
Thanks.
|
|
|
|
|
What do you mean in td?
To receive a the value of the querys string you use Request.QueryString.Get(mystringid), where mystringid is the id of the querystring you want.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
First you can saveit in a hdden variable from querystring then you can access it in td as
<%=hdnval.Value%>
also
You can access querystring using javascript
Cheers!!
Brij
|
|
|
|
|
Sorry if this is a dumb question; I seem to remember running into this problem some time ago, and I can't remember what the answer was :
I am working on an old ASP.NET 2.0 website that uses C# codebehind files.
I have tried to make some very basic code changes (i.e. fixing a typo in a programmatic error message) on my local copy of the webapp, but my changes are not being recompiled into the DLL.
After making the change in the .cs page, I click Build>>Build Page for both the .aspx and .cs pages. Still, the changes do not appear when I run the site on the test/local server.
The .cs pages uses "Codebehind="productdetail.aspx.cs"", which VWD reminds me is "no longer supported". Will the DLL recompile ignore my changes unless I rename Codebehind to Src? Edit: I have done that, still no recognition.
I used to use inline code for ASP.NET pages, and recompiles never seemed to be a problem. Seperate code pages, however, are presenting these problems.
Thanks for any advice!
|
|
|
|
|
Are you perhaps building a release version and then debugging, so the debug version is run ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have tried (re)building the website on my local machine with both debug="true" and debug="false". In either case, the minor message-text change I've made to the .cs codebehind file is not being recognized.
I've just noticed that there is an "obj" folder in the root containing Debug and Release folders - the Release folder has a bunch of .resources files and a "MyWebsite.csproj.FileListAbsolute.txt" file. I'm used to making stupid/simple changes to .aspx files with inline code... I need to read up on this method of deploying, as I have no idea what is going on here.
Edit: Aha, here are the MySite.csproj, MySite.publish, and MySite.sln files, as well as "User Options" files for the .sln and .proj files.
modified on Thursday, December 18, 2008 1:37 PM
|
|
|
|