12,085 Topics

Member Avatar for
Member Avatar for Kleon

hi guys i am having this small issues with image slider, it shows in the broswer just one picture, than slider continues but it does not show the content of the other pictures(can not read them). i have 8 pictures in my Images folder in my project, but it reads …

Member Avatar for Kleon
0
245
Member Avatar for grafic.web

Hi, i applyed an CalendarExtender to my text box, this is the code : <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" Enabled="True" TargetControlID="TextBox1"> </asp:CalendarExtender> </div> </form> </body> </html> but when i run it, i get this …

Member Avatar for grafic.web
0
740
Member Avatar for Kleon

I am creating registration Form, here's the code SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["RegConnectionString"].ConnectionString); con.Open(); string insCmd = "Insert into Registration(UserName, Password, EmailAdress, FullName, Country) vaues (@UserName, @Password, @EmailAddress, @FullName, @Country)"; SqlCommand insertUser = new SqlCommand(insCmd, con); insertUser.Parameters.AddWithValue("@Password", TextBoxPass.Text); insertUser.Parameters.AddWithValue("@EmailAddress",TextBoxEA.Text ); insertUser.Parameters.AddWithValue("@FullName",TextBoxFN.Text); insertUser.Parameters.AddWithValue("@Country", DropDownListCountry.SelectedItem.ToString()); try { insertUser.ExecuteNonQuery(); con.Close(); Response.Redirect("Login.aspx"); } catch …

Member Avatar for Kleon
0
126
Member Avatar for gahhon

I am using SQL Database, In my example of my webpage, i got `FileUpload` & `Image` & `Button` Controls. i wanna to know any tutorials or tricks from code behind that able to upload the image file into my sql database and how to display the image in my Image …

Member Avatar for gahhon
0
215
Member Avatar for shehnaz20

please give me some easy working code to insert images in database and also also display the same in the gridview also help me how to enter the calendar entries in the database and diplay in the gridview

Member Avatar for JorgeM
0
146
Member Avatar for riyamanavalan@g

i want to disable controls like cut copy paste delete oprtions in openfiledialogue box in my project which is developed using c#.net....any plsss help me.....

Member Avatar for riyamanavalan@g
0
125
Member Avatar for uv4u

Hi , i am working on a web project , and there is a page where i have to display news. i am using repeater control , and it is working fine , but i want to add a "read more" link on long posts , i searched a lot …

Member Avatar for geniusvishal
0
215
Member Avatar for Maideen

hi anybody can tell How can session store in mssql database? How to do SQLServer Session Mode start? Pls help me Maideen

Member Avatar for Maideen
0
168
Member Avatar for Maideen

Hi I am developing the asp.net using Vb.net code. I need to notify my client if client's browser is disabled the cookies, when the launch the asp.page. Pls help me. Maideen

Member Avatar for Maideen
0
245
Member Avatar for Karineh_1

Hi everyone, I am populating a dropdownlist based on the selection from another dorpdownlist. As long as there is no postback happening, I see the list getting populated correctly but after a postback, my dropdownlist is empty. I am setting the DataValueField property of the ddl that I populate at …

Member Avatar for Karineh_1
0
270
Member Avatar for HunainHafeez

I'm trying to delete a row from gridview manually, i mean that i can use SHOWDELETEBUTTON=TRUE, that's easy but i want to delete it via button code, so far i have done this but couldn'y figure out that what to do more .aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> …

Member Avatar for geniusvishal
0
598
Member Avatar for Nayyar_1

