13,153 Topics

Member Avatar for
Member Avatar for Shantanu88d

whenever i delete, insert or update my datasource, gridview does not refresh. However, when i manually refresh my page, then it does. How to make it such a way that it refreshes by it's own whenever I insert,delete or update anything from my datasource. [B]P.s[/B]: DataBind() method is not working

Member Avatar for naimerkallis
0
6K
Member Avatar for hitro456

Hello All, I have a web application with master page. master page has accordian (vertical) menu with favorites section where user can drag menu items dynamically. user has to press 'save' button to save these newly dragged items. My problem is after pressing 'save' button, these control's do not render …

Member Avatar for Daemon_CC
0
2K
Member Avatar for PsychicTide

Hey guys, I'm not very familiar with asp.net (Doing this in c#) or session cookies for that matter, just the basics. Trying to store a list of items in a session cookie, then when needed, pull those items back out as a list to then use them in a MS …

Member Avatar for Daemon_CC
0
321
Member Avatar for Pennie_1

Imports System.Windows.Forms Partial Class ExisitingApplication Inherits System.Web.UI.Page Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click If Me.txtLastN.Text = "" Then Dim erMsg As Windows.Forms.DialogResult = MessageBox.Show("Must enter Last Name.", "Search", MessageBoxButtons.OK) End If 'Define connection string with datasource Dim str As String = ConfigurationManager.ConnectionStrings("SqlDataSource1").ToString 'Define sql …

Member Avatar for Pennie_1
0
349
Member Avatar for tbuchli

I'm trying to make a hit counter. I have it working but when I add it to my website, I get a web config. error... <%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Import Namespace="System.IO" %> <script language="VB" runat="server"> Private Sub Page_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for tbuchli
0
539
Member Avatar for PsychicTide

Hey guys, still working on creating some sort of shopping basket and have decided to try using session cookies. I can populate the cookie with at least 1 entry, but either can't seem to convert string <> arraylist correctly or am working with cookies incorrectly. I'm using asp.net/c# and am …

Member Avatar for wazz
0
844
Member Avatar for Mian Sahib Jan

how to get specific row values from asp:repeater and sent that specific row data to another repeater on another page.can any one have any idea or any type simple code related to it from that we can take idea your sincer regard Mian Sahib Jan

Member Avatar for wazz
0
139
Member Avatar for tfj

Good Afternoon. I am using ms VWD 2010 Express with vb.net 2010. I have an Access 2007 database with a table called Members. Members has 10 columns. The primary key is HouseNumber & StreetName. The problem is using Parameters in the Sql Update command. I use parameters to read the …

Member Avatar for wazz
0
328
Member Avatar for liamfriel

Hello all, I am pretty new to ASP and we are using ASP for logins for our PHP projects, we are using Active Directory LDAP. We can only connect to one container at a time. I have managed to create some code so switch containers but I cannot log in …

Member Avatar for liamfriel
0
199
Member Avatar for castajiz_2

I ve built a simple webservice just for testing and whenever I implement it on my windows phone 8 solution(I add a refference) my methods which are decorated with the [webmethod] naturally seem to convert from type string for example to type void and at the end of the method …

Member Avatar for Ketsuekiame
0
451
Member Avatar for Mian Sahib Jan

how to pass the value of one webpage to another at same project i mean me have to webpage one have item and the second for a cart mean to add these item to the cart on one click.me have the following control in item webpage image,lblName,lblPrice,lblQuantity me want to …

0
162
Member Avatar for KushMishra

Hello All, I have one webbrowser control and I took a dependency source property from the Internet and binded the same to my string Url. I took this dependency property because .Net doesn't lets you bind the Source property to a string datatype and only Uri datatype. Now I am …

Member Avatar for usamaali
0
1K
Member Avatar for sweta87
Member Avatar for sweta87

Hi, I have an drop downlist whic contains the products and a textbox for quantity. when i am selecting the dropdownlist and write the quantity value in the textboxes and click the Button1 textboxes are dynamically generating in the placeholder with labels according to quantity but when again i am …

Member Avatar for Joao_2
0
176
Member Avatar for sweta87

i have four columns in a gridview .Every field is a template field with checkboxes.I have a button. when i check the check boxes and store it in database the checkbox value is storing. but after clicking the button the checkboxes unchecked. how to make the checkboxes checked . public …

Member Avatar for sweta87
0
827
Member Avatar for sweta87

Hi Everyone, i have created a role page in which i can create roles and whatever roles i have created is stored in database and a gridview. In that gridview an edit button column is there. When i am clicking the edit button another page known as permission page of …

-1
106
Member Avatar for maxpaine69

I all as anybody tried, passing a pdf tha is in memory stream and so it directly on a div, without the creatio od a file?? Best Regards

