Forum: ASP.NET 5 Days Ago |
| Replies: 2 Views: 305 your field's length in table is too short. |
Forum: ASP.NET 12 Days Ago |
| Replies: 3 Views: 356 <input id="TxtBDReffNo" type="text" runat="server" style="width: 140px; text-align: center" readonly="readOnly" value="5" /> |
Forum: ASP.NET 13 Days Ago |
| Replies: 2 Views: 265 ASP.NET table or HTML table?
this is for HTML table
<asp:HyperLink ID="HyperLink1" runat="server" onmouseover="document.getElementById('tbl').visible=true" >HyperLink</asp:HyperLink>
You... |
Forum: ASP.NET 13 Days Ago |
| Replies: 9 Views: 371 I'm using this code :
Dim SQLConn As String = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString |
Forum: ASP.NET 18 Days Ago |
| Replies: 2 Views: 308 dear all,
I created a web user control for date picker with VB.Net language.
To use that control, I dragged that file into my forms.
Now, I want to put it in ToolBox control...
Does anyone know... |
Forum: ASP.NET 22 Days Ago |
| Replies: 7 Views: 469 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 26 Days Ago |
| Replies: 7 Views: 469 hi..
If ListBox1.SelectedIndex < 0 Then
Exit Sub
End If |
Forum: ASP.NET 29 Days Ago |
| Replies: 6 Views: 688 something is like this :
Sub ActionSave()
Dim D As GridViewRow
Dim SQL As String = ""
Dim TrxID As String = ""
For Each D In GV.Rows
TrxID =... |
Forum: ASP.NET 29 Days Ago |
| Replies: 2 Views: 508 Like this :
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Index As Byte = 0
Dim Item As New ListItem
... |
Forum: ASP.NET 32 Days Ago |
| Replies: 2 Views: 512 |
Forum: ASP.NET 32 Days Ago |
| Replies: 2 Views: 512 Dear all,
before using AJAX.Net, when I wanted to find control in form,
I used this code
Dim SQL As String = "SELECT CurrencyID, CurrencyID FROM MasterCurrency ORDER BY CurrencyID"
Dim ctl As... |
Forum: ASP.NET Nov 17th, 2009 |
| Replies: 3 Views: 343 Protected Sub CmdPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmdPrint.Click
Dim S As String = "<SCRIPT>window.print();window.close();</SCRIPT>"
If Not... |
Forum: ASP.NET Nov 9th, 2009 |
| Replies: 2 Views: 327 why dont you try to manipulate the sql query
Select FirstName + ' ' + MiddleName + ' ' + LastName As [Name] From Student |
Forum: ASP.NET Oct 29th, 2009 |
| Replies: 5 Views: 389 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: 296 Using Stored Procedure
or
use my way, replace ' to ` :$
TextBox1.Text = Replace(TextBox1.Text,"'","`") |
Forum: ASP.NET Oct 12th, 2009 |
| Replies: 2 Views: 349 Try to check your fields table structure....Need to enlarge the columns width |
Forum: ASP.NET Oct 12th, 2009 |
| Replies: 2 Views: 405 For #1:
I think, you don't need anything to autosize it, because it's automatically autosize. Make Width property null or blank.
for #2:
In my way, I use ClassCSS property.
I created CSS file... |
Forum: ASP.NET Sep 30th, 2009 |
| Replies: 3 Views: 246 I think, fields on the form represent fields on table.....
If you insist to capture all fields from form, use temporary table or send sessions to crystal report by using formula, but use session... |
Forum: ASP.NET Sep 29th, 2009 |
| Replies: 3 Views: 246 try to use Crystal Report or Reporting Services |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 1 Views: 250 please see the bold-red text. Hope I can help you :) |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 1 Views: 378 Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Panel1.Width = 400
Panel1.Height = 400
End Sub |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 4 Views: 1,164 You need to use AJAX.Net for that I think. |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 1 Views: 325 Have you succeded to retreive tblCountry in DropDownList control? |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 4 Views: 1,164 If you have save the ID in session, you can directly use it
Dim SQL As String = "SELECT * FROM Trx WHERE ID = '" & Session("ID") & "'
but, just my suggestion, try to avoid using sessions. For... |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 3 Views: 484 It's happened to me also, then I changed the frameset file to .aspx |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 1 Views: 418 I hope I can help you :)
In ASPX form
<head runat="server">
<title>...</title>
<link rel="stylesheet" href="../../MyStyle.css" type="text/css" />
<meta name="DownloadOptions"... |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 3 Views: 260 maybe, you forget the red-bold one text.
thanks |
Forum: ASP.NET Aug 27th, 2009 |
| Replies: 4 Views: 232 how if like this :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If session("UserID").ToString.Trim = "" Then
... |
Forum: ASP.NET Jul 30th, 2009 |
| Replies: 1 Views: 443 Dear all,
I have a problem for my session state.
Previously, I used session state InProc, but because CPU usage was very high cause IIS sometimes restarts, so I changed it to SQLServer.
but... |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 4 Views: 338 You may use JavaScript function.
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script language="JavaScript">
function openWindow()
{
var w... |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 5 Views: 760 Hi, please adjust with your purpose.
I hope I can help you.
:)
Protected Sub CmdTD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmdTD.Click
... |
Forum: ASP.NET Jul 16th, 2009 |
| Replies: 1 Views: 451 Dear all friends,
I have Crystal Report file, just call RptCustomerMaster.rpt that displays Customer ID, Customer Name, Telp No, Email Address, Account Officer,
In my report, I want users to be... |
Forum: ASP.NET Jul 6th, 2009 |
| Replies: 2 Views: 259 :) just use the default setting from ASP.NET web.config. Because there is no "connection string" if you use default web config. |
Forum: ASP.NET Jul 2nd, 2009 |
| Replies: 0 Views: 545 Dear all,
I have a problem with AJAX.Net.
Now, all my program forms use Anthem.Net. But, Anthem.Net gets problem in IE7 (dropdownlist shrunks and Anthem.Net doesn't provide date picker).
So, I... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 2 Views: 757 Hi YellowDog,
I want to try to help you...hope this helpful
from parent page :
Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 5 Views: 549 Ehmm.....still could not solve my problem...
I don't get at where my mistake is :'( :( :-/ |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 5 Views: 549 I have changed it, but the error is still same.... |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 5 Views: 549 I got this source code from internet.
This source purpose is to call ASP.Net function or method from JavaScript.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default5.aspx.vb"... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 3 Views: 3,454 thanks...it works....
I made mistake in
ScriptManager.RegisterClientScriptBlock(Page, Me.GetType(), "s", "<SCRIPT>var w = 0, h = 0;if (document.all || document.layers) { w =... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 3 Views: 3,454 Dear all,
I used to use pure ASP.Net code like this :
Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim S As String
If... |