15,902,198 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 Python 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 Gopal Rakhal (Top 61 by date)
Gopal Rakhal
15-Feb-17 1:42am
View
You can use "AddMonths()" like selecteddate.AddMonths(-1); and assigned to textbox
Gopal Rakhal
26-Jan-17 2:00am
View
It is property of EF.
https://msdn.microsoft.com/en-us/library/jj592907(v=vs.113).aspx
Gopal Rakhal
6-Nov-15 4:59am
View
These are simply remote sql server but in VPN
Gopal Rakhal
6-Nov-15 4:55am
View
Ya, checked using that also it is not working,Is there any thing to do with firewall if firewall is already off.
I am surprised that remote sql server can be access using IP address of that computer but when I use Instance name its is showing network related error, It is also not showing in Network server tab in connect windows
Gopal Rakhal
12-Feb-15 2:34am
View
Yeah, so I have just passed username from model to get required data.
Gopal Rakhal
16-Oct-14 7:39am
View
Its works fine, m getting all columns name but it is necessary to loop through all rows, Is there any way to not loop all rows.
Thanks a lot
Gopal Rakhal
16-Oct-14 7:25am
View
Not in View rather in controller
List<PovertyModel> tempPovertyList = new List<PovertyModel>();
tempPovertyList = ent.Database.SqlQuery<PovertyModel>("PopulatePovertyRecords").ToList();
Now I want to get the list of fieldname/columns name in tempPovertyList.....
Gopal Rakhal
10-Jun-14 3:12am
View
Is this above code is for working in LAN?Here remote is for server located not in LAN, different place say different district of state.
Gopal Rakhal
10-Jun-14 1:05am
View
Actually I want to know methods for same and if I go for asp.net to do same how can I do.
Gopal Rakhal
10-Jun-14 1:02am
View
Deleted
Actually I want to methods to do same and if I do same using asp.net then how can I do that.
Gopal Rakhal
9-Jun-14 6:20am
View
Thanks i will search for it.
Gopal Rakhal
19-May-14 21:46pm
View
templist is a list which is populated with item in BillingCounterTestListModelList using loop, now what I need is to have extra two columns in templist which are not present in BillingCounterTestListModelList.
Gopal Rakhal
21-Jun-13 1:28am
View
Atlast I solved, its just bcoz of line "gv.DataBind()" in ExporttoExcel(GridView gv)
Gopal Rakhal
21-Jun-13 1:16am
View
I have already tried this but not working any other alternative ..
Gopal Rakhal
4-May-13 10:12am
View
thanks everyone, I got track to start with...
Gopal Rakhal
22-Apr-13 6:06am
View
it is almost similar, but if i can know what is error?
Gopal Rakhal
11-Apr-13 4:09am
View
response.write("<script>return confirm('Are You Sure');</script>");
Gopal Rakhal
22-Jan-13 3:37am
View
plz clear your question little..
Gopal Rakhal
11-Dec-12 5:18am
View
sub-directory inside root directory....
Gopal Rakhal
24-Nov-12 2:00am
View
yes.....
Gopal Rakhal
22-Nov-12 4:28am
View
when i upload images it gives "Access to the path 'D:\inetpub\vhosts\.....(url)\httpdocs\22-11-2012' is denied."
Gopal Rakhal
13-Oct-12 1:25am
View
Deleted
ohhhh... its showing that only in IE but its working in chrome
Gopal Rakhal
13-Oct-12 1:21am
View
thanks its working, but when new window opened the main window become blank, its only shows "[object]" in the top of page, m not able to make it work properly...
its showing this error only in IE but its working in chrome
Gopal Rakhal
29-Sep-12 2:17am
View
i have two functions for two separate insert command, now if i call both functions separately in button_click then one function may execute and another may not execute, so i want to execute both function if both are fine else want to roll back both insert commands..
Gopal Rakhal
25-Sep-12 8:28am
View
Can u make your question more clear?, do u want to populate gridview with employee_id from database on button click?
Gopal Rakhal
5-Sep-12 1:00am
View
Am using System.drawing, I have create a application to crop image in rectangular shape, but how to write code to make handfree selection/cropping tool
Gopal Rakhal
4-Sep-12 7:04am
View
I tried, actually my problem is that it get display but get hide when button click or on postback...
Gopal Rakhal
25-Aug-12 4:11am
View
thanks,
Gopal Rakhal
25-Aug-12 3:42am
View
I need 3year 9months.. is it possible in sql or i need to write coding?
Gopal Rakhal
25-Aug-12 3:14am
View
thanks, but if i have 45 months then it will give 3.75 year, so what to do in this case.....
Gopal Rakhal
25-Aug-12 2:49am
View
thanks
Gopal Rakhal
22-Aug-12 11:52am
View
thanks.....
Gopal Rakhal
22-Aug-12 2:04am
View
//sqlconnection
string StrCon = ConfigurationManager.ConnectionStrings["idol"].ToString();
SqlConnection objcon = new SqlConnection(StrCon);
objcon.Open();
//oledbconnection
string filepath = FileUpload1.PostedFile.FileName;
string FileName = Path.GetFileName(FileUpload1.PostedFile.FileName);
string Extension = Path.GetExtension(FileUpload1.PostedFile.FileName);
string FolderPath = ConfigurationManager.AppSettings["FolderPath"];
string FilePath = Server.MapPath(FolderPath + FileName);
string stroledbCon = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + filepath + ";Extended Properties=Excel 12.0 ";
// "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + FilePath + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=2\"";
OleDbConnection oledbCon = new OleDbConnection(stroledbCon);
oledbCon.Open();
string strOledbQuery = "select * from [Sheet1$]";
OleDbCommand cmd = new OleDbCommand(strOledbQuery, oledbCon);
OleDbDataReader dr = cmd.ExecuteReader();
while (dr.Read())
{
string strinsert = "insert into student_tbl(slNo,Rollno,Name) VALUES ('"+dr[0].ToString ()+"','" + dr[1].ToString() + "','" + dr[2].ToString() + "')";
SqlCommand cmd2 = new SqlCommand(strinsert, objcon);
cmd2.ExecuteNonQuery();
}
Gopal Rakhal
21-Aug-12 7:45am
View
thanks
Gopal Rakhal
10-Aug-12 11:54am
View
My result will be only single value from first procedure and that i want to used as parameter in another procedure
Gopal Rakhal
6-Aug-12 21:30pm
View
do i need to use any dll comes with that barcode reader...
Gopal Rakhal
5-Aug-12 22:00pm
View
thanks, i was having no idea, i got an idea ...
Gopal Rakhal
5-Aug-12 22:00pm
View
thanks
Gopal Rakhal
24-Jul-12 6:05am
View
then did u got any solution for that if then plz suggest me.....
Gopal Rakhal
24-Jul-12 6:03am
View
thanks Sandeep, but i didn't get any solution out of these links, if possible plz suggest me else way...
Gopal Rakhal
20-Jul-12 8:20am
View
thanks
Gopal Rakhal
31-May-12 10:34am
View
Thanks but I am not understanding you, I want to validate my textboxes inside Gridview. I want to restrict the user that he/she should not enter the marks greater than 80 or else. how can i do so...
Gopal Rakhal
31-May-12 10:30am
View
Thanks Sandeep, I tried ur code, but its giving "Object reference not set to an instance of an object." error, Actually i am loading my gridview on pageload, and want to check/validate on onekeypress event..
Gopal Rakhal
31-May-12 9:40am
View
thanks
Gopal Rakhal
31-May-12 9:40am
View
Thanks
Gopal Rakhal
24-Apr-12 12:21pm
View
thanks, but i need just for user not for programmer...
Gopal Rakhal
22-Apr-12 4:00am
View
thanks, i got it....i need to purchase another
Gopal Rakhal
20-Apr-12 22:43pm
View
In my pc its working f9, its not working in web server...
Gopal Rakhal
14-Apr-12 10:37am
View
thanks, but i have not fixed number of subjects...
Gopal Rakhal
8-Apr-12 21:30pm
View
Ohhh I just got hint from u and solved it!!!!!!!!!
Gopal Rakhal
8-Apr-12 4:54am
View
Thanks I have solved.........
Gopal Rakhal
1-Apr-12 3:13am
View
thanks, but it is not working, please give perfect way to do so.
Gopal Rakhal
1-Apr-12 3:12am
View
its navigating but not displaying result like names.., just navigating in sequence
Gopal Rakhal
29-Mar-12 13:20pm
View
I got u, thanks but as I am fist time working on Web application, don't have through idea please help little more, "Thanking You"
Gopal Rakhal
22-Mar-12 21:24pm
View
so funny dude...
Gopal Rakhal
22-Mar-12 21:10pm
View
Then plz suggest me else way...
Gopal Rakhal
22-Mar-12 21:10pm
View
Simply I want a Confirm Message as in Windows application. Say, Yes/No message Box, in C# asp.net
Gopal Rakhal
22-Mar-12 21:05pm
View
plz improve this....
Gopal Rakhal
22-Mar-12 13:26pm
View
plz send me code or steps for that..
Gopal Rakhal
18-Mar-12 2:20am
View
I want Information messagebox and Confirmation messagebox in C# asp.net
Gopal Rakhal
17-Mar-12 22:12pm
View
Thanks for ur valuable suggestion, thats good option, but wat i need is when i move to previous page gridview textboxes should not be erased, or Is there any way through which I can make a single column (of GirdView) editable...
Plz suggest me....
Show More