13,153 Topics
![]() | |
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 … | |
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 | |
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..... | |
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 … | |
hi anybody can tell How can session store in mssql database? How to do SQLServer Session Mode start? Pls help me 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 | |
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 … | |
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" %> … | |
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 … | |
how can i add slideshow in asp .net mvc 4 ? | |
Hello Community, I was wondering if there is a way to get a grid from another window to display in another window by the way i'm using fluidkit slide transition. Please Help... | |
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(); … | |
Dear All, I am using Visual Studio 2012 and created a WPF application. I just want to know that how to include pre-requisites like set up files of .Net framework etc. in my setup project so that if anyone installing my setup has not got the framework installed on his/her … | |
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. | |
i am having combobox inside each cell of an datagrid.the combobox is in cellediting template and also having textblock which is in datatemplate.what i want now is when i select the item from the combobox the selected item has to be pass to the textblock in the same cell.i tried … | |
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" … ![]() | |
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; … ![]() | |
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 … | |
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 | |
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 … | |
how to override openfiledialoguebox in c#.. | |
 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 … | |
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 … | |
Hello All, I want to add a functionality to my WPF usercontrol in the Head section like the image below :-  Could someone please suggest some approach on how to achieve the same ? | |
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 | |
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 … | |
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, … | |
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 … | |
 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 … | |
How to deploy a windows application (in VS 2010) with database. I know to do the setup project for the windows application. I have to give demo that one machine act as client and another machine as server. I have to deploy the setup on one machine which will work … |
The End.