Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~12.7K People Reached
Favorite Tags

61 Posted Topics

Member Avatar for MichaelWClark

I'm trying to script a deep freeze thaw with deep freeze 6. I have 400+ computers to thaw then remove deepfreeze from, I DO NOT want to do this manually! I use the DFC.exe that is on the system and use the dfc OUR_PASSWORD /BOOTTHAWED It will always result in …

Member Avatar for Southerner
0
2K
Member Avatar for MichaelWClark

I am trying to create a Gridview that allows me to add to a database. I think I have the Gridview formatted correctly and I do not want to use the <emptydatarowstyle>. I have been playing around with different solutions to displaying a header and footer in a gridview with …

Member Avatar for akpaga
0
507
Member Avatar for MichaelWClark

Hello I am building a web page and decided that this time around I would make many user web controls as to have a very modular and customizable site with ease.. Anyways it was going off without a hitch until today I designed a new control. Its a panel with …

Member Avatar for crishjeny
0
84
Member Avatar for Jesi523

[QUOTE=Jesi523;1288772]I tried a version of you code: [CODE] string sqlString = "Select passcode from Events where passcode = " + passcode + "and eventAuid = " + eventAuid; [/CODE] I know you are trying this for your first time but be aware that this query is a security flaw. You …

Member Avatar for crishjeny
0
127
Member Avatar for MichaelWClark

I have 3 dropdown lists, catagory, name, model. Select catagory to enable name and model. select a name or a model and the coresponding name/model will autofill in the other dropdown based upon results of executeScalar. If i have the catagory "Cellular" it works fine with ALL my products. If …

Member Avatar for crishjeny
0
149
Member Avatar for abhi1625

In my query's i do UPDATE X SET Y = '"+ blah.text + "',Z='" + bzla.text...... hope that helps a bit... more code would help me see better.

Member Avatar for crishjeny
0
109
Member Avatar for MichaelWClark

Hello. I have been developing on this project for the last month and this particular function is used MANY MANY times throughout the project and I have had 0 problems with it to date. I added a new panel and all of a sudden some of my core feautres started …

Member Avatar for crishjeny
0
109
Member Avatar for MichaelWClark

I have an inventory database that I designed about a year ago now. It has preformed great for me but I am getting ready to develop version 2 of the front end. This has got me thinking about possible database redesigns too and I am a bit confused about what …

Member Avatar for pritaeas
0
98
Member Avatar for MichaelWClark

Here are the 2 procedures in question and the code that I use to call it. I will follow it all up with the error that is being produced. [code] set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER Procedure [dbo].[usp_GetPropertyData]( @page int, @page_len int, @sortfield varchar(100), @desc bit ) as …

Member Avatar for shoestring
0
217
Member Avatar for MichaelWClark

I have a stored procedure that I am using through LINQ to SQL as a data source for a gridview. Rather than editing my stored procedure is there a way to use Linq to search the result set? [code] Dim DC As New DistributionDataContext GridView1.DataSource = (DC.usp_GetInvestorData(GridView1.PageIndex, GridView1.PageSize, "InvestorName", Session("sort"))) …

0
91
Member Avatar for queryme

<asp:Panel ID="scroll" runat="server" Height="650px" Width="100%" ScrollBars="Vertical"> .... .... </asp:panel>

Member Avatar for MichaelWClark
0
92
Member Avatar for glennt

Have you verified your running the proper version of .net on both sides? IN IIS Manager: Websites >> your website right click > properties >asp.net IN VS2010, right click project > properties> .. .

Member Avatar for MichaelWClark
-1
115
Member Avatar for vinayak.v
Member Avatar for sakurayana

yes show us some code and we will be able to help you a bit more. How are you pulling the data from the database?

Member Avatar for kumar169
0
127
Member Avatar for sundarchum

First could you tell us why you want to disable closing a popup? seems like this could be rather intrusive...

Member Avatar for MichaelWClark
0
155
Member Avatar for sahanaC

Javascript is easier for this i think. <script language="javascript" type="text/javascript"> function playSound(soundfile) { document.getElementById("dummy").innerHTML= "<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />"; } </script> <a href="#" onclick="playSound('URL to soundfile');">Click here to hear a sound</a> <p onmouseover="playSound('URL to soundfile');">Mouse over this text to hear a sound</p>

Member Avatar for MichaelWClark
0
800
Member Avatar for MichaelWClark

I created a stored procedure to handle paging and sorting. Linked a LinqToSql to it and bound my gridview from that. I use my Gridview.PageSize to determine how many results to pull from the table through my stored procedure. The issue is because of this a pager never gets created. …

Member Avatar for MichaelWClark
0
368
Member Avatar for MichaelWClark

I am trying to bind my gridview to a stored procedure via Linq to SQL but keep getting 'Data source is an invalid type. It must be either an IListSource, IEnumerable, or IDataSource.' I know I am supposed to convert the stored Proc .ToList, but this method is not available …

