|
|
I have a dropdownlist control which i populate it on the client side using Java script. But while post back I do not get the dropdown data on the server.
Could you please tell me how to achieve this.
Hariom
|
|
|
|
|
One obvious way is to send it to the server with AJAX. Another is to put your data in a hidden field, comma seperated perhaps.
Please don't ask twice.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have created a crystal report in crystal report XI and using a typed dataset xsd file for the report (I have given same column name which i used in the query)
And I used Load method to load the report and set the datasource.
I use the dataset 'Merge' to merge the XSD schema dataset with the dataset which I populate using the query. I have created some reports. It works fine.
But I have one cross tab report. For that cross-tab report, in runtime after the dataset is filled and merged fine. Also it binds it to the crystal report without any error.
But at last it gives the page showing the
'The report you requested requires further information.' - message and
asking userid, password... Even after I gave the info, it didnt display the cross-tab report. I am annoyed with this problem.
Can anyone please help me out in this problem? I am very much thankful to you..
Expecting ur replies eagerly...
Thankfully,
jm
|
|
|
|
|
Hi All,
I have populated one dataset.
I want to add all rows of one column from dataset to dropdownlist.
Is it possible on not?
Please help.
Tejesh Kamble.
Software Engineer.
|
|
|
|
|
Tejesh Kamble wrote: Is it possible on not?
Yes. It is possible.
Something like this:
foreach(DataRow row in myDataSet.Tables[0].Rows)
{
myDropDownList.Items.Add(row["ColumnName"].ToString());
}
|
|
|
|
|
Thanks for ur valuable and helpful reply,
It will help me lot.
Tejesh Kamble.
Software Engineer.
|
|
|
|
|
Tejesh Kamble wrote: all rows of one column from dataset to dropdownlist.
ddl.DataSource=ds.Table["tablename"];
ddl.DataTextField="columnName";
ddl.DataValueField="ColumnName";
ddl.DataBind();
best regard
Pathan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Thanks for ur valuable and reply,
It will helpful me a lot.
Tejesh Kamble.
Software Engineer.
|
|
|
|
|
I want to draw one vertical line in my asp.net page
hw can i do this?
please help me its urgent.
Mogha Ritesh
|
|
|
|
|
Mogha Ritesh wrote: I want to draw one vertical line in my asp.net page
hw can i do this?
A possibility: You could create a table with a width of 0 and a border of 1
Mogha Ritesh wrote: please help me its urgent.
These things always are.
|
|
|
|
|
I have tried it but its not working properly its width remains to wide.
so any guide line to make it thin.
Mogha Ritesh
|
|
|
|
|
Create a style sheet for t column/tabley that style sheet class should contain the proper width
i am giving example
i have to show divider after every row so i created image of dots and wrote one class
.divider
{
height: 1px;
font-size: 1px;
background-image: url(images/dash2.gif);
background-position: bottom left;
background-repeat: repeat-x;
margin-top: 20px;
margin-bottom: 10px;
}
in same way check for the y coordinate instead of x
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... "
|
|
|
|
|
|
<table/> abuse! Blasphemy!
He could/should archive that effect with CSS (I'd say put it in a div with border, but I suck at HTML/CSS), but if it's urgent...
[ My Blog] "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - Rüdiger Klaehn "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
Hi,
I am facing some null value problem of a datagrid.
It is a bit complicated, let me explain a bit.
Table A: int AFieldX store a primary key of Table B where Table A will get BFieldY base on AFieldX. Unfortunately AFieldX can be null, so when my datagrid make an INNER JOIN between Table A and Table B, it return nothing and therefore the whole datagrid is empty.
Can I know is there a work around for this as to ignore and continue to print even there is null value?
Thanks in advance.
J Liang
|
|
|
|
|
J Liang wrote: so when my datagrid make an INNER JOIN between Table A and Table B,
How datagrid can do Inner Join ? Do you mean in query ? SQL Server has a IsNull function, provided to convert null values to specified value. Will that solve your problem ?
|
|
|
|
|
can u plz suggest me sum short n easy way of deploying a web application in asp .net 2.0 (visual studio 2005).Its urgent...
|
|
|
|
|
bugging my life... wrote: sum short n easy way of deploying a web application in asp .net 2.0
Copy files to server including ASPX and ASPX.CS or ASPX.VB
|
|
|
|
|
hi,
whenever i try to browse any directory in IIS I get a HTTP 500 - Internal server error.
I have also reinstalled the IIS since i had installed visual studio.net first and then IIS .
Also when i try to use the aspnet site adminstration tool i get a server not found error.
can anyone help me out with this??
-- modified at 3:51 Friday 12th October, 2007
|
|
|
|
|
To see more details of the actual error, within IE, you can turn off 'friendly' http errors:
Within IE select Tools - Options
Select the Advanced tab
Make sure the 'Show friendly HTTP error messages' option is unchecked.
Thanks and Regards
Aavesh Agarwal
|
|
|
|
|
i tried that one and that gives a Server Application error with no further details
|
|
|
|
|
At the time when you get a 'Server Application Error', please check out System EventLogs (eventvwr.exe) to see if there are any messages logged.
|
|
|
|
|
Is you server contains multiple versions of .NET framework installed ? Try creating a new application pool and run your application under that pool.
|
|
|
|
|
hi,
theres only the framework 2.0 installed. and could u tell me wat u meant by creating a new app pool??how do i do that??
thank u in advance
-- modified at 4:27 Friday 12th October, 2007
|
|
|
|