Auto generate columns in Repeater for Web controls
Can i add Columns in Repeater Control using Code behind with out using Source code ?
I wanted to create a Repeater Web control and i need to generalize it for adding user defined columns for different web forms, Can i add Columns into that RepeaterWebControl by code behind for the data in datatable from Database...
Answers (3)
0
it shows me this error : localhost.SqlParameter does not contain a constructor that takes 2 arguments
in
param[0] = new localhost.SqlParameter("KeyWord", b[1].ToString());
this line...
0
Hi u can try like this
localhost.SqlParameter[] param = new localhost.SqlParameter[2];
param[0] = new localhost.SqlParameter("KeyWord", "Testing");
param[1] = new localhost.SqlParameter("PageSize", 20);
var objGetDetail = Obj1.GetDetail("SP_Related", param).Tables[0];