how to find textbox and combobox in datagridview.?

Posted by Rock_Monu under ASP.NET on 8/18/2012 | Points: 10 | Views : 1325 | Status : [Member] | Replies : 8
How to find textboxes and combox in datagridview in windows form in asp.net and how to send multiple data in database from datagridview..???




Responses

Posted by: Johnbhatt on: 8/19/2012 [Member] Starter | Points: 25

Up
0
Down
What do you mean by Windows Form in ASP.NET ?

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rock_Monu on: 8/21/2012 [Member] Starter | Points: 25

Up
0
Down
@Johnbhatt: query is related to "Windows application/Desktop application in asp.net"

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vasanthmvp on: 8/21/2012 [Member] Starter | Points: 25

Up
0
Down
Hi,

Could you elaborate the query more or present your code/scenario in detail.

Regards,

Awesome Coding !! :)

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rock_Monu on: 8/21/2012 [Member] Starter | Points: 25

Up
0
Down
@Vasanthmvp :

private void btn_save_Click(object sender, EventArgs e)
{


for (int i = 0; i < dgv_emp_attendence.Rows.Count; i++)
{
cn.insert("insert into tbl_Employee_Attendence(attendence_type,Date_of_attendence,Remark) values('" + dgv_emp_attendence.Rows[i].Cells["attendence_type"].Value + "','" + Convert.ToDateTime(dtp_date.Text) + "','" + dgv_emp_attendence.Rows[i].Cells["Remark"].Value+ "')");
FillGrid();
}

}
thats my code.

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Johnbhatt on: 8/21/2012 [Member] Starter | Points: 25

Up
0
Down
@Rock_Monu,

My friend, that is called c#.NET, ASP.NET is only used for Web applications.

I will reply to you shortly with the answer.

John Bhatt
Glad to Know, Free to Share.....
http://www.johnbhatt.com

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rock_Monu on: 8/21/2012 [Member] Starter | Points: 25

Up
0
Down
@John Bhatt
:
k.bt plz give me answer,,urgent.
thanx.

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rock_Monu on: 8/21/2012 [Member] Starter | Points: 25

Up
0
Down
@JohnBhatt
:
k.bt plz give me answer,,urgent.


Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rock_Monu on: 8/22/2012 [Member] Starter | Points: 25

Up
0
Down
gd

Rock_Monu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response