|
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
|
|
|
|
|
Before you create new application pool, I suggest you to look into the event logger in server. This help you to identify the exception occurred. It is in Control panel - > Administrative tools
|
|
|
|
|
You can create application pools only with server family IIS. Windows XP IIS 5.1 might not have custom pools creation option.
|
|
|
|
|
Hi,
I have made one windows application that use redemption.dll to extract outlook 2007 messages.I have made this application in .Net Framework 2.0. I am able to extract all messages most of the times but some times I got problem like
"IMsgStore.OpenEntry: MAPI_E_INVALID_ENTRYID" problem solution" when I start application and it can't go further.If any one knows please reply me as soon as possible.
Thanks,
Pavan
|
|
|
|
|
i had made one integer type collection editor in web control library project.
the collection gets displayed properly at design time and i am able to add and remove items also but my problem is that value entered at design time does not effect the control at runtime.
Regards,
Ujjaval Modi.
|
|
|
|
|
Best thing is debug your control by putting break points at proper places.
Can't make any conclusion as we don't know what you have coded for the same
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... "
|
|
|
|