Hey you hav to use for loop for this.. Try this.......... DataTable dt = new DataTable(); dt = insunit.GetUnit(id); for(int i=0; i< dt.row.count; i++) { Img_Logo.ImageUrl = d.Rows[i]["UnitLogoPath"].ToString(); } it will be work... Bye Bye. Nisar Inamdar.:rose: Always For U
Nisar Inamdar
Posts
-
retreiving Images From Database with image datatype pbm -
arraylist:rose:Hi sonia, i think you have problem with arraylist declaration.... you may use ..... private ArrayList mylist= new ArrayList[100]; i think it will works... Nisar Inamdar. Always For U
-
excel:cool:What u mean.....? Describe little more... So i can help u? Nisar Inamdar. Always for u...
-
combobox problemHi frnd, you have to give the code, So that i can help u...:cool: Nisar Inamdar.
-
Datagrid Rows selectionhello friends, :zzz: I have selected mutple rows of datagrid by highlighting them into different color, progrmatically. But when i click anywhere on datagrid then all the highlighted rows gets unhighlighted, which i don't like.......... my code to select rows dataGrid1.Select(i); dataGrid1.SelectionBackColor=System.Drawing.Color.RoyalBlue; I have to delete any single row from datagrid without changing the color of other rows. Can, anyone suggest me the appropriate solution for this.. Thanx in advance. Nisar Inamdar.
-
Datagrid row selection:confused:hi frnds, i have highligheted some rows in datagrid. But when i click(right click) on any of them then other highlighted rows gets unhighlighted. Give me any solution, U have...... Thanx........ Nisar Inamdar.
-
Debugging the windows service:cool:Hi, Set the debugger in your code......... and then run your project...........use keys of F10 and F11... Nisar Inamdar Always For U.
-
Key Press Event:cool:hi, Do one thing........... In properties window of textbox select events tab (shown like lighting)... there is keypress event.............just doble click on it..........it will goes to code the function...........:cool: Nisar Inamdar............. Always for U..........
-
ReLoad Form Problem:rose:Hi Mona, you do one thing..... Create one function which loads the form and then recall it . example--------- MessageBox.Show("Are you want to play Again??????","Play Game",MessageBoxButtons.YesNo)==DialogResult.Yes) { ///call the functio here........... } Nisar Inamdar
-
two commands are possible:cool:hi, yes............... you can do it............... nisar inamdar
-
update:)Hi, Try this one.............. strSqlCmdText = "update tUser1 set Count = Convert.ToInt32 (txtCount.Text.trim().ToString()) where UserId = '"+txtUserId.Text; I think it will run properly............. Nisar Inamdar.
-
rquired filed vaildator control;PHi pra. Nisar Inamdar
-
Mouse Left = Mouse Right;)Hi frnd, I don't get your problem.... Where this is happening? Nisar Inamdar.
-
Breakpoint Conditionhi frnd, statement x=5 ...........set the value of x to 5. it does not check whether x is equal to 5 or not. You have to use conditional operator(==) instead of assignment(=) operator. So use x==5 as a condition. Ok.:) Bye. Nisar Inamdar.
-
populating combo box on selectedindex changedevent of other combo box1;)hi rahul, Try combo1.SelectedItem.ToString(); It will be worked. Nisar Inamdar.
-
populating combo box on selectedindex changedevent of other combo box1Hi Rahul, on combo1.selectedIndexEvent use query " Select fieldName from tablname where fieldname="+combo1.Selectedindex.toString()"; Nisar Inamdar.
-
populating combo box on selectedindex changedevent of other combo box1hi instead of using combobox1.selectedvalue you have to use combobox1.selectedindex.tostring() Nisar Inamdar.
-
how to read Mobile no digit by digit?Hello frnds, i want to read the mobile no. entered in txtbox digit by digit.... Nisar Inamdar.
-
use of machine.config file ?Hello Navaneeth, I am developing the "online examination portal" in asp.net using c# as code behind. But i am new to this technology. so can you help me? If you have any project code regarding to this then nsend me for reference. Thanx. My e_mail id is nisar321@gmail.com Bye. Nisar Inamdar