Click here to Skip to main content
15,914,162 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: hi Pin
Richard MacCutchan22-Feb-10 21:51
mveRichard MacCutchan22-Feb-10 21:51 
QuestionVery simple combobox trouble Pin
Nikz222-Feb-10 4:40
Nikz222-Feb-10 4:40 
AnswerRe: Very simple combobox trouble Pin
Richard MacCutchan22-Feb-10 21:57
mveRichard MacCutchan22-Feb-10 21:57 
GeneralRe: Very simple combobox trouble Pin
Nikz223-Feb-10 2:54
Nikz223-Feb-10 2:54 
GeneralRe: Very simple combobox trouble Pin
Richard MacCutchan23-Feb-10 6:44
mveRichard MacCutchan23-Feb-10 6:44 
GeneralRe: Very simple combobox trouble Pin
Nikz223-Feb-10 6:54
Nikz223-Feb-10 6:54 
AnswerRe: Very simple combobox trouble Pin
Luc Pattyn23-Feb-10 11:26
sitebuilderLuc Pattyn23-Feb-10 11:26 
GeneralRe: Very simple combobox trouble Pin
Nikz223-Feb-10 12:10
Nikz223-Feb-10 12:10 
Well.. It's more complicated, because i cann't just bind data to my combo. I need to do some operationes before, so i create an arrayList of combobox items and bind it. So before register customers data i make some check. 1st i check if combo.selectedValue is Nothing (=null) and if it is i call database procedure that give me id of my street (if it exists it gives me a real id, if it doesn't procedure inserts data and returns @@IDENTITY) than i check my DataSet if it has already that id and if it doesn't i add a row and get datasource of the combo (dim array as arraylist = combo.DataSource) and then add data to arraylist and than i have to reset datasource of my combo (combo.datasource = nothing combo.datasource = array). And then change combo.SelectedValue = sqlcmd.Parametres("id").Value.ToString() (i used it before and it didn't worked.. I spended some time searching and didn't found an answer. The problem was ToString() i didn't put it and it didn't worked that way).
By the way i found method i asked before FindExactString - searches for displayMember in a comboBox and FindString - searches for valueMember.

So.. It all works.. Simple but took some time. Tnx for trying to help =)
QuestionSave application state and reload it at restart Pin
adoerig22-Feb-10 2:31
adoerig22-Feb-10 2:31 
AnswerRe: Save application state and reload it at restart Pin
Dimitri Witkowski22-Feb-10 3:15
Dimitri Witkowski22-Feb-10 3:15 
AnswerRe: Save application state and reload it at restart Pin
Not Active22-Feb-10 3:18
mentorNot Active22-Feb-10 3:18 
AnswerRe: Save application state and reload it at restart Pin
Dave Kreskowiak22-Feb-10 3:35
mveDave Kreskowiak22-Feb-10 3:35 
AnswerRe: Save application state and reload it at restart Pin
Eddy Vluggen23-Feb-10 7:17
professionalEddy Vluggen23-Feb-10 7:17 
AnswerRe: Save application state and reload it at restart Pin
jimclack26-Feb-10 9:55
jimclack26-Feb-10 9:55 
GeneralSMS HELP Pin
mbadi20-Feb-10 8:50
mbadi20-Feb-10 8:50 
GeneralRe: SMS HELP Pin
Abhinav S20-Feb-10 13:45
Abhinav S20-Feb-10 13:45 
GeneralRe: SMS HELP Pin
Bharat Jain25-Feb-10 2:35
Bharat Jain25-Feb-10 2:35 
QuestionEdit mode in oledb connection Pin
akosidandan20-Feb-10 4:47
akosidandan20-Feb-10 4:47 
AnswerRe: Edit mode in oledb connection Pin
Not Active20-Feb-10 5:05
mentorNot Active20-Feb-10 5:05 
GeneralRe: Edit mode in oledb connection Pin
akosidandan20-Feb-10 5:11
akosidandan20-Feb-10 5:11 
GeneralRe: Edit mode in oledb connection Pin
Not Active20-Feb-10 6:54
mentorNot Active20-Feb-10 6:54 
GeneralRe: Edit mode in oledb connection Pin
Nandan Basak20-Feb-10 9:10
Nandan Basak20-Feb-10 9:10 
GeneralRe: Edit mode in oledb connection Pin
Not Active20-Feb-10 9:41
mentorNot Active20-Feb-10 9:41 
QuestionOpen source ide Pin
srikantha_nagaraj20-Feb-10 0:43
srikantha_nagaraj20-Feb-10 0:43 
AnswerRe: Open source ide Pin
Eddy Vluggen20-Feb-10 0:53
professionalEddy Vluggen20-Feb-10 0:53 

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.