I have to consume webservice that have a method like this: SubmitUser(UserReg user, HttpPostedFileBase image) { // webservice side processing` } UserReg is a custom class on webservice side that have several properties like username,id,latitude,longitude etc.. I have to submit my data through this method and save webservice response after …

Member Avatar for geniusvishal
0
204
Member Avatar for hasan101002
Member Avatar for gahhon

protected int getRowCount() { int RowCount = 0; SqlConnection conRowCount = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdRowCount = new SqlCommand("SELECT Category FROM MonthlyBudget WHERE (Username=@username AND CurrentMonth=@current) GROUP BY Category", conRowCount); cmdRowCount.Parameters.AddWithValue("@username", Master.getUsername); for (int i = 0; i < intMonth.Length; i++) { cmdRowCount.Parameters.AddWithValue("@current", Convert.ToDateTime("1/" + intMonth[i] + "/" + ddlYear.SelectedItem.Text)); conRowCount.Open(); …

Member Avatar for gahhon
0
171
Member Avatar for hasan bahadır

Hi guys. I am beginner at developing and currently learning c#. I was asked for developing a console based snake game by my knowlage of c#. So i have to develop the game by using classes( not structs etc) arrays methods.. I can use any ideas on that matter. Thanks.

Member Avatar for hasan bahadır
0
347
Member Avatar for jaejoong

Hi, I need to read the "Nothing follows" on excel page that was transfered to datagridview Here's my code: foreach (DataGridViewRow row_temp in dataGridView2.Rows) { string str1 = row_temp.Cells[0].Value.ToString(); if (str1 == "Nothing follows") { MessageBox.Show("Nothing follows"); } } when I insert a row.. up to row 7 "Nothing follows" …

Member Avatar for LastMitch
0
100
Member Avatar for diya45

i try to approve documents through dropdownlist... when i select approve/reject/pending then i have submit button when i click on button document will be approve/reject...what should i code on submit button?? here is the code of dropdown protected void DropDownList4_SelectedIndexChanged(object sender, EventArgs e) { DropDownList ddl = sender as DropDownList; …

Member Avatar for LastMitch
0
170
Member Avatar for HunainHafeez

Gridview remains in EDIT mode and doesn't get out of it when i don't rebind it, why ? but when i rebind gridview that it exits out of eidt mode successfully, why ? protected void gvTest_Edit(Object sender, GridViewEditEventArgs e) { gvTest.EditIndex = e.NewEditIndex; Response.Write("Editing..."); connectToDb(); // a funtion to rebind …

Member Avatar for nakor77
0
134
Member Avatar for Maideen

Hi I am using below code in my webform, it work fine. How can I put this code in class.vb file and call in many asp.net pages? Dim computer_name() As String computer_name = split(System.Net.Dns.GetHostEntry(Request.ServerVariables("remote_addr")).HostName, ".") Me.lblcompname.Text = computer_name(0).ToUpper Pls help me Maideen

Member Avatar for JorgeM
0
181
Member Avatar for HunainHafeez

like answers should be technical, i know the code to fill and update everything, but i actually don't know precisely that how it does ? like i change row in GRIDVIEW and click update, it changes(updates) data in database too, some says that SQLDATA-Adapter do this but even in my …

Member Avatar for HunainHafeez
0
89
Member Avatar for riyamanavalan@g
Member Avatar for gahhon

![1c1818c0424f995161e5d67c0832ee62](/attachments/large/3/1c1818c0424f995161e5d67c0832ee62.jpg "1c1818c0424f995161e5d67c0832ee62") i want to create a dynamic data by showing the particular category details. Example, if i mouse hover the area of clothes/the word of clothes, it pop out a new small window that showing another pie chart, how can i archieve that? or showing the details in the …

Member Avatar for gahhon
0
180
Member Avatar for gahhon

My webpage is allow to scroll up and down but not left and right. Assume my webpage left is contain something and right is used to display the some information. Of curse, the information might be extremly long but how can i to auto break to new line instead of …

Member Avatar for gahhon
0
205
Member Avatar for amrita111

I need to have a application in which files are uploaded on the server in asp.net . I want those files to get renamed automatically on the server on a certain date.How to proceed with this in asp.net. Kindly help

Member Avatar for JorgeM
0
131
Member Avatar for HunainHafeez

i'm trying to hide EDIT button in a column when i click it but it doesn't. Actually, i manually created EDIT button in gridview, it worked :) but now after clicking edit button i want it to disable so i can put UPDATE button while editing. i tried but it …

Member Avatar for JorgeM
0
177
Member Avatar for HunainHafeez

one thing that i have been searching since many days that confuses me is that the difference between ONCOMMNAD and ONROWCOMMAND, Oncommand methid use parameters like "DELTEROW" EDITROW while ONROWCOMMAND uses DELETE, EDIT etc and both send different kinda objects like one send GridviewEventargs type object while another sends commandeventargs, …

Member Avatar for JorgeM
0
637
Member Avatar for gahhon

i am using MYSQL as my database. Due to i have multiple selection of categories one of them is `Others` Once the user selected the `Others` it will shown a textbox which let the user to input a new category. But now i have problem is how can i add …

Member Avatar for gahhon
0
184
Member Avatar for gahhon

![732d22f08a80a7b16757c3d9f59f5454](/attachments/large/3/732d22f08a80a7b16757c3d9f59f5454.jpg "732d22f08a80a7b16757c3d9f59f5454") Recently i'm just created a new gmail account just for my project purpose. But when i performing there is a feedback from end-users.. the email address of the sender is my new gmail account? According to MailMessage `MailMessage(SENDER, RECEIVER)` am i right? but how come i am can't …

Member Avatar for gahhon
0
130
Member Avatar for HunainHafeez

like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws …

Member Avatar for JorgeM
0
723
Member Avatar for donedeal

I'm trying to find out which of the following WEB/MOBILE Developing Tool. 1. ASP.NET 2. PHP 3. JAVA Which one of them is the best in terms of robust web application, tight Security, mobile application, database application, etc. I will like to know which one with reasons.

Member Avatar for irum niazi
0
336

The End.