Click here to Skip to main content
15,910,981 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionedit web.config at runtime Pin
C#Coudou26-Sep-11 22:50
C#Coudou26-Sep-11 22:50 
AnswerRe: edit web.config at runtime Pin
C#Coudou27-Sep-11 0:13
C#Coudou27-Sep-11 0:13 
Questionhelp with printing a form Pin
molands26-Sep-11 19:45
molands26-Sep-11 19:45 
AnswerRe: help with printing a form Pin
Wayne Gaylard26-Sep-11 20:33
professionalWayne Gaylard26-Sep-11 20:33 
QuestionFormClosing event? Pin
waner michaud26-Sep-11 9:38
waner michaud26-Sep-11 9:38 
AnswerRe: FormClosing event? Pin
Eddy Vluggen26-Sep-11 12:07
professionalEddy Vluggen26-Sep-11 12:07 
AnswerRe: FormClosing event? Pin
horstfh4-Oct-11 21:52
horstfh4-Oct-11 21:52 
QuestionEntity Framework : Bindingsource Sort property doesn't work Pin
alejx26-Sep-11 0:26
alejx26-Sep-11 0:26 
i have a form and bindingsource to a entity.i need to sort records using a field.But the sort property has no effect.

The code is :
------------------------------------------------------------

lstBindingSource.DataSource=context.lst

lstbindingsource.Sort="name ASC"
--------------------------------------------------------------

But , the records are not sorted by "name" column.


i try also :
----------------------------------------------------------------------
lstBindingSource.DataSource=from t1 in context.lst order by t1.name ascending
select t1
-----------------------------------------------------------------------
.... and this resolve my problem , but when i add a new record or modify the field "name" of an existing record , after that the records are not in order by "name".


What can i do to resolve this problem ?
Thank you.
AnswerRe: Entity Framework : Bindingsource Sort property doesn't work Pin
Eddy Vluggen28-Sep-11 8:02
professionalEddy Vluggen28-Sep-11 8:02 
QuestionArray data types issue Pin
Razanust24-Sep-11 17:08
Razanust24-Sep-11 17:08 
AnswerRe: Array data types issue Pin
Luc Pattyn24-Sep-11 17:27
sitebuilderLuc Pattyn24-Sep-11 17:27 
AnswerRe: Array data types issue Pin
DaveAuld24-Sep-11 22:34
professionalDaveAuld24-Sep-11 22:34 
GeneralRe: Array data types issue Pin
Luc Pattyn25-Sep-11 4:04
sitebuilderLuc Pattyn25-Sep-11 4:04 
GeneralRe: Array data types issue Pin
DaveAuld25-Sep-11 4:36
professionalDaveAuld25-Sep-11 4:36 
GeneralRe: Array data types issue Pin
Luc Pattyn25-Sep-11 5:01
sitebuilderLuc Pattyn25-Sep-11 5:01 
JokeA new login form Pin
B. Giuliano24-Sep-11 6:01
B. Giuliano24-Sep-11 6:01 
GeneralRe: A new login form Pin
Dave Kreskowiak25-Sep-11 9:15
mveDave Kreskowiak25-Sep-11 9:15 
QuestionCopying one array element to another array Pin
Razanust24-Sep-11 4:56
Razanust24-Sep-11 4:56 
AnswerRe: Copying one array element to another array Pin
Luc Pattyn24-Sep-11 5:06
sitebuilderLuc Pattyn24-Sep-11 5:06 
AnswerRe: Copying one array element to another array Pin
DaveAuld24-Sep-11 22:30
professionalDaveAuld24-Sep-11 22:30 
QuestionWhy a sub is not loaded in form load but in a button it is? Pin
DeDelva24-Sep-11 3:13
DeDelva24-Sep-11 3:13 
AnswerRe: Why a sub is not loaded in form load but in a button it is? Pin
Luc Pattyn24-Sep-11 3:33
sitebuilderLuc Pattyn24-Sep-11 3:33 
AnswerRe: Why a sub is not loaded in form load but in a button it is? Pin
DaveAuld24-Sep-11 3:54
professionalDaveAuld24-Sep-11 3:54 
GeneralRe: Why a sub is not loaded in form load but in a button it is? Pin
Luc Pattyn24-Sep-11 4:04
sitebuilderLuc Pattyn24-Sep-11 4:04 
GeneralRe: Why a sub is not loaded in form load but in a button it is? Pin
DaveAuld24-Sep-11 5:37
professionalDaveAuld24-Sep-11 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.