15,913,685 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 Samsani.v.s.Durga Prasad (Top 28 by date)
Samsani.v.s.Durga Prasad
19-Nov-12 7:53am
View
but presently i do not have access to iis that's why i am doing selefhosting
i tried the below one in command prompt
netsh> http add url=http://+8072/Serviecname user=domain\Administrator listen=yes
then i am getting Url reservation add failed Error:87
Samsani.v.s.Durga Prasad
30-Oct-12 2:10am
View
Hi here the problem is your "image2.jpg" location
Give the proper image path where it is
Samsani.v.s.Durga Prasad
25-Oct-12 7:48am
View
hi write the below line and find what you are getting
gridview1.Rows[1].Cells[1].Text
Samsani.v.s.Durga Prasad
25-Oct-12 4:50am
View
hi i think you put AutoGenerateColumns=false that's why you got empty data .Try by putting AutoGenerateColumns=true, you will get
Samsani.v.s.Durga Prasad
23-Oct-12 7:37am
View
is it navigated to www.dotnetfunda.com or not ? while execution of source page
Samsani.v.s.Durga Prasad
23-Oct-12 7:31am
View
Replace dataset with datatable,it will work
Samsani.v.s.Durga Prasad
23-Oct-12 7:19am
View
Hi see the code what i posted (solu 2)
Samsani.v.s.Durga Prasad
23-Oct-12 6:45am
View
hi In form onload event of Viewdetails.aspx write
window.location.href="url";
Samsani.v.s.Durga Prasad
23-Oct-12 6:07am
View
Hi pop up will come only in firefox browser,in chrome pop up will not come
Samsani.v.s.Durga Prasad
18-Oct-12 0:28am
View
hi if there is a primary key in your table insertion will not be done with same data.i think this will be the problem
Samsani.v.s.Durga Prasad
16-Oct-12 8:00am
View
Hi put label enableviewstate=false
Samsani.v.s.Durga Prasad
15-Oct-12 23:40pm
View
Sorry i did not put the AutogeneratedSelect button property to true,that was the problem here. After put the AutogeneratedSelect to true GridView.SelectedIndexChanged Event was fired
Thanks
Samsani.v.s.Durga Prasad
15-Oct-12 23:31pm
View
I put "ok" button in gridview, i wrote the button click event in code behind. When clicked on the "ok" button GridView.SelectedIndexChanged Event not fired but button click event fired
Samsani.v.s.Durga Prasad
15-Oct-12 7:30am
View
ok after try i will reply thanks
Samsani.v.s.Durga Prasad
15-Oct-12 7:19am
View
There no ui in ImageRetrive.aspx. For getting the image ImageRetrive.aspx will be useful
Samsani.v.s.Durga Prasad
10-Oct-12 0:17am
View
Give me replay whether you get it or not
Samsani.v.s.Durga Prasad
9-Oct-12 9:22am
View
Hi
what is the use of text box here? what will happen when click on button ?
Send exactly what you want
Samsani.v.s.Durga Prasad
9-Oct-12 6:58am
View
ok good
Thanks
Samsani.v.s.Durga Prasad
9-Oct-12 4:53am
View
design your div like a box put it visibility disable.
Use the transparency ,opacity properties in css to show the div box as light box
Samsani.v.s.Durga Prasad
8-Oct-12 8:57am
View
griview1.rows[2]backcolor=System.Drawing.Color.Red;
Above code is not good because if you click on any row 2nd row color only will be changed.
Samsani.v.s.Durga Prasad
8-Oct-12 4:45am
View
commandname="ChangeColor" commandgrgumen=<%EVal("sno") text="Change"
sno is a column in the table it should start from zero. you should insert the sno in the table from zero why because gridview row index starts from zero. To find out on which row you click, this sno will useful.
for example
if you click on 1st row index will come as 1 (this 1 will come from database table) like this
all rows
Samsani.v.s.Durga Prasad
5-Oct-12 7:44am
View
simply write
if(empno==20 || empno==21)
{
Update logic
}
else
{
lblError.Text="Error occurred enter only 20 or 21"
}
This will be enough observe the solutoin1 gridviewupdating event logic
Samsani.v.s.Durga Prasad
4-Oct-12 8:54am
View
write e.keychar in keyup event of textbox
Samsani.v.s.Durga Prasad
4-Oct-12 0:09am
View
Click on this you will find some information
http://www.asp.net/ajaxlibrary/act_AutoComplete_Simple.ashx
Samsani.v.s.Durga Prasad
3-Oct-12 10:00am
View
Deleted
<div>
<asp:GridView runat="server" ID="gridParent" AutoGenerateColumns="false">
<asp:TemplateField HeaderText="Parent Label">
<asp:GridView runat="server" ID="gridChild">
<asp:TemplateField HeaderText="Child Grid">
<asp:Label runat="server" ID="lblMess" Text="This is child label">
<asp:TextBox runat="server" ID="txtDocNo">
<asp:TextBox runat="server" ID="txtQty">
<asp:Button runat="server" ID="btnSubmit" Text="Submit" />
</div>
Samsani.v.s.Durga Prasad
2-Oct-12 5:29am
View
yes obviously .first we should bind data to datalist.
Samsani.v.s.Durga Prasad
2-Oct-12 0:05am
View
nested grid view will not be visible so how can we insert data
<div>
<asp:GridView runat="server" ID="gridParent" AutoGenerateColumns="false">
<columns>
<asp:TemplateField HeaderText="Parent Label">
<itemtemplate>
<asp:GridView runat="server" ID="gridChild">
<columns>
<asp:TemplateField HeaderText="Child Grid">
<itemtemplate>
<asp:Label runat="server" ID="lblMess" Text="This is child label">
<footertemplate>
<asp:TextBox runat="server" ID="txtDocNo">
<asp:TextBox runat="server" ID="txtQty">
<asp:Button runat="server" ID="btnSubmit" Text="Submit" />
</div>
i think we can find the gridchild (by using row.findcontrol("gridchild) but it will not be visible first time if the gridchild does not contains data
Samsani.v.s.Durga Prasad
28-Sep-12 8:09am
View
<asp:DataList ID="dataListEmp" OnItemCommand="DatalistcommandEvent" RepeatColumns="1" CellSpacing="10" GridLines="Both" ItemStyle-Width="300" ItemStyle-BorderColor="Blue" BorderStyle="Dotted" CellPadding="10" BorderColor="Blue" runat="server" DataSourceID="sqlDataSourceEmp">
<itemtemplate>
<%# Eval("EmpId") %>
<%# Eval("Employee Name") %>
<%# Eval("Location") %>
<asp:ImageButton runat="server" ID="imgData" AlternateText="Image" CommandName="Myimage" />
protected void DatalistcommandEvent(object s,DataListCommandEventArgs e)
{
if (e.CommandName == "Myimage")
{
DataListItem item = dataListEmp.Items[e.Item.ItemIndex] as DataListItem;
ImageButton imgbtn = item.FindControl("imgData") as ImageButton;
imgbtn.ImageUrl = "http://localhost:64452/FilesReadAndInsert/Images/dave.jpg";
}
}
Show More