Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom control's property problem Pin
Pedram Behroozi1-Jan-09 1:21
Pedram Behroozi1-Jan-09 1:21 
GeneralRe: Custom control's property problem Pin
Xmen Real 1-Jan-09 1:51
professional Xmen Real 1-Jan-09 1:51 
GeneralRe: Custom control's property problem Pin
Eddy Vluggen2-Jan-09 2:07
professionalEddy Vluggen2-Jan-09 2:07 
GeneralRe: Custom control's property problem Pin
Xmen Real 2-Jan-09 3:22
professional Xmen Real 2-Jan-09 3:22 
GeneralRe: Custom control's property problem Pin
Eddy Vluggen2-Jan-09 21:53
professionalEddy Vluggen2-Jan-09 21:53 
GeneralRe: Custom control's property problem Pin
Xmen Real 2-Jan-09 22:02
professional Xmen Real 2-Jan-09 22:02 
QuestionDatagrid Combo box binding Pin
mrcooll31-Dec-08 2:46
mrcooll31-Dec-08 2:46 
AnswerRe: Datagrid Combo box binding Pin
mrcooll31-Dec-08 5:13
mrcooll31-Dec-08 5:13 
i will ask it in other words,
if i have grid with tow DataGridViewComboBoxColumn first one for contries and second one for cities , when the user select a country the city combo will have the all cities in the country selected in first grid ,
i did it like that:

bscCountries.datasource=GetAllCountries();
dgvCol_Countries.DataSource =bscCountries;
dgvCol_Countries.DisplayMember ="Name";
dgvCol_Countries.ValueMember = "ID";

bscCities.datasource=GetAllCities);
dgvCol_Cities.DataSource =bscCities;
dgvCol_Cities.DisplayMember ="Name";
dgvCol_Cities.ValueMember = "ID";

private void dgvTimeAtt_CellValueChanged(object sender, DataGridViewCellEventArgs e)
{
bsc_Cities.filter="CountryId="+dgvCol_Countries.Rows[e.RowIndex].Cell[e.CellIndex].value;
}
that's work fine but , when i go to next row in the grid and select other country the selected city i choose is gone .
How can i fix it?
QuestionNeed regular expression for spliting string Pin
Ramesh Ramalingam31-Dec-08 1:45
Ramesh Ramalingam31-Dec-08 1:45 
AnswerRe: Need regular expression for spliting string Pin
Rob Philpott31-Dec-08 1:50
Rob Philpott31-Dec-08 1:50 
GeneralRe: Need regular expression for spliting string Pin
PIEBALDconsult31-Dec-08 4:12
mvePIEBALDconsult31-Dec-08 4:12 
GeneralRe: Need regular expression for spliting string Pin
#realJSOP31-Dec-08 4:32
mve#realJSOP31-Dec-08 4:32 
AnswerRe: Need regular expression for spliting string Pin
User 665831-Dec-08 1:59
User 665831-Dec-08 1:59 
AnswerRe: Need regular expression for spliting string Pin
#realJSOP31-Dec-08 4:31
mve#realJSOP31-Dec-08 4:31 
GeneralRe: Need regular expression for spliting string Pin
PIEBALDconsult31-Dec-08 8:44
mvePIEBALDconsult31-Dec-08 8:44 
GeneralRe: Need regular expression for spliting string [modified] Pin
#realJSOP31-Dec-08 8:51
mve#realJSOP31-Dec-08 8:51 
AnswerRe: Need regular expression for spliting string Pin
Guffa31-Dec-08 15:52
Guffa31-Dec-08 15:52 
GeneralRe: Need regular expression for spliting string Pin
PIEBALDconsult31-Dec-08 16:46
mvePIEBALDconsult31-Dec-08 16:46 
GeneralRe: Need regular expression for spliting string Pin
Guffa31-Dec-08 18:16
Guffa31-Dec-08 18:16 
GeneralRe: Need regular expression for spliting string Pin
Ramesh Ramalingam1-Jan-09 18:38
Ramesh Ramalingam1-Jan-09 18:38 
QuestionProblem With Embedding .NET ActiveXcontrol (Window user control) inside html Pin
Dattatraya K31-Dec-08 1:25
Dattatraya K31-Dec-08 1:25 
Questionhow can I parse a queary into parts to write a search parsing Pin
D V kirankumar31-Dec-08 0:21
D V kirankumar31-Dec-08 0:21 
AnswerRe: how can I parse a queary into parts to write a search parsing Pin
User 665831-Dec-08 0:37
User 665831-Dec-08 0:37 
GeneralRe: how can I parse a queary into parts to write a search parsing Pin
D V kirankumar1-Jan-09 18:11
D V kirankumar1-Jan-09 18:11 
AnswerRe: how can I parse a queary into parts to write a search parsing Pin
dan!sh 31-Dec-08 1:02
professional dan!sh 31-Dec-08 1:02 

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.