Click here to Skip to main content
15,880,725 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to display fraction Pin
subir12328-Feb-06 8:20
subir12328-Feb-06 8:20 
GeneralRe: How to display fraction Pin
Judah Gabriel Himango28-Feb-06 9:22
sponsorJudah Gabriel Himango28-Feb-06 9:22 
QuestionObject inheritens Pin
NaNg1524128-Feb-06 5:22
NaNg1524128-Feb-06 5:22 
AnswerRe: Object inheritens Pin
CWIZO28-Feb-06 5:34
CWIZO28-Feb-06 5:34 
QuestionRegistry Pin
superPaul10128-Feb-06 4:41
superPaul10128-Feb-06 4:41 
AnswerRe: Registry Pin
Judah Gabriel Himango28-Feb-06 5:55
sponsorJudah Gabriel Himango28-Feb-06 5:55 
GeneralRe: Registry Pin
superPaul10128-Feb-06 6:12
superPaul10128-Feb-06 6:12 
Questionneed help for dropdown list Pin
kamlakar28-Feb-06 4:32
kamlakar28-Feb-06 4:32 
hi friends
i need some help regarding next few line of code.
fillcombo is my method which i want to use to populate many dropdownlist,i am passing id of dropdown box & query to method & calling method in page load.
there is no problem with query, but method is not getting id of dropdown list,it is just receiving system.Web.UI.WebControls.DropDownList

Thnx $ regards
Kamlakar

public void fillcombo ( system.Web.UI.WebControls.DropDownList cntrl,string query)
{
DataSet ds;
SqlDataAdapter da = new SqlDataAdapter(query,con);
ds = new DataSet("ref_codes");
da.Fill(ds);
Response.Write (cntrl);
cntrl.DataSource = ds.Tables[0].DefaultView;

cntrl.DataTextField = "RV_MEANING";
cntrl.DataValueField = "RV_DOMAIN";
cntrl.DataBind();
}


-- modified at 10:59 Tuesday 28th February, 2006
QuestionReading INI files in C# Pin
Spykraft28-Feb-06 4:22
Spykraft28-Feb-06 4:22 
AnswerRe: Reading INI files in C# Pin
Andy Brummer28-Feb-06 5:05
sitebuilderAndy Brummer28-Feb-06 5:05 
Questionstoring image-out of memory error Pin
leelaraj28-Feb-06 2:48
leelaraj28-Feb-06 2:48 
AnswerRe: storing image-out of memory error Pin
mav.northwind28-Feb-06 2:53
mav.northwind28-Feb-06 2:53 
AnswerSimple Pin
Vikram A Punathambekar28-Feb-06 4:12
Vikram A Punathambekar28-Feb-06 4:12 
AnswerRe: storing image-out of memory error Pin
leppie28-Feb-06 5:17
leppie28-Feb-06 5:17 
Generalc# desktop client communicating webservices via proxy facing problem Pin
mohdmeraj28-Feb-06 2:16
mohdmeraj28-Feb-06 2:16 
QuestionRight-Click in c# Pin
Acheive_it28-Feb-06 1:39
Acheive_it28-Feb-06 1:39 
AnswerRe: Right-Click in c# Pin
-Dy28-Feb-06 1:46
-Dy28-Feb-06 1:46 
GeneralRe: Right-Click in c# Pin
Acheive_it28-Feb-06 18:26
Acheive_it28-Feb-06 18:26 
Questionnot allow other users from terminating the process of my application Pin
batmanAgen28-Feb-06 0:44
batmanAgen28-Feb-06 0:44 
AnswerRe: not allow other users from terminating the process of my application Pin
Eric Dahlvang28-Feb-06 2:46
Eric Dahlvang28-Feb-06 2:46 
GeneralRe: not allow other users from terminating the process of my application Pin
batmanAgen28-Feb-06 2:58
batmanAgen28-Feb-06 2:58 
AnswerRe: not allow other users from terminating the process of my application Pin
Eric Dahlvang28-Feb-06 5:23
Eric Dahlvang28-Feb-06 5:23 
GeneralRe: not allow other users from terminating the process of my application Pin
batmanAgen28-Feb-06 8:05
batmanAgen28-Feb-06 8:05 
Questiondisable back buttons Pin
prgramya28-Feb-06 0:37
prgramya28-Feb-06 0:37 
AnswerRe: disable back buttons Pin
Colin Angus Mackay28-Feb-06 2:24
Colin Angus Mackay28-Feb-06 2:24 

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.