Member Avatar for MichaelWClark
0
139
Member Avatar for MichaelWClark

We are beginning the design phase for a new training database at my company. We utilize exchange/outlook shared calenders for several things and today the idea of integrating the new training database with one came up. I have done a bit of searching around but really haven't found much info …

0
72
Member Avatar for ranu jain

I think this may be the wrong forum section for this question...I may be mistaken though.

Member Avatar for MichaelWClark
0
71
Member Avatar for newsguy

I always try to keep secure coding practices in mind. I will use Stored procedures, input validation and sanitation and always re-authenticate on page load if I am utilizing session, application, or cookies. I do this all coming from a web-hacker/ security upbringing so I am a bit more conciseness …

Member Avatar for ashumiloff
2
612
Member Avatar for vinc_1418

CSV? Why are you using this format? You could save a lot of trouble by using a simple database converted from your csv?

Member Avatar for MichaelWClark
0
81
Member Avatar for sbglobal

This would be more suited for silverlight I believe. I have little experience with this technology yet but from what I do know it will be easier for you than just raw C#. Check this out and maybe try some research on silverlight audio players. [url]http://www.csharpcity.com/silverlight-audio-player/[/url]

Member Avatar for MichaelWClark
0
182
Member Avatar for codedude

I use CSS to force certain formats in my inputs...maybe that would work for you. Would have to see some code to know for sure though.

Member Avatar for MichaelWClark
0
71
Member Avatar for ranu jain

Set your DataKeyNames to your UserID then try code similar to this : "EnableSelect=False" [code] Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then e.Row.Attributes("onmouseover") = "this.style.cursor='hand';" e.Row.Attributes("onmouseout") = "this.style.textdecoration='none';" e.Row.Attributes("onclick") = Page.ClientScript.GetPostBackClientHyperlink(Me.GridView1, "Select$" + e.Row.RowIndex.ToString) End If end sub Protected Sub …

Member Avatar for ranu jain
0
97
Member Avatar for Sinha's
Member Avatar for radhika tyagi

rephrase this question and you may get a better answer: google onMouseOver , Hover button1.visible= "true"

Member Avatar for radhika tyagi
0
93
Member Avatar for ryan.devine

Very do able. This is what ASP.Net is all about :). Start your research into Gridview, Listview, and repeater controls. Look into AccessDataSource as well to SELECT, UPDATE, and INSERT your information from your database. For the reporting functions I really love Crystal Reports for information reporting from a database, …

Member Avatar for MichaelWClark
0
102
Member Avatar for ihatestarch

Okay Asp.net is perfect for this exact thing. You will probibly want to use a Gridview and a SQLDataSource to preform this. What I do for my sqldatasource when I need to add basic search functionality is manually edit the select command and add a select parameter: ex: [code] <asp:SqlDataSource …

Member Avatar for MichaelWClark
0
146
Member Avatar for dirkjan75

[code] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then gridview1.databind() End If End Sub [/code] try this. I was having issues with my masterpage the other day because of not rebinding the control. Let me know how that works for you.

Member Avatar for dirkjan75
0
277
Member Avatar for mldardy

your problem is your not selecting the POPULATION_LIST_ID in your SELECT Statment :: SelectCommand="SELECT DISTINCT LAST_NAME,POPULATION_LIST_ID FROM CHP_POPULATION_LIST" You should be fine after this, remove your <select parameters> too as you don't need them here.

Member Avatar for MichaelWClark
0
134
Member Avatar for romkas

okay...I dont understand the question first off. Secondly. Read about LINQ to SQL..its amazing, I used to do the same thing you are here...never again! Third. Insert does just that INSERTS a row of data (already populated). If you INSERT a blank row you will then need to UPDATE it …

Member Avatar for MichaelWClark
0
138
Member Avatar for rakeshgiri123

It seems a bit redundant to create 5000 files when you have a perfectly capable programming language at your finger tips.... User.aspx?Name=John Doe Set SQL Datasource with a QueryParameter to select the information...? If the purpose of the 5000+ files is to see something like [url]www.yourco.com/johndoe.aspx[/url] then maybe look into …

Member Avatar for MichaelWClark
0
77
Member Avatar for MichaelWClark

I have a master page with an update panel wrapping up the content template. In one of my pages I have a grid view that is residing in a Div that utilizes the overflow method to produce scroll bars. I need to be able to retain the scroll position through …

Member Avatar for MichaelWClark
0
587
Member Avatar for MichaelWClark

I recently discovered the power of Linq To SQL and decided to implement it into a control that I am working on right now. So far it is making life much easier but I have ran into a small stumbling block here and need the experts assistance. I have a …

Member Avatar for MichaelWClark
0
120
Member Avatar for MichaelWClark

