16,004,227 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by bhagyap (Top 46 by date)
bhagyap
1-Jan-14 0:26am
View
Am not getting any error but the url isn't getting encoded.
bhagyap
31-Dec-13 0:14am
View
Thanks for reply. I tried with it but its not working.
bhagyap
30-Dec-13 1:45am
View
I have Gridview,within which included the anchor tag in its template field which lets me navigate to next page based on the CustomerId.
I have even tried with this too:
<asp:HyperLink ID="lnkDetailsPage" runat="server" NavigateUrl='<%# string.Format("~/YellowPages/YellowDetailView.aspx?CustomerId={0}",HttpUtility.UrlEncode(Eval("CustomerId").ToString())) %>'>
bhagyap
5-Aug-13 1:22am
View
Hi.. When i try to select an value in dropdownlist.
bhagyap
1-Aug-13 2:45am
View
ok.. but what i have to do with the dropdown which is resetting?
bhagyap
1-Aug-13 2:40am
View
ya i have it in cs but still the exception persists. Please let me know what i might be missing.
bhagyap
1-Aug-13 2:37am
View
Tried it.. But the exception still persists.
bhagyap
9-Jul-13 7:08am
View
I have tried doing it.
bhagyap
17-Jun-13 7:14am
View
ok.. thank u so much..
bhagyap
17-Jun-13 7:04am
View
Its working only when ddlBroker.SelectedIndex>0..
bhagyap
17-Jun-13 5:56am
View
I have debugged the code,its not throwing me any exception and neither its adding multiple rows..
bhagyap
17-Jun-13 5:20am
View
ok.. and thank u so much.. i have undo my code..
bhagyap
17-Jun-13 4:58am
View
I have updated the code.. Please check and let me know,wat i am missing.
bhagyap
17-Jun-13 4:52am
View
ya sure..
bhagyap
17-Jun-13 3:59am
View
no,not working..
bhagyap
17-Jun-13 3:24am
View
but i had added ViewState["CurrentTable"] = dt; to the datatable but still it didnt give me proper results. Can you tel me,wat am i missing??
bhagyap
9-Jul-12 5:07am
View
thanks for ur reply.. the dll is already present on server and still my reports aren't working.
bhagyap
9-Jul-12 4:14am
View
My website is working locally but not on remote server,it gives me following exception:-
Error System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at CrystalDecisions.Shared.SharedUtils..cctor() --- End of inner exception stack trace --- at CrystalDecisions.Shared.SharedUtils.GetClientCulture() at CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString(String name) at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() --- End of inner exception stack trace --- at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
can you please help me?
bhagyap
18-Jan-12 5:04am
View
Thank u..
bhagyap
17-Jan-12 5:24am
View
i am talking abt the menu control,the next time wen i run my code i am unable to see the menu items which i previously added.. Please help wat am i missing?
bhagyap
17-Jan-12 4:03am
View
thanks for ur reply.. i also want to retain the state of menu control wen i debug it next time..
bhagyap
17-Jan-12 4:02am
View
Thanks for ur reply.. but i dont want it to append by default to other menu items and also i want the state to be retained wen i debug it next time..
bhagyap
28-Dec-11 4:33am
View
I am still getting the same error..
bhagyap
28-Dec-11 3:18am
View
I am trying with the following code but unable to delete rows,help me..
protected void Button2_Click(object sender, EventArgs e)
{
foreach (GridViewRow row in GridView1.Rows)
{
if (row.RowType == DataControlRowType.DataRow)
{
CheckBox CheckBox1 = (CheckBox)row.Cells[0].FindControl("CheckBox1");
if (CheckBox1 != null)
{
if (CheckBox1.Checked)
{
int id = GridView1.SelectedIndex;
GridView1.DeleteRow(id);
}
}
}
}
string con = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
SqlDataAdapter sda = new SqlDataAdapter("Select * from DropDownFilter", con);
sda.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
Am getting server error as follows:-
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
bhagyap
28-Dec-11 3:00am
View
Hi..
I tried the same but yet unable to delete checked rows..
Please guide me..
bhagyap
28-Dec-11 3:00am
View
Hi..
I tried the same but yet unable to delete checked rows..
Please guide me..
bhagyap
10-Dec-11 3:13am
View
According to my requirement i have two forms form1 and form2,in form1 i have an treeview and in form2 i have checkedlistbox which i am populating as follows:-
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo("E:\\Mails");
System.IO.FileSystemInfo[] files = di.GetDirectories();
checkedListBox1.Items.AddRange(files);
and based on the checkedfolder i am building an treeview but am unbale to view the subfolders and files from the checked folder..
Please guide me..
Thanks..
bhagyap
9-Dec-11 6:35am
View
please let me know how?? i have not worked with XML before..
bhagyap
8-Dec-11 6:29am
View
i hav an checkedlistbox in form1 which i am accessing in form2 and based on my checkeditems in form1 i am building a treeview so wenever i access form1 from form2 i want the state of checkedlistboxes and the checkbox to be retained..
bhagyap
8-Dec-11 4:25am
View
thank you so much.. it worked out for me...
bhagyap
8-Dec-11 3:54am
View
I get the following error :- An object reference is required for the non-static field, method, or property 'SplashScreen.Form1.toolStripStatusLabel1'
bhagyap
8-Dec-11 3:10am
View
thing is i am unable to access my toolstripstatuslabel here..
bhagyap
8-Dec-11 3:09am
View
I tried but unable to achieve..
bhagyap
21-Nov-11 5:42am
View
Please help me with ListItem as i am getting an TypeCast error..
bhagyap
17-Nov-11 23:59pm
View
Options opt=new Options();
XmlDocument document = new XmlDocument();
XmlElement rootElement = document.CreateElement("Items");
foreach (var itemObj in opt.checkedListBox1.SelectedItems)
{
XmlElement newItem = document.CreateElement("Item");
newItem.InnerText =itemObj.ToString();
rootElement.AppendChild(newItem);
}
document.AppendChild(rootElement);
document.Save("test.xml");
I hav tried this code but i am unable to fetch all the checked items..
bhagyap
17-Nov-11 1:22am
View
Thanks for ur help.. but i am not understanding the scope of ListItem so can u please help me..
bhagyap
16-Nov-11 2:26am
View
Thank You For ur help.. Now i want to build an XML File using the checked items..
Can u please help me?
bhagyap
14-Nov-11 7:28am
View
Thank You..
bhagyap
14-Nov-11 4:19am
View
I want only the checked items from checkedlistbox not all items.. please help me out..
bhagyap
14-Nov-11 2:47am
View
Ya i have tried with selected items too but still i am unable to fetch the checked items..
bhagyap
14-Nov-11 2:45am
View
I have placed it into an button event to save it..
bhagyap
14-Nov-11 0:16am
View
Thank You.. I'll check it out..
bhagyap
11-Nov-11 5:15am
View
I need reference for file syncing..
bhagyap
11-Nov-11 5:13am
View
Ya i do agree that they have provided many examples,but those aren't efficient..
bhagyap
11-Nov-11 3:25am
View
I mean file synchronization.. i tried using Microsoft Sync Framework but couldn't achieve it so can help me out with this framework(Microsoft Sync Framework) or let me know the different ways for file synchronization in c#..
Thank You in advance..
bhagyap
11-Nov-11 3:22am
View
I tried to work using Microsoft Sync Framework but couldn't achieve it.. can u plz let me know abt the framework or any other ways for synchronization(file) in c#?
Thank You in advance..
Show More