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

.NET (Core and Framework)

 
GeneralRe: MDAC Pin
Scott Dorman5-Jan-08 3:34
professionalScott Dorman5-Jan-08 3:34 
QuestionRe: MDAC Pin
agauravgr85-Jan-08 3:41
agauravgr85-Jan-08 3:41 
GeneralRe: MDAC Pin
Scott Dorman5-Jan-08 3:59
professionalScott Dorman5-Jan-08 3:59 
GeneralRe: MDAC Pin
Pete O'Hanlon5-Jan-08 9:43
mvePete O'Hanlon5-Jan-08 9:43 
GeneralRe: MDAC Pin
Scott Dorman6-Jan-08 5:16
professionalScott Dorman6-Jan-08 5:16 
GeneralRe: MDAC Pin
Mike Dimmick6-Jan-08 7:46
Mike Dimmick6-Jan-08 7:46 
GeneralRe: MDAC Pin
Scott Dorman6-Jan-08 7:50
professionalScott Dorman6-Jan-08 7:50 
QuestionHelp Needed Pin
Arunava354-Jan-08 18:52
Arunava354-Jan-08 18:52 
am working on a project with the following codes:

Private Sub prono_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles prono.TextChanged
obj = objordder.getIDfrmno(CStr(prono.Text))
cmdPid.Text = Val(obj)
End Sub
where objordder.getIDfrmno is the dll and cmdPid.Text is the destinesion text box

the definetion for objordder.getIDfrmno is as follows:

public object getIDfrmno(int productno)
{
SqlConnection con = new SqlConnection(constr);
string sql = "select ProductID from tblProduct where productno=" + productno + "";
SqlCommand cmd = new SqlCommand(sql, con);
con.Open();
object obj = cmd.ExecuteScalar();
con.Close();
return (obj);

}

constr is the conecction string


but not being able to get the desiered result can anyone hrlp
GeneralRe: Help Needed Pin
DigiOz Multimedia5-Jan-08 8:51
DigiOz Multimedia5-Jan-08 8:51 
GeneralRe: Help Needed Pin
Arunava355-Jan-08 16:56
Arunava355-Jan-08 16:56 
GeneralRe: Help Needed Pin
DigiOz Multimedia6-Jan-08 2:32
DigiOz Multimedia6-Jan-08 2:32 
QuestionString index Pin
kalkwarf4-Jan-08 9:38
kalkwarf4-Jan-08 9:38 
GeneralRe: String index Pin
Paul Conrad26-Jan-08 7:23
professionalPaul Conrad26-Jan-08 7:23 
GeneralRe: String index Pin
kalkwarf28-Jan-08 2:59
kalkwarf28-Jan-08 2:59 
GeneralRe: String index Pin
Paul Conrad28-Jan-08 13:53
professionalPaul Conrad28-Jan-08 13:53 
GeneralLinq Pin
Tad McClellan4-Jan-08 3:54
professionalTad McClellan4-Jan-08 3:54 
GeneralRe: Linq Pin
Tad McClellan4-Jan-08 4:02
professionalTad McClellan4-Jan-08 4:02 
GeneralRe: Linq Pin
originSH4-Jan-08 4:04
originSH4-Jan-08 4:04 
GeneralRe: Linq Pin
originSH4-Jan-08 4:09
originSH4-Jan-08 4:09 
GeneralRe: Linq Pin
led mike4-Jan-08 4:28
led mike4-Jan-08 4:28 
GeneralRe: Linq Pin
originSH4-Jan-08 5:06
originSH4-Jan-08 5:06 
GeneralRe: Linq Pin
Tad McClellan4-Jan-08 10:59
professionalTad McClellan4-Jan-08 10:59 
GeneralRe: Linq Pin
Colin Angus Mackay4-Jan-08 5:12
Colin Angus Mackay4-Jan-08 5:12 
GeneralRe: Linq Pin
Pete O'Hanlon4-Jan-08 10:08
mvePete O'Hanlon4-Jan-08 10:08 
GeneralRe: Linq Pin
N a v a n e e t h7-Jan-08 1:05
N a v a n e e t h7-Jan-08 1:05 

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.