Hi,
I am connecting the sqldatasource dynamically to the RadGrid and i have the following selected command;
I specify commanditemdisplay="Top" and set the properties allowautomaticinsert,delete and update.
Sometimes i am getting no rows because of above condition fails. Its ok for me.
The problem i am getting that i cannot able to see "Add a new Record". Only a single line appearing for the grid.
I don't what exactly went wrong.
Thanks.
I am connecting the sqldatasource dynamically to the RadGrid and i have the following selected command;
SELECT [Assignment], [Task], [M9_Sep], [M10_Oct], [M11_Nov], [M12_Dec], [M1_Jan], [M2_Feb], [M3_Mar], [M4_Apr], [M5_May], [sno], [Resource_Name], [Resource_Year], [Resource_Month], [Resource_week], [Division_ID], [Section_ID] FROM [Resource_Data] WHERE (([Resource_Name] = @Resource_Name) AND ([Division_ID] = @Division_ID) AND ([Section_ID] = @Section_ID) AND ([Resource_Year] = @Resource_Year) AND ([Resource_Month] = @Resource_Month) AND ([Resource_week] = @Resource_week)) |
Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click |
RadGrid1.DataSourceID = "Sqldatasource3" |
End Sub |
Sometimes i am getting no rows because of above condition fails. Its ok for me.
The problem i am getting that i cannot able to see "Add a new Record". Only a single line appearing for the grid.
I don't what exactly went wrong.
Thanks.