No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Hi all, I am using object tag to play flv video in my webpage.I want to change param value dynamically so that i can play videos when i click image button. I want to do like the one in youtube but without using database. Please help me to get rid … | |
Re: [code=C#]private void dgDisp1_CurrentCellChanged(object sender, System.EventArgs e) { int Sno1; if(SnoFocus==1) { return; } dgcell = dgDisp1.CurrentCell; cellvalue= dgDisp1[dgcell.RowNumber,0]; Sno=cellvalue.ToString(); Sno1=Convert.ToInt32(Sno); try { string strQuery="Select * from ExtensionTable where Sno="+Sno1+""; OleDbConnection connection = new OleDbConnection(conStr); connection.Open(); OleDbCommand command = new OleDbCommand(strQuery,connection); OleDbDataReader dataReader; dataReader = command.ExecuteReader(); if(dataReader.Read()) { txtSno.Text=dataReader["Sno"].ToString(); txtDate.Text=dataReader["Date1"].ToString(); comboBox1.Text=dataReader["CoderName"].ToString(); … |
The End.