Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for kodingkarthik

Hi all, I am new to asp.net programming and i have to design a website which should accept values from the user and store it in the databse on a button click event. I am not able to do it In fact i have written a code for button click …

Member Avatar for ILA RANI
0
3K
Member Avatar for lorf14plus

I have a page that have a dinamic menu and i have created a function to create the correct HTML to view the menu, but how can I call this function in my aspx page that I see the generated HTML in the correct position?? :rolleyes:

Member Avatar for diptibhatore
0
239
Member Avatar for diptibhatore

[code] protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(System.Web.Configuration.WebConfigurationManager.ConnectionStrings["shortycaponeConnectionString"].ConnectionString); for (int i = 0; i < GridView1.Rows.Count; i++) { GridViewRow row = GridView1.Rows[i]; CheckBox chkbox = (CheckBox)row.FindControl("cbRows"); TextBox Quantity = (TextBox)row.FindControl("tbx_TextBox"); if (chkbox.Checked == true) { try { con.Open(); SqlCommand cmd = new SqlCommand("INSERT INTO InwardEntries(ProductCode,Size,Quantity,DateTimeNow) …

0
75