13,936 Topics

Member Avatar for
Member Avatar for GajananPund

Hello All, I want to send the email if there is any Exception in my asp.net site. Please help me. Thank in Advance.

Member Avatar for GajananPund
0
167
Member Avatar for nids_511

hi ... i've just received a client requirement stating that he wants to have an [B]offline capability for his asp.net application[/B] being run on tablet PC'S. The application consists of multiple forms being used for data entry. But due to Internet Connectivity not being there sometimes, they want to [B]cache …

0
119
Member Avatar for unknowndevil41

Currently using ASP.net 2005 I am havin an errot in update statement my code is: Dim myConnection As OleDbConnection Dim myCommand As OleDbCommand Dim ssql As String = "UPDATE passwrd SET password ='" + TextBox1.Text + "'where username='" + TextBox2.Text + "'" myConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; " _ & "Data …

Member Avatar for hielo
0
138
Member Avatar for virang_21

Hi, I worked on an application for 5 months and there are different levels of user access to the system like Administrator, Staff, Student etc. I used form based authentication and created different directory for each user type and then set role's access in web.config as follow : [CODE] <location …

0
63
Member Avatar for happyns

Im using asp.net using c#.net to retrieve a field from database. The field is xyz. It contains the data value say qwerty~rtyuup. I want to split the data right and left to ~ say(qwerty) and (rtyuup) using a string. For this i have used the code as follows: String abc(); …

Member Avatar for happyns
0
252
Member Avatar for jamello

Hello experts! Please how do I display markup text (in html) with a asp.net 3.0 server control? I have a database full of markup text inputted using a rich text control. but I will like to display these text using other asp.net controls that would render the text correctly with …

0
143
Member Avatar for Major_Hafez

Hey , Guys !! i'm making very simple ASPX Page to Upload Files ( Zip, PDF , Doc , ...etc ) in Specific Folder (~/MyFiles/) and i save File Path to SQL DB , File Description and File Name as well ... i got [B]GridView [/B]to retrieve data from SQL …

Member Avatar for Major_Hafez
0
73
Member Avatar for algo_man

Hi all, How can I allow a user to modify his added comment within 30 minutes. I mean by that, I'm allowing a user to pot a comment. This user may want to modify his comment. I, as administrator, need to allow this user to modify his comment if and …

Member Avatar for padtes
0
103
Member Avatar for RAMAN2233

Using ajax calendar can i write a program to know the number of working days in a given month...if yes how??? I should be able to show the number of working d ays in a text box..when i select a given month HELP IS APPRECIATED THANX IN ADVANCE

Member Avatar for dollarcolony
0
127
Member Avatar for Edmondo

Hi, sorry still learning how to do things in asp. Basically I have a form that I set up using the insert template in visual studio. where the code looks like this [CODE] <InsertItemTemplate> &nbsp;<table class="style15"> <tr> <td class="style18"> SitesAffected: </td> <td class="style16"> Description:</td> </tr> <tr> <td class="style19"> <asp:CheckBoxList ID="SitesCheckBoxList" …

Member Avatar for Oxiegen
0
87
Member Avatar for sonia sardana

