|
You can pass the parameters using querystring. Append the parameters to the querystring and then retieive them in the targeted page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
thank u...
Pradeep Reddy
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
in url field iam passing-----moviename&time1&screenname
in url format string iam passing ------avlseats.aspx?a={0}&b={1}&c={2}
this is giving error. plz tell me how to solve this problem.
Pradeep Reddy
|
|
|
|
|
You need to concatanate the string values into the URL. Something like this:
"avlseats.aspx?a=" + "valueOfa" + "&b=" + "valueOfb" + "&c=" + "ValueOfc" ;
Best Regards,
Apurva Kaushal
|
|
|
|
|
if u pass something into url field then only the urlformatstring is getting activated. what should i pass in to url field?
Pradeep Reddy
|
|
|
|
|
all the string values you can pass in the querystring.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I’m using asp.net 2.I create a site map and a menu control to display the hierarchy of the site. I need to put a label on the master page that shows the name of the content page.
How can I do this?
Thanks
|
|
|
|
|
You need to create a ContentPlaceHolder and Put a Label control in it. You can modify that Label in your web Pages dynamically, thet uses this MasterPage.
Regards,
Jay
|
|
|
|
|
Hi!
I need to Export an external(.xls) file into a table in oracle using ASP.net for my final year project. Is this possible? If Yes, Then please explain How?
|
|
|
|
|
Simplest method would be to treat the XLS as a datasource, get a dataset (or recordset) back, then squirt it at ORA...Google has examples
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
try this code below, get the data from the oracle database to a datatable, then write the data in a html format on the page.
dtTable = Methodtogetdatatable(); //from the oracle database
string strHTML = "";
//string strStr = common.c_EMPTY;
foreach(DataColumn col in dtTable.Columns)
{
strHTML += "";
//strStr += col.ColumnName + "|";
//Response.Write(col.ColumnName + "\t");
}
strHTML += "";
foreach(DataRow row in dtTable.Rows)
{
strHTML += "";
int intCnt = 0;
foreach(DataColumn col in dtTable.Columns)
{
if ((intCnt % 2) == 0)
strHTML += "";
else
strHTML += "";
intCnt++;
//strStr += row[col.ColumnName].ToString() + "|";
//Response.Write(row[col.ColumnName].ToString() + "\t");
}
strHTML += "";
}
WriteText(strHTML);" + col.ColumnName + " | " + row[col.ColumnName].ToString() + " | " + row[col.ColumnName].ToString() + " |
|
|
|
|
|
Hi
Can anyone please tell me how to pass the imageUrl of a ImageButton through Querystring to another WebForm and assign it as the ImageUrl of the ImageButton placed there?
Thanx..
|
|
|
|
|
what you need to do is append the imageURl to the current URL like this:
string str = "../webform1.aspx?IURL=" + "imageURl";
Response.Redirect(str);
to get the imageURl from the querystring:
str = request.querystring["IURL"].tostring();
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi apurva,
Thanx.
But i need to pass the querystring while opening the form as 'Popup'
I tried ,i couldnt make out.
Please help me ...
|
|
|
|
|
Then also the method is same. You can retrieve the querystring value in the popup page also.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Ya ... i do know that
I tried in the same manner.
But when i set the QuerySTring to the ImageUrl of the ImageButton in the popup form,its not displaying the image.
When i checked the string,it was not in the format of filepath.It looked like a series of string...
Like "DImagesOne.jpg" instead of "D:\Images\One.jpg"
Thats the problem..
|
|
|
|
|
Use "D:\\Images\\One.jpg" in place of "D:\Images\One.jpg".
Best Regards,
Apurva Kaushal
|
|
|
|
|
i want to play sound in web page without breaks in the sound if any one has idea or experience in this problem i will be grateful to tell me
thanks in advance.
haitham
|
|
|
|
|
Hi,
We are developing an web application. Now we have a situation like, we need to give the BUILD for testing team but this BUILD should not have in going (in progress) developmental activites. For example, a developer is adding some controls in the "AddEmployee.aspx", but testing build should have the previous version of the "AddEmployee.aspx". We are using VSS for our project. Please help us.
Teja
|
|
|
|
|
You can label the project in VSS and then send the labeled build.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
Most of the projects are facing this situation. I suggest you to have different versions for test and production in the VSS. Otherwise it is difficult during the build for test and production.
Ram
|
|
|
|
|
i have developed a project.First time when i login by entering the login information and then log out by clicking log out button. After log out when i click the "BACK" button from control tool bar ("Green") then i login automitically without entering the login information. how i can remove this bug.
|
|
|
|
|
|
how to copy data from different servers(both sqlserver2000), same table names with same structure without using queryanalyser/enterprisemanager editors, through only aspx pages
|
|
|
|