0
Try this
SqlDataAdapter da;
DataSet ds;
da = new SqlDataAdapter("Select name from Tablename ", con);
da.SelectCommand.CommandType = CommandType.StoredProcedure;
ds = new DataSet();
da.Fill(ds);
textbox1 . Text = ds.Tables[0].Rows[0]["Name"].ToString();
textbox2 . Text = ds.Tables[0].Rows[1]["Name"].ToString();
Accepted 1
Your problem solved or not?
0
Thanks for replay...
if sql table like below
sno qunty rate
1 5 6
2 4 3.5
multiply coloum2 and coloum3
read
first textbox,second text box dispaly like ( qunty * rate )5*6= 30
o/p
30
14