Click here to Skip to main content
Page 1 of 3
Page Size: 10 · 25 · 50


Author filtered by: Anurag Sinha V [x]
Answer 8 May 2013   license: CPOL
try this link:http://dimaxweb.github.io/jquery-paged-scroll/[^]-anurag
Forum Message 24 Apr 2013  
Hi..Thank you for your comment..Really appreciate that.. Will go through your link and will try to understand and make use of it. -Regards Anurag
Re: Competition winners by Anurag Sinha V
Forum Message 21 Apr 2013  
Thank you.. My article got 7th place...:) regards anurag
Answer 21 Apr 2013   license: CPOL
http://stackoverflow.com/quest...
C#
Re: Competition winners by Anurag Sinha V
Forum Message 21 Apr 2013  
It shows only the winners... Any other link where we could see the final standings?
Competition winners by Anurag Sinha V
Forum Message 21 Apr 2013  
Hello People, Well this query might be a little weird, but how to know who won the monthly competitions held over here at CP. My article was in bid for the Best Web Dev article, for which voting e
Question 18 Apr 2013   license: CPOL
Hello People,Greetings from Anurag..Ran into a problem today. I am trying to populate a dropdownlist via AJAX PageMethods,values for the DropDown list have to come from a SQL table.Wrote a function in the Data Access Layer which actually returns a List after interacting with the SQL...
Answer 16 Apr 2013   license: CPOL
Hi,This should get you started:protected void ddl_OnSelectedIndexChanged(){string x=DDLDepartmentInventory.SelectedItem.Value;string y=txtBoxPassword.Text;DataTable dt=PopulateGrid(x,y);gridview1.DataSource=dt;gridview1.DataBind();}public DataTable PopulateGrid(string...
Question 16 Apr 2013   license: CPOL
Hello people,Got into a weird problem, hope experts out here would be able to help.I am trying to populate a dropdownlist namely ddlStates when the values in the dropdownlist ddlCountry changes.I don't want to use the OnSelectedIndexChanged event of the dropdownlist and AutoPostBack...
Re: My Vote of 5 by Anurag Sinha V
Forum Message 10 Apr 2013  
Thank you... Appreciate it.. -Anurag
Understanding Sql Query by Anurag Sinha V
Answer 8 Apr 2013   license: CPOL
Its basically a ternary operator. The question mark combined with the colon sign.Works like this:string name = ABooleanExpression ? "Jack" : "Jill";If the boolean exp is true then the variable name will be assigned as Jack, if not then the variable name will be Jill.Refer this...
Answer 8 Apr 2013   license: CPOL
Hey,Have a look at the below URL.It might help you..http://www.dreamincode.net/forums/topic/229962-mvc-3-webgrid-inside-a-webgrid/[^]-Anurag
C#
Forum Message 7 Apr 2013  
Thank you...Appreciate it.. Have a look at its sequel too.. -Anurag
One confusion by Anurag Sinha V
Forum Message 5 Apr 2013  
Hey, Thanks for a great article..it has been a reference to me..My 5 though.. :) Well, while coding a similar stuff, I encountered that the video does not play until you give 'https' in place of 'htt
Answer 5 Apr 2013   license: CPOL
delete from dbo.Table where Date_Column
Answer 5 Apr 2013   license: CPOL
Hi, You might wana check the below link, it is pretty useful.Google Translator[^]Try to implement it in your application.-Anurag
Article 4 Apr 2013   license: CPOL
This article tries to dig in as to what is WCF, how to code WCF services
Re: Good Article by Anurag Sinha V
Forum Message 4 Apr 2013  
Thank you..Appreciate it..Have a look at its sequel too..the URL is below: WCF: From a Beginn
instance failure in con.open() by Anurag Sinha V
Answer 3 Apr 2013   license: CPOL
Hi,Why are you using static string variable in the first place?Code your connection string something as below:SqlConnection xconn = new SqlConnection(ConfigurationManager.ConnectionString["connectionStrings"].ToString());where connectionStrings is defined in the config file. You...
C#
Answer 3 Apr 2013   license: CPOL
Hi, A basic Google search yielded me the following results. May be they can help you too. Have a look:http://www.wpftutorials.com/2011/03/content-controls.html[^]http://10rem.net/blog/2010/02/05/creating-customized-usercontrols-deriving-from-contentcontrol-in-wpf-4[^]-ANurag
WPF
Answer 3 Apr 2013   license: CPOL
Hi,Have an image tag and a button in your form and on the onclick event of the button, write something as below:protected void button_click(){ImageID.ImageUrl="Images/pic.jpg";}It should do the trick.
Answer 3 Apr 2013   license: CPOL
Hi, Have a look at the below url's..you will get a good idea.http://stackoverflow.com/questions/6558881/usercontrol-databinding-with-a-treeview[^]http://stackoverflow.com/questions/6648560/treeviewitem-using-user-control-and-binding[^]Happy coding!!!-Anurag
WPF
What is MVC in asp.net? by Anurag Sinha V
Answer 3 Apr 2013   license: CPOL
Hi,Segregation of layers is the main view behind implementation of MVC. Have a look at the below...
Re: My vote of 4 by Anurag Sinha V
Forum Message 2 Apr 2013  
thank you..appreciate it...you can find articles on WCF too written by me.. -Anurag
Stuff by Anurag Sinha V
Forum Message 2 Apr 2013  
Your articles are pretty good and easy to get along with...5 from me.. -Anurag
Article 2 Apr 2013   license: CPOL
This article gives a tutorial on consuming WCF service in ASP.NET web site and to create AJAX enabled WCF Service.
developing website in asp.net by Anurag Sinha V
Answer 1 Apr 2013   license: CPOL
Hi,There are a lot pf tutorials available on the internet to start with. Have a look at the below URLs:http://www.w3schools.com/aspnet/default.asp#gsc.tab=0[^]http://msdn.microsoft.com/en-us/library/aa581782.aspx[^]http://asp.net-tutorials.com/basics/first-website/[^]They would help...
Re: nice by Anurag Sinha V
Forum Message 27 Mar 2013  
Thank you.Appreciate it.. -Anurag
Question 26 Mar 2013   license: CPOL
Hi people,I am having a strange problem.I want to have a add tag containing an img tag under appSettings section in web.config file, so that in my code-behind I can call Server.MapMethod method and make use of it.The code builds successfully but it shows a sort of error as:The...
Question 26 Mar 2013   license: CPOL
Hi Folks,Have a disturbing doubt, hope mentors at CP would be able to assist.I have a simple WPF application, in which there is a button.The button is supposed to write data to an excel sheet, which ain't happening.I get an error while building the application that:'Window' is an...
Forum Message 26 Mar 2013  
Thank you. Appreciate it... Regards Anurag
Re: HAPPY HOLI by Anurag Sinha V
Forum Message 26 Mar 2013  
Happy Holi everybody...miss Mom's ghujiya and dahi-vada...god those were the days.... :) Office calling on Holi's eve too... :zzz: :zzz: -Anurag
Re: many images missing by Anurag Sinha V
Forum Message 25 Mar 2013  
Thank you..Would you mind voting the article?... :) -Regards Anurag
Re: many images missing by Anurag Sinha V
Forum Message 25 Mar 2013  
Hello BigTimber@home, I again cross checked it, images are intact and pretty ok. Would you mind if you would directly browse over to the following URL?
Re: many images missing by Anurag Sinha V
Forum Message 25 Mar 2013  
Hi Can you have a look again? All the images are intact and the article is fine from my end. I double checked before submitting because I have a lot of images in the article. Can you try in some
work with Cannon SDK by Anurag Sinha V
Answer 20 Mar 2013   license: CPOL
https://github.com/esskar/Cano...
C#
Answer 20 Mar 2013   license: CPOL
Hi,You can use Splice method to remove the last object.Store your stuff as an array, find the index of the element which you wana delete and use splice method over it.var arrayMy=[1,2,3,4];var x=arrayMy.indexOf(4);arrayMy.Splice(x,1);hope it helps.-Anurag
Answer 20 Mar 2013   license: CPOL
Hi,You can use Splice method to remove the last object.Store your stuff as an array, find the index of the element which you wana delete and use splice method over it.var arrayMy=[1,2,3,4];var x=arrayMy.indexOf(4);arrayMy.Splice(x,1);hope it helps.-Anurag
Image from SQL Database by Anurag Sinha V
Answer 20 Mar 2013   license: CPOL
HI folks..thought sm stuffs and took help from the above solution and have finally solved this issue.I was missing a stuff.Have kept the image name in the Db and instead of assigning the ImageUrl in the .aspx page, I am assigning it in the aspx.cs page.Something like...
Image from SQL Database by Anurag Sinha V
Question 20 Mar 2013   license: CPOL
Hi Folks,Have a weird ask.I have 4 sections in a web page, out of which one section is an image.A SQL table having 5 columns is prepared, corresponding to the 4 sections of the web page.Even the image name is stored in one of the column of the table.My requirement is how to apply...
Answer 15 Mar 2013   license: CPOL
Hi people,Found out the solution by some R & D..:) and hence thought of sharing.Since we don't have a DataSource property for an ASP.NET label, we can't bind the Db directly to the label.Instead, we can use SqlDataReader to iterate throught the query provided and then equating the...
Question 15 Mar 2013   license: CPOL
Hello people, Am stuck on a piece of code.Basically I need to display data from SQL table to few labels in an ASP.NET page.I created a method in a class file(Data Access layer), which selected the whole table from the SQL db and returned to the aspx.cs page as a DataTable,on the...
Answer 14 Mar 2013   license: CPOL
Hi,Have a data access layer as a class file to actually differentiate between your presentation class and your code logics.Create a method in your class file as below:public DataTable PopulateGrid(){//Have a connection object here, name it as xconn...SqlDataAdapter da=new...
Answer 14 Mar 2013   license: CPOL
Client side code:function CallMe(){var x= document.getElementById("id of textbox").value;if(x=="" || x==null){alert("Some stuffs are missing");}}Then you can call this Javascript code from your C# code behind as below:protected void button_click(object sender,...
Answer 13 Mar 2013   license: CPOL
Hi,Have a look at the below code:It iterates for the number of items in your listbox and inserts them into the table in sql.Just a sample code..you can enhance it further, and don't forget to use try-catch-finally block..protected void Button1_Click(object sender, EventArgs e) ...
need a simply tutorial by Anurag Sinha V
Answer 13 Mar 2013   license: CPOL
have a look at the below links:A POP3 Client in C# .NET[^]http://dustyreagan.com/tutorial-on-how-to-open-and-read-email/[^]http://www.developerfusion.com/article/4071/how-to-pop3-in-c/2/[^]
C#
SPEED FOR MY WEBSITE by Anurag Sinha V
Answer 13 Mar 2013   license: CPOL
Hi,You can have a look at the below suggestions:1)Have a domain cache in your .net code.Ideally your application should cache all the columns from the tables which you need for the very first time when the application is accessed.Then from the second time onwards, it should use the...
Answer 13 Mar 2013   license: CPOL
Hi,On button click event, you can add the below code:if(string.IsNullorEmpty(TextBox1.Text)){TextBox1.Focus();}-Regards

Page 1 of 3
1 2 3


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid