16,004,727 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 vijay__p (Top 116 by date)
vijay__p
18-Jul-13 2:17am
View
Use RSS of that site.
vijay__p
11-Jul-13 23:28pm
View
What is the size of your file?
Did you set size in
maxRequestLength
in web.config.
Check below article for more information.
http://www.codeproject.com/Articles/10842/Setting-up-Web-config-to-allow-uploading-of-large
vijay__p
2-Jul-13 5:13am
View
It should work in both the conditions....
vijay__p
14-Jun-13 0:22am
View
IS there any processing is being done in Inventory constructor?
vijay__p
9-Jun-13 23:18pm
View
Can you please post it as answer if it worked for you?
vijay__p
5-Jun-13 1:16am
View
In ASP.Net or windows application?
vijay__p
3-Jun-13 5:26am
View
http://www.codeproject.com/Questions/143724/how-to-add-Hyperlink-in-gridview-in-ASP-NET
vijay__p
3-Jun-13 2:21am
View
GridView.Rows[GridView.Rows.Count - 1].Cells[0].Text
vijay__p
31-May-13 7:11am
View
Have you added action method for Edit/Update and corresponding View?
vijay__p
31-May-13 7:09am
View
You do not need to check "ReturnUrl" is null or not. FormsAuthentication.RedirectFromLoginPage will automatically determine whether returnUrl exists or not. If exists then it will redirect to that Url else DefaultUrl.
User overloaded method of it.
http://msdn.microsoft.com/en-us/library/1f5z1yty.aspx
vijay__p
29-May-13 2:19am
View
You can add TextBoxWatermarkExtender alogn with Textbox on page.
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/TextBoxWatermark/TextBoxWatermark.aspx
vijay__p
27-May-13 6:18am
View
Can you post your code to display how you have used update panel in page ?
vijay__p
24-May-13 7:47am
View
On PopUp close event find validation control (span) using JaavaScript/jQuery and hide it.
vijay__p
23-May-13 5:30am
View
Just try $(this).attr('readonly', 'readonly');
vijay__p
23-May-13 5:28am
View
Can you be more clear. Are you having problem in Grid binding or returning data from service ?
vijay__p
23-May-13 4:16am
View
check my updated answer. First call from Initialize function and sub sequent from same function as displayed in answer.
vijay__p
22-May-13 7:23am
View
Have you checked css path by viewing rendered html source?
vijay__p
22-May-13 4:44am
View
Have you given write permission on that folder on server ?
vijay__p
21-May-13 8:32am
View
http://weblogs.asp.net/ahmedmoosa/archive/2010/10/30/bind-gridview-using-jquery.aspx
vijay__p
20-May-13 5:59am
View
For checkbox in that particular column you can use different css class and by using that class you can select/deselect checkbox you can achive this functionality.
vijay__p
17-May-13 1:15am
View
To access complex type in javascript put JSON serialized string into ViewData/ViewBag and access it in javascript.
vijay__p
17-May-13 1:14am
View
what is g ?
vijay__p
17-May-13 0:59am
View
http://www.asp.net/ajaxlibrary/act.ashx
vijay__p
14-May-13 4:14am
View
Are you getting checkbox object in your code?
vijay__p
13-May-13 9:08am
View
Have you tried by setting "overflow:hidden" in style ?
vijay__p
13-May-13 9:05am
View
What have you done so far ?
vijay__p
13-May-13 8:58am
View
What error are you getting ?
vijay__p
13-May-13 6:28am
View
http://www.asp.net/mvc
vijay__p
9-May-13 8:22am
View
Updated
vijay__p
9-May-13 2:00am
View
Dont copy and paste whole page, instead just copy code from it and paste in your page.
vijay__p
9-May-13 1:55am
View
Check my answer below
vijay__p
9-May-13 1:35am
View
What you want to convert single value or whole column DataType in table?
vijay__p
9-May-13 1:30am
View
Can you post your code here, c# code as well as SQL proc?
vijay__p
9-May-13 1:01am
View
Can you plase elaborate our question more in detail?
vijay__p
9-May-13 0:58am
View
Can you please elaborate your question more in detail?
vijay__p
9-May-13 0:41am
View
DataBound happens after each and every RowDataBound event is fired, and therefore only fires once for the control. If you only have one thing to do, put it in the DataBound method. If it's something that needs to happen on an arbitrary row, do it in RowDataBound.
vijay__p
8-May-13 9:19am
View
Check below link whether it helps you or not
http://www.codeproject.com/Articles/90143/Mapping-Network-Drive-using-C
vijay__p
7-May-13 6:00am
View
What you have done so far ?
vijay__p
7-May-13 5:53am
View
Can you please elaborate your question more in detail?
vijay__p
7-May-13 2:36am
View
Are you getting checkbox object or not?
vijay__p
7-May-13 2:04am
View
You should not keep connection socket again and again.
Put Connecting(ipep, serverSckt); out side of while loop.
vijay__p
6-May-13 7:13am
View
BTW you have asked same question again. :)
vijay__p
6-May-13 6:11am
View
Then what you have used ?
vijay__p
6-May-13 6:07am
View
and this as well it will explain you how to create and deploy using setup project
http://www.codeproject.com/Articles/3990/Simple-Windows-Service-Sample
vijay__p
6-May-13 6:06am
View
check this link
http://www.c-sharpcorner.com/UploadFile/mahesh/window_service11262005045007AM/window_service.aspxfor creation windows service
vijay__p
6-May-13 6:02am
View
If you have used bound column then you can use below code
var numberLabel = row.Cells[1].Text; // 1 is the column number in GridView
vijay__p
6-May-13 6:01am
View
Have you used bound column?
vijay__p
6-May-13 5:40am
View
Can you post your html with js on jsFiddle?
vijay__p
6-May-13 5:33am
View
Can you please elaborate your question in detail? and also paste html from local and server published version.
vijay__p
6-May-13 2:34am
View
What error you are getting ?
vijay__p
3-May-13 7:39am
View
You can find Label from your usercontrol in Page and change Text of it.
vijay__p
3-May-13 5:40am
View
What have you done so far ?
vijay__p
3-May-13 4:57am
View
You can write SQL job to send scheduled mail
vijay__p
3-May-13 4:46am
View
Check my updated answer for code snippet.
vijay__p
3-May-13 4:37am
View
What are you using as data source? DataTable/ IEnumerable of any Class?
vijay__p
3-May-13 4:10am
View
You can create on custom column concating more than one value using any separator like |: etc...
vijay__p
3-May-13 4:07am
View
which tech. you are using asp.net or windows form?
vijay__p
3-May-13 1:53am
View
still can't get you? Can elaborate your question more?
vijay__p
2-May-13 4:32am
View
What have you done so far?
vijay__p
2-May-13 2:52am
View
What are you using webform/windows form ?
vijay__p
30-Apr-13 8:51am
View
Is your problem resolved ?
vijay__p
30-Apr-13 8:29am
View
Be more specific for your question? what is failing in your code?
vijay__p
30-Apr-13 8:25am
View
There is no relation to/from Batch table.
Add column BatchNo to Student table and then use below query.
SELECT
S.Marks, S.QPName, A.Qno, C.CourseCode, B.BatchDt, B.Attender
FROM Student S INNER JOIN Answer A
ON S.StudentID = A.StudentID
INNER JOIN Course C
ON S.QPName = c.CourseCode
INNER JOIN Batch B
ON B.BatchNo = S.BatchNo
vijay__p
29-Apr-13 6:52am
View
You can get hotel information from TripAdvisor API.
http://www.tripadvisor.com/help/what_type_of_tripadvisor_content_is_available
vijay__p
29-Apr-13 5:56am
View
After ddl.DataBind(); Add this line....
ddl.Items.Insert(0, new ListItem("- Select -"));
vijay__p
27-Apr-13 12:46pm
View
What is written in css for .item?
vijay__p
26-Apr-13 7:05am
View
True, Server side validation is required if data is critical. There are possibilities that user has disabled JavaScript and it is not handled in application then user should be redirect to some page and needs to be notified to enable it.
And don't you think so if JavaScript is disable then most of the functionality of application stop working? :)
vijay__p
26-Apr-13 6:18am
View
If you create an overloaded constructor/method in derived class which accept BaseClass object as paramer then you can
You can access base class properties in derived class and initialize them if required.
vijay__p
26-Apr-13 6:05am
View
IF you want user to restrict on only one selection then why not to use RadioButton instead of Checkbox control.
vijay__p
26-Apr-13 1:12am
View
What is your exact issue? retiving from database or display in listview?
vijay__p
26-Apr-13 1:11am
View
Check version of your DLL, is it 32 and trying use it in 64 bit environment or vice versa?
vijay__p
25-Apr-13 7:04am
View
Dont use DataList Use Repeater control
vijay__p
25-Apr-13 7:01am
View
Have you included jQuery reference?
vijay__p
25-Apr-13 6:42am
View
What is the error ?
vijay__p
24-Apr-13 5:29am
View
Can you please elaborate your question?
vijay__p
24-Apr-13 1:34am
View
Have you checked this link? http://msdn.microsoft.com/en-us/library/ms173186(v=vs.80).aspx
vijay__p
23-Apr-13 1:32am
View
JavaScript is possible but what's wrong with this code?
vijay__p
22-Apr-13 2:46am
View
What is your URL ?
vijay__p
20-Apr-13 13:17pm
View
If old password is invalid then ChangePassword method will return false, so then you can take proper action based on that.
vijay__p
20-Apr-13 13:08pm
View
Can you please elaborate your question in more detail?
From Partail View in same view or its totally different View?
vijay__p
19-Apr-13 7:19am
View
You can post your query here.
vijay__p
19-Apr-13 5:02am
View
Sure dear
vijay__p
19-Apr-13 4:49am
View
It just a power of jQuery selectors.. You can learn more at http://api.jquery.com/category/selectors/
vijay__p
19-Apr-13 4:37am
View
Now use jQuery that is used in sample in jsFiddle
$('table#ContentPlaceHolder1_GetUserScraps1_GridViewUserScraps>tbody>tr:last>td:first').html()
vijay__p
19-Apr-13 4:14am
View
Checkout this link on jsFiddle. http://jsfiddle.net/LRSS2/3/
Also make sure that your grid render <tbody> element...
To render <tbody> element from GridView set following properties in GridView
grid.UseAccessibleHeader = true;
grid.HeaderRow.TableSection = TableRowSection.TableHeader;
vijay__p
19-Apr-13 2:42am
View
In your HTML code there are a lot of unclosed tags, please post proper html
vijay__p
19-Apr-13 2:32am
View
Post your html so i can check or post it on jsFiddle and provide link over here
vijay__p
18-Apr-13 11:28am
View
Try using
File.Exists(Server.MapPath("~/label_me_red.ico.deploy"))
vijay__p
18-Apr-13 8:01am
View
can you please elaborate your question more? Do you want to keep .aspx.cs files in your setup project?
vijay__p
18-Apr-13 6:51am
View
Also if possible post html rendered by GridView
vijay__p
17-Apr-13 5:18am
View
Can you please elaborate more regarding your question?
vijay__p
16-Apr-13 4:51am
View
You can not use simple getJSON method for cross domain call, you have to use JSONP. checkout this link
http://stackoverflow.com/questions/6849802/jquery-getjson-works-locally-but-not-cross-domain
vijay__p
15-Apr-13 6:01am
View
Check AutoPostback property in your Dropdown. It should be True.
vijay__p
15-Apr-13 1:53am
View
http://jsfiddle.net/JthcU/1/
vijay__p
9-Apr-13 7:31am
View
Your refnied code
DataTable dt = obj.GetFloorTileName(CmbFloorTiles.Text);
dgvFloorTiles.DataSource = dt;
listFloorTiles.Items.Clear();
ImageList list = new ImageList();
list.ImageSize = new Size(256, 256);
for (int i = 0; i < dt.Rows.Count; i++)
{
DataRow drow = dt.Rows[i];
byte[] bytes = (byte[])drow["FloorTexture1"];
list.Images.Add(Image.FromStream(new MemoryStream(arr)));
}
listFloorTiles.LargeImageList = list;
for (int j = 0; j < list.Images.Count; j++)
{
ListViewItem item = new ListViewItem();
item.ImageIndex = j;
listFloorTiles.Items.Add(item);
}
vijay__p
9-Apr-13 7:13am
View
You can convert byte[] to Image as below.
For windows application i have used PictureBox and set its Image property to by converting byte[] to Image as below, so it will display image in PictureBox. Hope this will help.
byte[] arr;
pictureBox1.Image = Image.FromStream(new MemoryStream(arr));
vijay__p
9-Apr-13 6:01am
View
Above code is to display image from database only.
draw is object of DataRow which you have written "drow". Image1 is "<asp:Image />".
You need to set base 64 string as image URL as displayed above.
vijay__p
8-Apr-13 5:53am
View
Dear.. error is coming because you are trying to access control outside of GridView, which will not be possible. you need to write this JavaScript in GridView/Beside Textbox only to make it work.
vijay__p
8-Apr-13 5:37am
View
You have to use ClientID proerty of server control to attach "autocomplete".
Use $('#<%=name.ClientID %>').autocomplete....
vijay__p
8-Apr-13 3:00am
View
You can not get HTML controls server side, to get control and its value at server side control must be marked as runat="server".
vijay__p
5-Apr-13 2:48am
View
The URL which are you are trying to access must have corresponding controller and action.
Check your route configuration in Global.asax and URL (controller and action)
vijay__p
4-Apr-13 6:20am
View
Can you be more specific what you want to achieve ?
If you need just GridView row count then you can get using
GridView1.Rows.Count
vijay__p
4-Apr-13 6:05am
View
If you want to disable dropdown then disabled value should not be inside class attribute. It should be added as separate attribute. try below code to disable dropdown.
$('#ddl_State').prop('disabled','disabled');
vijay__p
3-Apr-13 23:50pm
View
Are you using traditional ADO.Net or entity framework ?
vijay__p
3-Apr-13 6:44am
View
Try to format your "monthyear" value in yyyy-MM-dd HH.mm.ss format.
It will work
Ex. MONTH('2012-05-14 12:00:00)
vijay__p
3-Apr-13 6:28am
View
What is the value of "monthyear" parameter that you are passing?
vijay__p
3-Apr-13 6:27am
View
Does your DataSource contains Property "startdate"?
vijay__p
3-Apr-13 6:21am
View
Have you selected correct framework in application pool?
vijay__p
3-Apr-13 6:19am
View
You mean you want to write actual byte numbers to text file ?
vijay__p
3-Apr-13 1:43am
View
Dear i have tested this code in sample application and it worked!
Just use one codition for .FirstOrDefault();
if it is null then do not perform any operation as no element exists.
Try below code. it is from sample application
var path = @"C:\Temp\test.xml";
if (!File.Exists(path))
{
//save
XElement xml = new XElement("Formulas",
new XElement("Formula", DateTime.Now.ToString()));
xml.Save(path);
}
else
{
//update
XDocument doc = XDocument.Load(path);
var xmlupdate = doc.Descendants("Formulas")
.FirstOrDefault().Element("Formula").Value = "formula_" + DateTime.Now.ToString();
doc.Save(path);
}
vijay__p
3-Apr-13 1:37am
View
You have written that you have column regdt in table, if it is there then error should not be there.
try with bwlow query
string updateSql1 = "UPDATE txfile SET expiry_dt=DATEADD(day,"+v_days_eligible+",regdt),payment_recvd_dt=Convert(varchar(10),getdate(),105), pay_status= 'Y' " + "WHERE mem_id= " + v_mem_id + "";
vijay__p
2-Apr-13 5:30am
View
What you are doing by clicking on Image/ImageButton (Updatating something)?
vijay__p
2-Apr-13 5:21am
View
If you want to return only string then you need to remove "SELECT * FROM ..." query from SP otherwise it will retrurn two tables.
and you don't need to write return statement as you have used "SELECT" and just one thing are you using "ExecuteScaler" method?
vijay__p
2-Apr-13 4:52am
View
Demo application
http://code.msdn.microsoft.com/MVC-4-Razor-Design-Sample-0ed5e9da
vijay__p
2-Apr-13 0:53am
View
Just add one class with following definition
public class Data
{
public int Id { get; set; }
public string Name { get; set; }
}
vijay__p
3-Dec-10 5:07am
View
but still there is an entry of ViewState on the page...
Is there any way to remove entry from page.
Show More