Click here to Skip to main content
15,891,708 members

Comments by FeroseKhan (Top 9 by date)

FeroseKhan 12-Apr-16 2:58am View    
Hope this article may be helpful for you
http://geekswithblogs.net/dotNETvinz/archive/2008/09/12/bind-textbox-and-label-control-with-data-from-database.aspx
FeroseKhan 7-Apr-16 9:32am View    
R u trying get the selected item from the checkbox ?
If Yes
use the following code

string selectedId=string.Empty;
foreach (ListItem item in CHpagelist.Items)
{
if (item.Selected)
{
selectedId+= (selectedId.Length > 0 ? "," : string.Empty) + item.Value.ToString();
}
}

Now the selectedId variable will have the selected checkboxes Id
FeroseKhan 7-Apr-16 9:27am View    
"select * from fngetlastcodeofvillage('" + districtna + "','" + talukname + "','" + villagename + "');"

can u store the above query in to a string variable like
string query ="select * from fngetlastcodeofvillage('" + districtna + "','" + talukname + "','" + villagename + "');"

while executing this line of code add a watch ,copy the rendered query.
Try executing the Postgre SQL to know whether the query is rendered with out any syntax problem
FeroseKhan 16-Feb-16 6:54am View    
Thanks for your suggestion ,I hope it will work let me try and tell you
FeroseKhan 15-Sep-14 10:06am View    
ya i read and helped me thank u