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

.NET (Core and Framework)

 
GeneralRe: dotNet program unable to run. Please Help Pin
Gerry Schmitz3-Nov-14 13:03
mveGerry Schmitz3-Nov-14 13:03 
QuestionBell Curve vb.net Pin
Member 1074016430-Oct-14 6:06
Member 1074016430-Oct-14 6:06 
AnswerRe: Bell Curve vb.net Pin
Dave Kreskowiak30-Oct-14 12:37
mveDave Kreskowiak30-Oct-14 12:37 
QuestionProblems after migrating from vs2008 to vs2013 Pin
A Jordison30-Oct-14 3:31
A Jordison30-Oct-14 3:31 
AnswerRe: Problems after migrating from vs2008 to vs2013 Pin
Dave Kreskowiak30-Oct-14 5:57
mveDave Kreskowiak30-Oct-14 5:57 
GeneralRe: Problems after migrating from vs2008 to vs2013 Pin
A Jordison30-Oct-14 6:24
A Jordison30-Oct-14 6:24 
AnswerRe: Problems after migrating from vs2008 to vs2013 Pin
Richard MacCutchan30-Oct-14 22:48
mveRichard MacCutchan30-Oct-14 22:48 
QuestionHow to generate Licence Key for windows application ? Pin
imtiyajali29-Oct-14 21:32
imtiyajali29-Oct-14 21:32 
AnswerRe: How to generate Licence Key for windows application ? Pin
Garth J Lancaster29-Oct-14 21:40
professionalGarth J Lancaster29-Oct-14 21:40 
QuestionRegarding machine Round question on Ado.net Pin
Member 1116162529-Oct-14 4:03
Member 1116162529-Oct-14 4:03 
GeneralRe: Regarding machine Round question on Ado.net Pin
PIEBALDconsult29-Oct-14 4:19
mvePIEBALDconsult29-Oct-14 4:19 
AnswerRe: Regarding machine Round question on Ado.net Pin
Richard MacCutchan29-Oct-14 5:51
mveRichard MacCutchan29-Oct-14 5:51 
QuestionGridview in asp.net Pin
Member 1116162517-Oct-14 6:50
Member 1116162517-Oct-14 6:50 
AnswerRe: Gridview in asp.net Pin
Eddy Vluggen17-Oct-14 7:40
professionalEddy Vluggen17-Oct-14 7:40 
GeneralRe: Gridview in asp.net Pin
Member 1116162517-Oct-14 17:55
Member 1116162517-Oct-14 17:55 
GeneralRe: Gridview in asp.net Pin
Eddy Vluggen19-Oct-14 3:22
professionalEddy Vluggen19-Oct-14 3:22 
SuggestionRe: Gridview in asp.net Pin
Richard Deeming20-Oct-14 1:42
mveRichard Deeming20-Oct-14 1:42 
GeneralRe: Gridview in asp.net Pin
vishal gawai14-Nov-14 4:27
vishal gawai14-Nov-14 4:27 
Please try following:

1. Mention the Text field and Value field for drop down list

SqlConnection con = new SqlConnection(Class1.Con_String);
con.Open();
SqlCommand cmd = new SqlCommand("Select Department_ID,Department from Department_Master", con);
SqlDataReader dr = cmd.ExecuteReader();
ddldept.DataSource = dr;
ddldept.DataTextField = "Department"
ddldept.DataValueField = "Department_ID";

ddldept.DataBind();
con.Close();
bindGrid();

2. You are missing specifying the datasource for Designation Master DDL. Please try following:

SqlConnection con1 = new SqlConnection(Class1.Con_String);
con1.Open();
SqlCommand cmd1 = new SqlCommand("Select Designation_ID,Designation from Designation_Master", con1);
SqlDataReader dr1 = cmd1.ExecuteReader();
ddldesg.Datasource = dr1;
ddldesg.DataTextField = "Designation"
ddldesg.DataValueField = "Designation_ID";

ddldesg.DataBind();
con1.Close();
QuestionIP CAM WITH VB.NET Pin
ssc.noman13-Oct-14 21:30
ssc.noman13-Oct-14 21:30 
SuggestionRe: IP CAM WITH VB.NET Pin
Richard MacCutchan14-Oct-14 4:58
mveRichard MacCutchan14-Oct-14 4:58 
QuestionConverting Excel application into a Web Service Pin
Sujana Alluru13-Oct-14 2:56
professionalSujana Alluru13-Oct-14 2:56 
AnswerRe: Converting Excel application into a Web Service Pin
ZurdoDev13-Oct-14 3:28
professionalZurdoDev13-Oct-14 3:28 
GeneralRe: Converting Excel application into a Web Service Pin
Sujana Alluru13-Oct-14 4:08
professionalSujana Alluru13-Oct-14 4:08 
AnswerRe: Converting Excel application into a Web Service Pin
ZurdoDev13-Oct-14 4:09
professionalZurdoDev13-Oct-14 4:09 
GeneralRe: Converting Excel application into a Web Service Pin
Eddy Vluggen13-Oct-14 8:26
professionalEddy Vluggen13-Oct-14 8:26 

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.