Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello.
how to insert values from text boxes while clicking add button to gridview..without using datatable.????
Posted

1 solution

 
Share this answer
 
Comments
[no name] 25-Nov-11 3:53am    
Yeah right, please re-state your question so that we could help :)
ythisbug 25-Nov-11 4:43am    
Name       [txtName]
NickName  [txtNickName]
Gender     [txtGender]

[addbutton]
if i click add button..from text box value have to add automatically in gridview


[gridview]
D K N T H 25-Nov-11 4:58am    
are you using ado.net?

or you already finished the code, and what you want is to refresh the gridview? if that's the case the in your button click event just add:
gridview.DataSource = //something;
gridview.Databind();

hope it helps!
mark this as answer if it helps you..

thanks ^^
ythisbug 25-Nov-11 5:07am    
asp.net (c#)
D K N T H 25-Nov-11 5:23am    
no what i mean is, how do connect in database,

can i see your codes?

thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900