If i use a standard web form with no master page the following code works fine, when I add it to my master page it will not fire the events. Please advise. Markup: [code] <asp:GridView ID="gvHR" CssClass="gridview" runat="server" AllowPaging="True" EnableViewState="true" DataKeyNames="HRID" AutoGenerateColumns="False" DataSourceID="ldsHR" > <Columns> <asp:BoundField DataField="FirstName" HeaderText="FirstName" ReadOnly="True" SortExpression="FirstName" …

Member Avatar for MichaelWClark
0
153
Member Avatar for RunTimeError

under your <configSections> in web.conf [code] <connectionStrings> <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/> <add name="MasterSQLConnectionString" connectionString="Data Source=DALSQL1\GMC;Initial Catalog=MasterSQL;Persist Security Info=True;User ID=unasdf;Password=xxxx" providerName="System.Data.SqlClient"/> </connectionStrings> [/code]

Member Avatar for MichaelWClark
0
486
Member Avatar for MichaelWClark

Okay My trial is running out on my VS2010 Pro in 22 days. I started shopping around and was in shock at the price of this software! It looks like the best I can do on VS 2010 w/MSDN (can't find one without) is $724. OUCH! I started looking more …

Member Avatar for Ezzaral
0
80
Member Avatar for isfahan

100Mb Isn't ridiculously huge in terms of ASP.NET usage, but if this is a concern foro you try going to C:\Windows\Microsoft.NEt\Framework\vX.X.X\Config\Machine.config (default location) then look for MemoryLimit="60". You can change this number and it represents % of system Memory that ASP will use. Also it is important to note that …

Member Avatar for MichaelWClark
0
331
Member Avatar for SBA-CDeCinko

I know you have existing code so I do not know if this suggestion will provide a ton of help, but this is how I structure my search functions in a project. I will take a custom user control with a simple search box and button then add to it …

Member Avatar for MichaelWClark
0
109
Member Avatar for ajwposh

You can add check boxes, or any control to grid view, or list view. You just need to use Template fields for creating the custom controls. For some of my code I like to use a repeater for adding a bit more control and formatting ease, but all of them …

Member Avatar for MichaelWClark
0
126
Member Avatar for subhankar02dey

I havn't used a listbox but I use gridview and detailsview frequently. When I wish to change the formatting of a particular type of field I will add a hidden field then check values in the code behind. Here is a brief ex. <asp:GridView ID="GridView1" DataKeyNames="PROPERTY_NAME" BorderColor="#1E1E1E" runat="server" AllowPaging="True" AllowSorting="True" …

Member Avatar for MichaelWClark
0
142
Member Avatar for MichaelWClark

I am using a details view and sqldatasource to update information in my database. I keep getting this "Incorrect syntax near 'nvarchar'." Error and from what I have researched this is because there are spaces in my table field names and the table name. Here is some code: [code] <asp:SqlDataSource …

Member Avatar for MichaelWClark
0
1K
Member Avatar for ranu jain

I utilize the functionality provided by the toolkit in just about every application that I develop in ASP.net. I highly recommend it is very easy to learn and enhances your users experience greatly.

Member Avatar for MichaelWClark
0
94
Member Avatar for bhaumik1987

AJAX toolkit provides a nice Popout calander that will 'popout' on focus, if you tab into a textbox it gains focus thus activating the popout. [url]http://www.asp.net/ajax/ajaxcontroltoolkit/samples/calendar/calendar.aspx[/url] [url]http://mattberseth.com/blog/2007/10/theming_the_ajaxcontroltoolkit.html[/url]

Member Avatar for MichaelWClark
0
78
Member Avatar for MichaelWClark

I have written the following Stored Procedure: [code] USE [BHPropertyInfo] GO /****** Object: StoredProcedure [dbo].[usp_UnitAvgByRM] Script Date: 08/26/2010 16:47:21 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= ALTER PROCEDURE [dbo].[usp_UnitAvgByRM] -- Add the parameters …

Member Avatar for MeSampath
0
127
Member Avatar for MichaelWClark

I have recently developed a pretty comprehensive Inventory application for my company. Today I loaded up SQL Server Profiler for the first time and started to play around in the application to see what and how many queries are really being ran. One section of my application utilizes a gridview …

Member Avatar for Lusiphur
0
80
Member Avatar for MichaelWClark

I have a reporting page I am working on and I need to get this gridview exported to CSV. I have gotten everything setup properly but now when I export it the key collumn data is empty while all others are there. No where in the code do I mess …

Member Avatar for MichaelWClark
0
90
Member Avatar for Emiliya

There are many ways you can do this. In your OnClick even you could dump the results into a session,application, or viewstate variable. You could utilize Page.PreviousPage and find the controls status using a function similar to this: [code] Public Function GetControlById(ByVal ParentCntrl As Control, ByVal TargetCntrl As String) As …

Member Avatar for Emiliya
0
128
Member Avatar for Pacman21

The first thing that poped into my head was using something like this: [url]http://code.google.com/apis/spreadsheets/[/url]

Member Avatar for MichaelWClark
0
87

The End.