hi frnds ,I started a new project in .Net 3.5 version.I add a New Ajax Web Form Default2.aspx. [code] using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class Default2 : System.Web.UI.Page { …

Member Avatar for reach_yousuf
0
227
Member Avatar for swethareddy

how can i add calender control in dropdownlist sir Could u send the solution for my query? pleasehelpme sir

Member Avatar for love_dude1984
0
97
Member Avatar for love_dude1984

hi.. im using a grid with a template field which contains a button.i just want to know how can i retrive a value from a 2nd cell of the same row... for ex. my grid contains 5 columns.the last col is a template field with a button. ther are say …

Member Avatar for love_dude1984
0
132
Member Avatar for kanuri1

hi frnds,, happy christmast to one and all, i had got one problem,,, i want to shift the numbers from one field to another field .at that time the data base fields are shifted and are to be updated......this will happened when button is pressed......... pls give me the code.......... …

-1
50
Member Avatar for mshravs

after trying all sorts, i wanted to try to run and take a pic from the webcam in this way, in the web page. here first i created a module for the webcam in windows application. After that there is a button in the web application, where on clicking it …

0
54
Member Avatar for Corpes

I want to insert a dynamic string to a textbox that placed in a gridview as itemtemplate. On the code in which im adding information to the gridview, i want to create a line that'll insert to the textbox a dinamic information, but even "9" doent work. see it: [CODE]. …

0
94
Member Avatar for algo_man

Hi all, I need to do somthing similar to the attached picture. I'm waiting your responses !! ALGO

0
56
Member Avatar for mahmud.riyadh

Any body please help me , how to use the Sql Statement "Select max(column.A) from TBL_table" using asp.net in C# platform and I also want the result(the maximum number ) to insert onto a text box.

Member Avatar for sknake
0
101
Member Avatar for adityap15

Hi, How can i use code of C with graphics of visual studio. The graphic should be of visual studio and i can write codes in C. How to do? Kindly help me.

Member Avatar for Ancient Dragon
0
75
Member Avatar for Corpes

I'm trying to insert values into dropdownlist that placed in datagridview - itemtemplate dynamically. I'v typed: [CODE]DropDownList dd=(DropDownList)gridViewRowVar.FindControl("techniciansDDL"); dd.Items.Add("ddd");[/CODE] and there's a problem: System.NullReferenceException was unhandled by user code, and something like: The reference to the object had not been classified to the event of the object. The error is …

Member Avatar for Corpes
1
70
Member Avatar for gsskkrish

Hi I have done the chat with all users. but i could not chat to selected users. Please help me., How to chat with selected user's in multi user chat. Regards S.Gopalakrishnan

0
80
Member Avatar for bharanidharanit

Hello, I am using GridViewand bounding values from 2 tables. tbl_login and tbl_register. In tbl_register Table the Field is UserName In tbl_login Table the Field is Active(yes/no field) I used this command to show the fields into the gridview. [CODE] SELECT tbl_createuser.UserName, tbl_createuser.Role, tbl_login.Active FROM (tbl_createuser INNER JOIN tbl_login ON …

0
64
Member Avatar for Corpes

Regards, I have a weird problem with a variable in asp.net + C#. Those lines work: [CODE=C#]DataTable customerDT = service.GetCustomerDT(1); dataRow["CustomerName"] = customerDT.Rows[0]["FullName"]; [/CODE] But those lines do not found anything even though the value of the variable is "1" too: [CODE]int customerID = int.Parse(gridViewRowVar.Cells[0].Text.ToString()); DataTable customerDT = service.GetCustomerDT(customerID); dataRow["CustomerName"] …

Member Avatar for Corpes
0
152
Member Avatar for plusplus

I want to use directoryinfo for a folder that's not within my website, it might be on the same server, but I'm not sure yet. How do I go about this? let's say I have this [B]dim dirinfo as new directoryinfo(folderpath)[/B] what would folderpath have to be? I tried giving …

0
69
Member Avatar for GajananPund

Hi All, I have asp.net website in which i want to pervent multiple login problem. Case 1. 1st user login 2nd user login using same login credential used by 1st user then 1st user should logout from website and 2nd user should login in the website. Please it's very urgent. …

0
56
Member Avatar for ultras1

Hello to all. I have application where users are able to login. I use database for users. I want to get real-time currently logged users.For example if there are 5 online users and one of them close web browser, at the same moment online users to be 4. If I …

Member Avatar for ultras1
0
93
Member Avatar for dcads

Hi there, I am trying to create a session based on a field from a datareader. the code I have so far is [CODE] string sqlStmt = "Select Member_Username, MemberID from Members where Member_Username='" + UserName.Text + "' and Member_Password='" + PassWord.Text + "'"; SqlConnection sqlConn = new SqlConnection("server=********;"); SqlCommand …

Member Avatar for dcads
0
116
Member Avatar for kanuri1

hi frnds,,,, here i want to access the data base and showing in the grid view without help of datasourse it will shows the error, the error is "The IListSource does not contain any data sources"" here my coding is as follows..... [CODE]Protected Sub Page_Load(ByVal sender As Object, ByVal e …

0
72
Member Avatar for mshravs

here below is the code for saving the form [CODE]Protected Sub save_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles save.Click Dim ConnStr As String Dim visitors_name, officer_to_visit, purpose, date_of_visit, time_in, time_out As String Dim serial_no, year, floor As String Dim photo As Byte ConnStr = ConfigurationManager.ConnectionStrings("gate").ConnectionString() Dim conn As …

0
66
Member Avatar for kanuri1

hi frnds, i had gota problem, i get the date in mm/dd/yyyy format only........... when iam accessing date from database in dd/mm/yyyy format itg gets error.. the error is as "Arithmetic overflow error converting expression to data type datetime." here my code is given below [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" …

Member Avatar for Oxiegen
0
283
Member Avatar for haansi

Thanks for your attention and time, I need your support please. I am doing site with div (table less layout) structures. I have a user control which is login box. There is a content page drived from master page. Requirment is to place login control in content page. Problem is …

0
42
Member Avatar for kanuri1

hi how to insert default year into the database here my coding is given below Dim connstr As String connstr = ConfigurationManager.ConnectionStrings("guest1").ConnectionString() Dim conn As New SqlConnection(connstr) Dim year As Integer conn.open() Dim insert As New SqlClient.SqlCommand("insert into guesthouse(year) values('" & year & "')", conn) insert.ExecuteNonQuery() conn.close() here iam using …

0
51
Member Avatar for kanuri1

hi frnds, when iam accessing the data from database in mm/dd/yyyy format and displaying in gridview it is possible to acesss,,,,,,,,,,but when iam accessing the data wsing date in dd/mm/yyyy format it doesn't show any data and gives error as "Arithmetic overflow error converting expression to data type datetime." but …

0
75
Member Avatar for shahid007041

Hello I have a scenario in which i have to allow user to enter time in 12 hours format.eg: 10:20 AM or 10:30 PM. If User Does'nt enter properly then it should raise a error client side. i think it can be done use regular expression validatior. Any idea please …

Member Avatar for vinay kumar rai
0
82
Member Avatar for kanuri1

hi frnds, when iam accessing the date ,,,it willshow both date and aswell as default time. iam only accessing the date,,,,, here my coding is given below........ [code] <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="SqlDataSource1" Style="z-index: 103; left: 288px; position: absolute; top: 256px" AutoGenerateColumns="False"> <RowStyle BackColor="White" ForeColor="#330099" /> …

Member Avatar for mail2saion
0
94
Member Avatar for virang_21

Hi, I have two master pages in my site. One for the general pages that users can view without logging in (Site1.Master) and one for the pages that user can view after logging in (Site2.Master). Now once the user is logged in and say access Search.aspx page which has Site2.Master …

Member Avatar for virang_21
0
73
Member Avatar for t0wel

Hello DaniWeb members! I am using wininet for communicating with HTTP protocol.Everything goes right expect one thing: Cookies. Problem is that all cookies are not saved.Some of them are but no all.For example ASP.NET session id cookie doesnt get saved when i visit page with wininet but i need its …

0
35
Member Avatar for rutaba

Hi.. How can i apply my master page to all other pages while working on ASP.net using Visual studio 2005? i create master page name master but when i create another page named default.aspx there is no option to add the master page to that page? kindly help me out.. …

Member Avatar for giahmed
0
101
Member Avatar for jtok

I am working in VS2008. I use vb.net and asp.net. MS SQL2005 as database server. Occasionally when two sets of data are inserted at nearly the same time, I find that one has "stomped" on the other, over-writing it's data. The inserts are done via a stored proc using SCOPE_IDENTITY() …

Member Avatar for Oxiegen
0
182
Member Avatar for rutaba

hi.. How can i add a database in my website using asp.net. its a student project and i hav to create an online flight reservation system. in which i am using SQL Database? Kindly tell me by some example that how can i add record using some form ? but …

Member Avatar for Seten
0
109
Member Avatar for algo_man

Hello, I'm using an asp.net [COLOR="Red"][B]Login control [/B][/COLOR]via visual studio 2008 and it is working fine locally. I tried to upload my project files to a web server and trying to login through login control I've been created. I'm facing the following problem: ---------------------------------------------- Server Error in '/test2' Application. -------------------------------------------------------------------------------- …

Member Avatar for Ramesh S
0
128
Member Avatar for kanuri1

hi frnds i had got a problem, i want to increase the serial number automatically when page is loaded and it will be inserted into the database...... pls reply me answer.... here i use vb.net coding.........

Member Avatar for Ezzaral
0
138
Member Avatar for kthaneer

Hi Pushkar Thanks a lot. The script manager works fine. I have a quick question, We have a java script function: [CODE] function openPickList() { var iMyWidth; var iMyHeight; iMyWidth = (screen.width - 350) / 2; iMyHeight = (screen.height - 200) / 2; //Open the window. var win = window.open("............. …

0
78
Member Avatar for wonder_gal

Hi, I have 2 drop down lists, in which the selection value of the 1st drop down list will determine the content of the second drop down list. Is that I need to use javascript function to achieve this? If yes, how should I code the javascript and how should …

Member Avatar for giahmed
0
241
Member Avatar for giahmed

Dear all, I am really stuck with inserting record into access database using ASP.net and C#, as in university I am only allowed to use access. I am trying to create new room reservation for meetings its not a hotel room, I have two time slots AM and PM and …

Member Avatar for giahmed
0
233
Member Avatar for hubertoe

Hi all, I'm currently stuck with a simple problem, which I cannot seem to get it to work for the past few days. I'm trying to get the CheckBox type from a ControlCollection and it is displayed within a Table However, it don't seem to work regardless of how I …

Member Avatar for Oxiegen
0
208
Member Avatar for gsskkrish

Hi I have a error When I run the application. This problem is created in memory leakage when processing continously at System.Windows.Media.Pen.set_EndLineCap(PenLineCap value) at System.Windows.Shapes.Shape.GetPen() at System.Windows.Shapes.Shape.OnRender(DrawingContext drawingContext) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize) at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize) at System.Windows.FrameworkElement.ArrangeCore(Rect …

0
45
Member Avatar for gsskkrish

Hi I have error when i run the application. application stopped when it is working properly. How to avoid this error ? System.Windows.Media.Imaging.BitmapSourceSafeMILHandle.ComputeEstimatedSize(IntPtr bitmapObject) at System.Windows.Media.Imaging.BitmapSourceSafeMILHandle.CalculateSize() at System.Windows.Media.Imaging.UnmanagedBitmapWrapper..ctor(BitmapSourceSafeMILHandle bitmapSource) at System.Windows.Media.Effects.BitmapEffect.GetOutput(SafeHandle unmanagedEffect, Int32 index, BitmapEffectRenderContext context) at System.Windows.Media.Effects.BitmapEffect.GetOutput(BitmapEffectInput input) at System.Windows.Media.Effects.BitmapEffectState.GetEffectOutput(Visual visual, RenderTargetBitmap& renderBitmap, Matrix worldTransform, Rect windowClip, Matrix& finalTransform) …

0
31
Member Avatar for Oxiegen

I'm not entirely sure if this thread belongs here, or in "JavaScript / DHTML / AJAX". Anyway. I have a bit of a problem here, hoping that a kind soul might be able to help. On one of the webpages for the site I'm developing I have a bunch of …

Member Avatar for Oxiegen
0
197
Member Avatar for mshravs

below is the code for running and capturing image from the webcam [CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Jpeg compression quality Dim nQuality As Short = 45 'Shout a picture from my webcam Dim cam As CAMSERVERLib.Camera = New CAMSERVERLib.CameraClass() Dim picture As …

Member Avatar for mshravs
0
124

The End.