Member Avatar for LaxLoafer
0
2K
Member Avatar for sadaquat_1

I have a placeholder control where i have added the files from my folder. I have also binded a check box with each file How i can download the files if checkbox is clicked. string strDir = Request.QueryString["d"] == null ? FileBrowerProperty.IntialPath : Request.QueryString["d"]; //read the directory DirectoryInfo DirInfo = …

Member Avatar for new_nano
0
278
Member Avatar for Anto_1

This is my code am getting the result as byte array. i want to print this byte array without saving as pdf in system. kindly note this is web application not window application Page p = new Page(); string fname = string.Empty; string filetype = string.Empty; ReportViewer rptvw1 = new …

Member Avatar for ddanbe
0
1K
Member Avatar for Alp_1

I have a button which make it add data to accees database,but i want to another button which will make export data from access to excel. here is my button : try { string cmdText = "Insert INTO data(Name,Mail) Values(?,?)"; db_conn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Alpozkanm\\Documents\\Visual Studio 2012\\WebSites\\IntegratedSubscribeSystem\\veri.accdb;Persist Security Info=False;"); OleDbCommand …

Member Avatar for du_1
0
421
Member Avatar for tfj

Good Afternoon. I submitted a question a couple of days ago under the article name: Change asp:menuitem properties from other programs. I'm working with the following web pages - Site.Master/Site.Master.vb, Login.aspx/Login.aspx.vb JorgeM answered my question and showed me the code to use. It worked great. Dim navMenu As Menu navMenu …

Member Avatar for taersious
0
408
Member Avatar for Anto_1
Member Avatar for Anto_1
0
233
Member Avatar for mimizuki12

Hi everyone, I'm new here and is in need of some help. I'm trying to complete my project, however I'm stuck at writing the data from the sql into the vb.net/asp.net gridview. Was never good at database to start with and I had never learnt how to query from VB.NET. …

Member Avatar for Danuja
0
251
Member Avatar for tfj

Good Afternoon. I'm working with the following web pages using ms vwd 2010 express: Site.Master/Site.Master.vb, Login.aspx/Login.aspx.vb I have the following code in the Login.aspx.vb program: Dim WelcomeLabel As New Label WelcomeLabel = CType(Master.FindControl("WelcomeLabel"), Label) WelcomeLabel.Text = "Welcome " & OLEdr.Item("ho1FirstName") Dim LogHyperlink As New HyperLink LogHyperlink = CType(Master.FindControl("LogHyperlink"), HyperLink) LogHyperlink.Text …

0
131
Member Avatar for laura301019

Hi I have a webform to allow users to register this information is stored in a Clients tables but I would like some of the information to be stored in another table that will store the username, security question and answer. I tried using two separate insert commands but it …

Member Avatar for laura301019
0
254
Member Avatar for ddanbe

Thought it would be very complicated to include speech in your programs. As it seems, in it most simplest form it can be done in two lines. Don't forget to include the System.Speech reference in your References. Enjoy!

Member Avatar for kplcjl
5
559
Member Avatar for martin3885

Hi, I've a project compiled for .net 3.5. In the project there is a form with a DataGridView. In CellPainting I'am adding row numbers in row header: private void dataGridView1_CellPainting(object sender, System.Windows.Forms.DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex == -1) { e.PaintBackground(e.ClipBounds, true); using (StringFormat st = new StringFormat()) { st.Alignment = …

Member Avatar for JOSheaIV
0
1K
Member Avatar for tfj

Good afternoon. I am using MS Visual Web Developer 2010 Express with VB.Net. I have 3 web pages - Site.Master with Site.Master.vb, Login.aspx with Login.aspx.vb, CreateAccount.aspx with CreateAccount.aspx.vb If I put the following statement in the Site.Master.vb Page_Load: `NavigationMenu.Items.Item(2).Selectable = False` it works fine. It makes the menu item unselectable. …

Member Avatar for tfj
0
799
Member Avatar for diya45

i try to show documents with specific department id computer-science admin will be able to view only computer-science documents and hr admin view only hr documents here i create a sp ALTER procedure [dbo].[sphrdocid1] @DepID int as SELECT DocumentInfo.DocID, dbo.DocumentInfo.DocName, dbo.DocumentInfo.Uploadfile, dbo.DocType.DocType, dbo.Department.DepType , dbo.ApproveType.ApproveType AS ApproveID FROM dbo.DocumentInfo left …

Member Avatar for BMXDad
0
439
Member Avatar for akella2k9

Hi All, I am trying to create a web page with drag and drop funtionality in ASP.Net. This dynamic page should meet following requirements. [LIST] [*]The Web forms should be designed at runtime by the website user using asp.net server controls like Labels, Text Box, Button, Drop down etc. [/LIST] …

Member Avatar for vijayesh21
0
1K

The End.