Problem with GridView in ASP.NET using VB.NET 2008
Hey, My problem is that when i try to insert a GridView in ASP.NET webpage it doesn't appear in the Browser. ...
Hey, My problem is that when i try to insert a GridView in ASP.NET webpage it doesn't appear in the Browser. ...
What are some of the most common mistakes you've seen made when handling exceptions? It seems like exception handling can be one of the hardest things to learn how to do "right" in .Net. Especially considering the currently #1 ranked answer to Common programming mistakes for .NET developers to avoid? is related to exception handling. ...
I have 2 classes, one is frmMain a windows form and the other is a class in vb.NET 2003. frmMain contains a start button which executes the monitor function in the other class. My question is, I am manually adding the event handlers -- when the events are executed how do I get them to excute on the "main thread". Because when the toolti...
is there a way to disable visual basic 10 language features in VS 2010. our Dev team has moved to Visual studio 2010, but we still have to keep backwards compatibility with Visual Studio 2008. is there a way to disable the new language features to avoid any issues. ...
How do I add my own todo and comments list to appear on Interfaces? I want it to pop up like IDisposable does: Public Class Foo : Implements IDisposable Private disposedValue As Boolean = False ''# To detect redundant calls ''# IDisposable Protected Overridable Sub Dispose(ByVal disposing As Boolean) If Not ...
Why might my GetRawData declared function return a correct value when called from my VB.NET application, but return zero when called from my ASP.NET page? The code is exactly the same except for class type difference (Form / Page) and calling event handler (Form1_Load, Page_Load). Note: In the actual code, #DLL# and #RAWDATAFILE# are b...
I want to show a dialog box or form immediately after my application loads. If I place a .showdialog in the main form load event the dialog shows before the application shows. I’m trying to give some user tips when they load my application. Thanks ...
I have two custom attributes defined like so: internal class SchemaAttribute : Attribute { internal SchemaAttribute(string schema) { Schema = schema; } internal string Schema { get; private set; } } internal class AttributeAttribute : Attribute { internal AttributeAttribute(string attribute) { Attribute...
In the past I've used a Singleton Pattern to load the connection string when the application starts via the global.asa file. I have a project now where each user has a unique connection string to the database. I would like to load this connection string once. The issue is that the singleton pattern will not work for me since each use...
Right now I'm using the following code in my markup: <asp:HiddenField ID="TheName" runat="server" Value=<%#Eval("SpeakerName")%> /> I would like to use: <asp:HiddenField ID="TheName" runat="server" Value=<%#Eval(0)%> /> I would like to be able to call it by index instead of explicitly by "SpeakerName". Is there a way to do this in ...
I am dealing with a situation that I need some help with here. I need to improve performance on functionality that records and updates UI with user selection info. What my code current does is 'This is called to update the Database each time the user 'makes a new selection on the UI Private Sub OnFilterChanged(String newReviewValueT...
How can i fetch the value 500 to a variable from the selected row? One solution would be to get the row position number and then the CustomerID position number. Can you please give a simple solution. SelectedItems means selected row and SubItems means the column values, so SelectedItem 0 and SubItem 0 would represent the value 500...
Ok this is the scenario... I have a table in Oracle that acts like a queue... A VB.net program reads the queue and calls a stored proc in SQL Server that processes and then inserts the message into another SQL Server table and then deletes the record from the oracle table. We use a DataReader to read the records from Oracle and then ca...
hi I need a component in .net which able me to partition a year to some part which is making by clicking at the beginning of the part and click again at the end of that. the shape below is a sample of my need but I create it by buttons and back-color of them for showing for you: I don't know the name of this component to search for th...
I would like to make notice of some wierd thing. I designed an entire package application using VB.Net in Visual Studio 2008. I changed the normal backgrounds to Black, to make a diffrerence. but the problem is i1mm getting changing back ground colors when i install it on other systems.which does have all supports required. What should ...
Hi, I am trying to move content in a pdf document using pdfSharp. We have a number of documents that are the same size i.e. 488x320mm, the content within these documents is always positioned relative to the top right of the document but varies in size i.e. 210x330mm, 240x350mm etc. What i need to do is 'find' the content block and move...
Is there a way to stop other subs from running while in a separate sub. for instance say your in the sub CreateNumber() and the subs are setup like CreateNumber() AddNumber() DeleteNumber() Is there a way to be in CreateNumber() and call a function to stop AddNumber from running after creaetNumber() is finished? i just want my pro...
int val = lstvRecordsCus.SelectedItems[0].SubItems[0]; The returned value is an int in a string datatype. I need the right hand side to return the value in int instead of string. I tried Convert.ToInt32, it didn't work. Any idea? All the values that comes from SelectedItems[0].SubItems[0] is of type int. ...
Is there an equivalent for the C# 4 'dynamic' keyword when using 'type safe VB.Net', i.e. with Option Strict On? ...
How would I go about making a simple IRC client with these things What I am using: Nickname TextBox Connect Button Message TextBox Send Message Button Refresh Button ListBox Restrictions: No commands at all just being able to send messages I am using a listbox for recieving messages ...