16,012,759 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 shanthikalai (Top 20 by date)
shanthikalai
16-Mar-11 2:04am
View
ya i put animated gif only,but it's hanging when my application runs i dont know the problem..
shanthikalai
9-Mar-11 7:57am
View
Deleted
dont hurt me,....
shanthikalai
9-Mar-11 7:57am
View
Deleted
just stop it,u irritates me.....
shanthikalai
9-Mar-11 7:55am
View
Yes my question is why we put dataaccess and if(Request.Files.Count != 0). Please explain this line to me.
shanthikalai
9-Mar-11 7:53am
View
hmm hello don't gt ovr ideas no one is talent by birth even u...
shanthikalai
9-Mar-11 7:35am
View
hmm ok if u knw the answer,then just explain,otherwise dont insult,bcoz nobody did't gt knowledge from their own thinking...even u...sory to say tis bcoz i'm a begginner,don't discourage me.....
shanthikalai
8-Mar-11 6:53am
View
and also y we use render in above code
shanthikalai
7-Mar-11 4:42am
View
Callbacks are not supported on TemplateField because some controls cannot update properly in a callback. Turn callbacks off on 'GridView1'.
i got this error
shanthikalai
24-Feb-11 3:27am
View
DEFAULT.aspx.cs....
protected void Page_Load(object sender, EventArgs e)
{
Calendar1.Visible = false;
}
protected void Calendar1_SelectionChanged(object sender, EventArgs e)
{
TextBox1.Text = Calendar1.SelectedDate.ToString("MM/dd/yy");
Calendar1.Visible = false;
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
if (Calendar1.Visible = false)
{
Calendar1.Visible = true;
}
else
{
Calendar1.Visible = true;
}
}
}
Default.aspx
asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/WebResource.jpg"
onclick="ImageButton1_Click" />
<asp:Calendar ID="Calendar1" runat="server" BackColor="White"
BorderColor="White" BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt"
ForeColor="Black" Height="190px" NextPrevFormat="FullMonth"
onselectionchanged="Calendar1_SelectionChanged" Width="350px">
<SelectedDayStyle BackColor="#333399" ForeColor="White" />
<todaydaystyle backcolor="#CCCCCC">
<othermonthdaystyle forecolor="#999999">
<nextprevstyle font-bold="True" font-size="8pt" forecolor="#333333"
="" verticalalign="Bottom">
<dayheaderstyle font-bold="True" font-size="8pt">
<TitleStyle BackColor="White" BorderColor="Black" BorderWidth="4px"
Font-Bold="True" Font-Size="12pt" ForeColor="#333399" />
</asp:Calendar>
</asp:UpdatePanel>
<asp:DropDownList ID="DropDownList1" runat="server">
</asp:DropDownList>
this is my code if i click the button then my dropdownlist moves down .....how to select without disturbing other controls
shanthikalai
24-Feb-11 3:12am
View
i'm a beginner so let me knw how to do tis...
shanthikalai
24-Feb-11 3:12am
View
no...
shanthikalai
23-Feb-11 6:28am
View
con.Open();
MySqlCommand cmd = new MySqlCommand("update exam set name1=@name,ques=@ques where id = @id", con);
cmd.CommandType = CommandType.Text;
TextBox name = (TextBox)GridView1.Rows[e.RowIndex].Cells[1].FindControl("name");
TextBox ques = (TextBox)GridView1.Rows[e.RowIndex].Cells[2].FindControl("ques");
cmd.Parameters.Add("@name", MySqlDbType.VarChar).Value = name.Text;
cmd.Parameters.Add("@ques", MySqlDbType.VarChar).Value = ques.Text;
cmd.Parameters.Add("@id", MySqlDbType.Int16).Value = Convert.ToInt32(GridView1.DataKeys[e.RowIndex].Values[0].ToString());
cmd.ExecuteNonQuery();
GridView1.EditIndex = -1;
this is my coding...
shanthikalai
21-Feb-11 7:26am
View
pls giv me idea
shanthikalai
21-Feb-11 7:25am
View
yes u r rit
shanthikalai
21-Feb-11 7:19am
View
no i'm nt askig tat,pls understand....at first values entered in the text box should be displayed and again i entered som values in the same textbox it shows next value without disturbing the first.......
shanthikalai
16-Feb-11 7:16am
View
i'm a beginner tat's y i'm asking lik tat...pls don't hurt me...i'm trying several codings but value of that image tak null values in mysql..
shanthikalai
16-Feb-11 7:06am
View
con.Open();
FileUpload img = (FileUpload)FileUpload1;
byte[] imgbyte = null;
if (img.HasFile && img.PostedFile != null)
{
HttpPostedFile File = FileUpload1.PostedFile;
imgbyte = new byte[File.ContentLength];
File.InputStream.Read(imgbyte, 0,(File.ContentLength));
}
MySqlCommand cmd = new MySqlCommand("INSERT INTO test21(img)VALUES(@img)", con);
MySqlParameter pr = new MySqlParameter("@img",MySqlDbType.VarBinary);
pr.Value = imgbyte;
cmd.Parameters.Add(pr);
cmd.ExecuteNonQuery();
Label1.Text = "ad";
this is my coding pls reviw and chk whether it is rit....it takes null values into Mysql ...so pls help me how to insert an image file....
shanthikalai
16-Feb-11 6:12am
View
this also take null values...my question is i want to upload a image file and save that into MySql database...and retrive those saved images in asp.net page..please give me full coding,using MySql,C#,ASP.net....
shanthikalai
16-Feb-11 6:12am
View
this also take null values...my question is i want to upload a image file and save that into MySql database...and retrive those saved images in asp.net page..please give me full coding,using MySql,C#,ASP.net....
shanthikalai
16-Feb-11 1:27am
View
that is not useful for me they use data access method and sql server....i'm using MySql...i'm a beginner so plz giv me the suitable answer
Show More