|
Try out this code and check,whether its answers ur question. U can use this for both single item and multiple item move.
Dim i As Integer
Dim j As Integer
Dim n As Integer
For i = 0 To ListBox1.Items.Count - 1
n = 0
If ListBox1.Items(i).Selected = True Then
For j = 0 To ListBox2.Items.Count - 1
If ListBox2.Items(j).Text = ListBox1.Items(i).Text Then
n = 1
End If
Next
If n <> 1 Then
ListBox2.Items.Add(ListBox1.Items(i).Text)
End If
End If
Next
with regards,
sudha
|
|
|
|
|
Thanks Madam.. its really working fine
|
|
|
|
|
Hello all,
I have a multiview with two views. on click of one button I need to change activeviewindex of multiview with clientclick event of this button(java script function to handle this). i have a server side click event too for the same button, after clientside event changes the activeindex of multiview, my server side event will work with the current active index(which is changed through javascript).
So i just want to change activeviewindex of a multiview from javascript.
is there any way to do this? Any idea will be helpful...
People often say that motivation doesn't last. Well, neither does bathing - that's why we recommend it daily
Akhilesh Singh
|
|
|
|
|
hi friends
In enterprise library 2.0 contain the class and dll..
which one i will use the program.
another query is:
it contain multiple classes.
For example,cacheblock contain multiple class.which class should i use program
regards
saravanan
|
|
|
|
|
Could you explian your query properly ?
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... "
|
|
|
|
|
can you clarify your question
Mahendra
|
|
|
|
|
What is your problem?
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
In enterprise library
contain 7 blocks..
1.dataacces block
2.security block
.
.
.
7.configuration block
each block contain multiple class libraries
each class libraries contain different type of code.
how to use the enterprise library in aspx page..
hope u understand
|
|
|
|
|
It depends on your Requirement.
if u want to Manage Database Interaction u have to use DATA Access BLock.
if u want to Manage Exception have to use ExceptionHandling BLock.
Mahendra
|
|
|
|
|
thanxs
but i have one doubt.
In dataaccess block contain sql,oracle like this
here sql contain near to 20 class libraries
for example
1.ConnectionStringFixture.cs
2.DataAccessTestsFixture.cs
i use enterprise library 2.0
i am new in enterprise libray
plz help
regards
saravanan
|
|
|
|
|
saravanan05 wrote: i am new in enterprise libray
My Kind and Humble request is Go through some of the books related to the Enterprise Library and also gi through some of the Links which you get ti from our Best Friend and try to understand the concept and implement it.
Then ask your Query. Don't ask your problems blindly.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
|
Glad to Help Always.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
You should really just add a reference to the DLL. You don't need to include all the classes in your solution...
|
|
|
|
|
I have used the XMLHttpRequest class to get results from my http handlers. I see that IE caches the results returned by http handlers .How can I avoid this ???
|
|
|
|
|
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hi All
Im having a problem getting my treeview to select a single node.
I wanna achieve the following:
When i click on the checkbox then i want to select that node,that part works.
But when i select a second node then i want the first node to be deselected.
Can someone please help.
Thanks in advance.
living life on the flip side
|
|
|
|
|
How are you capturing the "selectedindexchanged" event for the treeview ?
in the codebehind file ??
|
|
|
|
|
how open new window from c# code with in asp.net 2.0?
i want to click button then open new window with flash movie
|
|
|
|
|
Write a javascript for that or try this
Button.Atributes.Add("OnClick","javascript:window.open('PageName.aspx');");
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... "
|
|
|
|
|
Hi all
on click datagrid line item i want to open a window with selected line items (as session or request.querystring)
My .net ver. is 1.1
so the DataNavigateUrlFields also not working
any other way to do this
Thx
Keerthi
|
|
|
|
|
USE HTMLANCHORTAG In ITEMTEMPLATE FIELD
<a href="B.aspx?ID="+<%#Eval("field1")%>+"&VAL="+<%#Eval("field2")%> target="_blank" >VIEW/EDIT/DELETE</a>
bEST rEGARD
pATHAN
---------------------------------------------------
|
|
|
|
|
|
what error?
---------------------------------------------------
|
|
|
|
|
I have a series of records that r displayed in a gridview control I want to search in that gridview and keep everything in the grid view. how can I do that?
thx
BiG RaLpH
|
|
|
|