Forum: ASP.NET 5 Days Ago |
| Replies: 7 Views: 320 If you don't use "exit sub", it will continue until "End Sub"
but, at least, you can give a message to the user
If ListBox1.SelectedIndex < 0 Then
LbMsg.Text = "No Record is... |
Forum: ASP.NET 9 Days Ago |
| Replies: 7 Views: 320 hi..
If ListBox1.SelectedIndex < 0 Then
Exit Sub
End If |
Forum: ASP.NET Oct 29th, 2009 |
| Replies: 5 Views: 359 Like this ?
Dim NoList As String()
Dim I As Byte
NoList = Split(TextBox1.Text.Trim, ",")
For I = 0 To NoList .Length - 1
Response.Write(" This is index " & CStr(i))
... |
Forum: ASP.NET Oct 23rd, 2009 |
| Replies: 1 Views: 292 Using Stored Procedure
or
use my way, replace ' to ` :$
TextBox1.Text = Replace(TextBox1.Text,"'","`") |
Forum: ASP.NET Mar 17th, 2009 |
| Replies: 3 Views: 614 Hi NewMeg,
You have to initialize your gridview datasource when form loads for the first time, it not, GridView will catch datasource from default sql datasource
Have you tried to rebind your... |
Forum: ASP.NET Dec 9th, 2008 |
| Replies: 3 Views: 580 Maybe your problem is in your SQL Query..:icon_question: ... |
Forum: ASP.NET Dec 9th, 2008 |
| Replies: 5 Views: 562 Did you also copy the ASPX form ?
If you copied it, don't forget to rename its inherit, because still refers to the source file.
Thanks. |
Forum: ASP.NET Oct 13th, 2008 |
| Replies: 1 Views: 1,644 Dear Mr. Robins,
I try to help you. In my method :
1. Add aspx form as Report form, ex : RptMaster.aspx
2. In RptMaster.aspx, add CrystalReportViewer and CrystalReportSource
... |
Forum: ASP.NET Oct 6th, 2008 |
| Replies: 4 Views: 806 Hi wsee,
In VB,
m is for minute
M is for month
MM => 09
M => 9
so you have to change your DataFormatString to DataFormatString="{0:MM/dd/yyyy}" |
Forum: ASP.NET Aug 1st, 2008 |
| Replies: 1 Views: 3,513 <asp:TemplateField HeaderText="Read">
<HeaderTemplate>
<asp:Label runat="server" Text="Read"></asp:Label>
</HeaderTemplate>
... |
Forum: ASP.NET Jul 18th, 2008 |
| Replies: 5 Views: 7,308 As far as I know, MsgBox is located in System.Windows namespace, but ASP.Net is located in System.Web namespace. So the environment is different.
But, If you could run it, please show to me how to... |
Forum: ASP.NET Jul 17th, 2008 |
| Replies: 5 Views: 7,308 CMIIW : It's only work in Microsoft Visual Studio Designer, not in IIS.
I searched in Google how to create Msgbox and I found it.
Public Sub UserMsgBox(ByVal F As Object, ByVal sMsg As... |
Forum: ASP.NET Jul 11th, 2008 |
| Replies: 2 Views: 2,566 Hi Nithya. G,
I use EssentialObject menu control to create dynamic menu.
Sub CreateMenu()
Dim MI As EO.Web.MenuItem
Dim MII As EO.Web.MenuItem
Dim MIII As... |
Forum: ASP.NET Jul 11th, 2008 |
| Replies: 2 Views: 5,461 Hi,
You forget to set this function :
"HtmlEncode= false"
<asp:BoundField dataField="TransactionDate" HeaderText="Trans. Date" SortExpression="TransactionDate"... |
Forum: ASP.NET Dec 6th, 2007 |
| Replies: 2 Views: 2,460 Please try this one.
<script language="javascript">
var p=window.createPopup();
var pbody=p.document.body;
function show_popup()
{
... |
Forum: ASP.NET Nov 6th, 2007 |
| Replies: 9 Views: 3,896 My code is same as SheSaidImaPregy's link.
I use Anthem control, but you don't use Anthem, you could change it to ASP.Net control
<form runat="server' id="form1">
<table border="2"... |
Forum: ASP.NET Nov 5th, 2007 |
| Replies: 9 Views: 3,896 I created tab by combining Multiview and View |