Click here to Skip to main content
15,895,746 members

Comments by Yugal Pandya (Top 4 by date)

Yugal Pandya 17-Jan-13 4:03am View    
Reason for my vote of 5 \n This is the base of Database driven dynamic menu. We can explore it further as per our requirement i.e. creating role etc.
Yugal Pandya 9-Jan-13 7:24am View    
try This

if (dt!=null)
{
if(dt.rows.count>0)
{
dataGridView1.DataSource = null;
dataGridView1.DataSource = dt;
}
}
Yugal Pandya 8-Jan-13 5:36am View    
Try this

<script>
$(document).ready(function(){
$("button").click(function(){
alert($("div:last").index());
});
});
</script>
Yugal Pandya 8-Jan-13 4:18am View    
declare @Active bit
set @Active = 0
select @Active


from UI if you are passing true and false or 0 or 1 it doesn't matter but it's datatype must bool in UI, rest system will take care of bool datatype with bit datatype of database.