i have this code...i m retreiveing did from selected name........
i want to assign this to varible because i want to use this variable to another place...
i hope i will get help here..
MyDataAdapter = new SqlDataAdapter("select D_Id from tblDepart where D_Name = '" + D_Name + "'", Myconnection);
myDataSet = new DataSet();
int a = Convert.ToInt16(myDataSet);
i want to assign a variable which contains set of values in a row orderby rollno.
that variable would be send to mobile number as a text. how to write the code. can i use here for datatable or datareader.quickly. send ur replies to my mail id also. Here is my mail id firstname.lastname@example.org