Getting checkbox value from UltraGrid
New DiscussionHi Anyone please help me with this. My Grid Contains a checkbox column. I want to pass the checkstate as value to stored procedure parameter .
foreach (UltraGridRow row in grdModuleScreens.Rows)
{
if (row.Cells[“Access”].Value.ToString().Equals(“True”))
{
command.Parameters.AddWithValue(“@Access”, 1);
}
else
{
command.Parameters.AddWithValue(“@Access”, 0);
}
}
i am using this code but it is not working properly. As exception message states “TOO MANY ARGUMENTS PASSED TO STORED PROCDURE”
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
4 Created On
May 05, 2021 Last Post
4 years, 10 months ago