|
Sir,
I have a dropdownlist and the dropdownlist is populated with the forms name available in the project.Now i want to open the selected form from the dropdownlist in the placeholder Is it possible.
Please help.
|
|
|
|
|
In placeholder you can put controls or tables or panels but not webform
instead of that you can use frameset
dropdownlist in one frame
page in other frame
when dropdown item is changed redirect to repective page
string strpagename=ddlForms.selectedItem.value;
Server.Transfer(strpagename);
|
|
|
|
|
Sir,
Where is role of placeholder in the code to execute the the form name in dropdownlist
|
|
|
|
|
DropDownList ddl = <placeholder name="">.findControl('ddl name')
-- modified at 8:05 Friday 4th August, 2006
|
|
|
|
|
I think you should convert your Forms to UserControls, it is very easy and you can display selected control in your placeholder
Pilo
|
|
|
|
|
Hi Friends,
While I am trying to connect to the database server I am getting the following error.
ERROR: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I checked my web.config file. I didnt find any errors in this.
Please help me to solve this.
I am using VS 2005 and SQL Server 2000
Thank you
Jijo
JIJO BABY - Lets Play C#
|
|
|
|
|
Hi,
In the error it is given -
jijobaby wrote: this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
And you have not mentioned that whether the SQL Server you want to use is on same machine or LAN some where. If you are using a network SQL Server then this error may occur because the TCP/IP or Named Pipes may not be set in ur SQL Server.
Please specify the complete details about the location of SQL Server.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
|
|
|
|
|
Thank you
Yes. I installed sql server in another machine.
JIJO BABY - Lets Play C#
|
|
|
|
|
How to convert string array to Guid[]
string [] arrme=Convert.ToString(Request.QueryString["value"]).Split(Convert.ToChar(";"));
i want to convert arrme to Guid[]
thanks
Mahendra
|
|
|
|
|
+ Go through the string array and manage to convert each string to the Guid value.
+ Use the Array.ConvertAll :
Guid[] guids = Array.ConvertAll<string, Guid>(arrme, delegate(string s) { return new Guid(s); });
|
|
|
|
|
Dear Friends,
Please Help Me.
i'm generating some controls through coding i want to manage this state. When i'm updating i can't get these controls value. Generating controls to PlaceHolder.....
Please Help me................. Dear Friends
Haridas.R
harisofttech@gmail.com
harisofttech@hotmail.com (online)
harizeenet@yahoo.co.in(online)
"Achievement is not a destination, its a journey "
|
|
|
|
|
i think u can use this property while creating control dynamically
txtControl.EnableViewState = true;
|
|
|
|
|
Dear friend, it is not working?, Do you have any other method?
Haridas.R
harisofttech@gmail.com
harisofttech@hotmail.com (online)
harizeenet@yahoo.co.in(online)
"Achievement is not a destination, its a journey "
|
|
|
|
|
Thank you for the information. what i exactly need is a folder browser dialog wherin a user can select a folder to download multiple files from the server on the client machine.
the file are selected through checkboxes.
|
|
|
|
|
HI,
I need to figure out an event that will call when I have clicked on one table cell and then moving upto the another table cell without releasing mouse button.
Rt now when I press mouse on a table cell then "mousedown()" calls then while draging up to other cell no event fires but after releasing on other cell mouseup() function calls for the other cell.
The requirement is, when I do move of cursor on a image in the browser the traversing area should change with other image.
Pls reply ASAP.
Thanks
Harish
|
|
|
|
|
i think this will help u
write this code in .cs file
Image imgname = dg.item.findControl("imgname");
imgname.attributes.add("onmouseover","fun1()");
imgname.attributes.add("onmouseout","fun2()");
write respective javascript code in that two functions
|
|
|
|
|
hi
I am create a zip file in asp.net code using ICSharpCode.SharpZipLib.Zip , all thing is properly work but my problem is that
when open save as dialog box for downloading and then save it to client machine is properly work but at that time if i click on open button on the save as dailog box then open zipwizard but it have not any file show blank .
Plz help me as soon as possible i really need it.
thanks in advance
arvind
|
|
|
|
|
whenever we establish connection to database through "coding"
we have to generate set of the objects properties for "update","delete"and "insert" commands.But before that we have to initialize and set the primary key.my question is why we set the primary key by coding? because primary key is set while creating a database itself.so what is the need of set again?
coding makes me interesting in dot net
|
|
|
|
|
i think here you are setting primary key for dataset tables bcz this tables will be updated as it is into database so we need same structure
|
|
|
|
|
How we will show the number of visitors of particular site in asp.net with c#.when server is shutdown and then again restarted,it must show countinuity.I mean due to server problem,it must not begin from 0 .Actually i declared variable under Application_start in global.asax and it is incremented under Session_start.It works well but when server shutdown it again start from 0
bijesh
-- modified at 1:12 Friday 4th August, 2006
|
|
|
|
|
You can use database for that purpose.
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi apurva
aavesh again,
I'm making a project in asp.net with vb,i have a page named as IndividualProperty.aspx.
I'm showing the listing of all the property one after it in the page.when any user select any property such as he select "abc" property, when he click on this Property the IndividualPropertypage will be called.that is ok.
but i want to change the URL from www.xyz.com/IndividualPropertypage.aspx to www.xyz.com/abc.com
meanwhile whatever the property he select property name must be replace the page name in the URL.
How is it possible,plz tell me thanx
|
|
|
|
|
In this case you have to rewrite the URL. You through this article this will be be of great help for you.
http://www.codeproject.com/aspnet/URLRewriter.asp
Best Regards,
Apurva Kaushal
|
|
|
|
|
Sir,
Can i programically calculate how to find the no of tables in the database.
Please help.
|
|
|
|
|
use this query
select * from sys.all_objects where type_desc='USER_TABLE'
|
|
|
|