Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
28% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
3
Downvotes Received
10
Posts with Downvotes
10
Downvoting Members
7
5 Commented Posts
0 Endorsements
Ranked #1K
~51.6K People Reached
Member Avatar for babbu

i want to call the load event of the form inside the click event of the commant button depending upon certain condition how can i do this?

Member Avatar for Nahla_1
0
2K
Member Avatar for sonia sardana

ParamArray means to allow a subrotine to take a variable no. of arguments. I m just sending the arguments suppose i send 1,2,3,4,5 I want just the addition of these numbers. Sub main() Dim i As Integer i = Console.ReadLine() average(i) Console.ReadLine() End Sub Sub average(ByVal ParamArray b() As Integer) …

Member Avatar for Reverend Jim
0
2K
Member Avatar for sonia sardana

hey I faced the interview Question - Name Textbox EMail Textbox Mobile Textbox Button-ADD First he told me to add the three textboxes values into the listbox. Its simple--I have done it. Listbox1.items.add(me.textbox1.text & " " & me.textbox2.text & " " & me.textbox3.text) Then he told me that draw one …

Member Avatar for Reverend Jim
0
1K
Member Avatar for sonia sardana

***My tnsNames.Ora File -*** XE = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Sonia-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) …

Member Avatar for lolafuertes
0
168
Member Avatar for sonia sardana

I have installed the Oracle 10g at the following location : - ***C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN*** But I was trying to ping Oracle Client from Command Prompt. See Below : - c:\Oracle>tnsping SONIA **ERROR IS COMING no listener** MINE tnsnames.ora File : - # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\client_1\network\admin\tnsnames.ora # Generated by Oracle …

0
70
Member Avatar for sonia sardana

I want to convert the following SP to SQL, but I am not able to do ::- ORACLE SP create or replace PROCEDURE "USP_TEST" ( p_CURPRODUCTTYPE out sys_refcursor, p_PROD_ID IN TBL_PROD_MASTER.PROD_ID%TYPE :=NULL ) is begin open p_CURPRODUCTTYPE for SELECT PROD_ID, PROD_CODE, PROD_NAME, PRIMARY_UOM, SECONDARY_UOM FROM TBL_PROD_MASTER WHERE TBL_PROD_MASTER.PROD_ID =NVL(p_PROD_ID,TBL_PROD_MASTER.PROD_ID) ORDER …

0
77
Member Avatar for SolTec

Is there a way by naming convention say for example to clear all textboxes with a "txt" name prefix in a form that has multiple textboxes? Or, am I going to have to name each textbox individually and use either "" or string.empty? Thank you in advance for any and …

Member Avatar for Pie46
0
8K
Member Avatar for sonia sardana

I have added three images to ImageList..I want to show tooltip....On listview item... [code] Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ListView1.View = View.LargeIcon ListView1.LargeImageList = ImageList1 For lcount As Integer = 1 To 3 ListView1.Items.Add(lcount.ToString, lcount - 1) Next End Sub …

Member Avatar for scstetro
0
2K
Member Avatar for sonia sardana

I want to after clicking on button2,after that if i click on button1 then msg is not displayed [code] Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox("sonia") End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click RemoveHandler …

Member Avatar for hscoder
0
215
Member Avatar for dnk

Hi All.. I want to get selected item on listview. Does any one know how to solve this??? I'm using vb.net 2003

Member Avatar for dnk
0
311
Member Avatar for sonia sardana

Hey frnds plz reply of mine questions.I want to just confirm my answers.Plz reply it by today only if poss.bz tom is my another interview [B]1)[/B] How to Delete Dynamically Allocated Array? a) delete a[] b)delete a[0] c) delete[] a d)delete [0] a [B]My answer a.Correct or not[/B] [B]2)[/B]Can we …

Member Avatar for questpond
0
346
Member Avatar for sonia sardana

Can somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net on Button Click. Any help is greatly appreciated.

Member Avatar for pritesh2010
0
194
Member Avatar for sonia sardana

Below code is opening Folder Browser dialog on button click, I want that if mine PC is in network..In Folder Browser Dialog even the network drives are coming,I want that Network Places do not come in treeview.Is it possible?? [code] Option Strict On Option Explicit On Option Compare Text Public …

Member Avatar for ghimangi
0
173
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
225
Member Avatar for sonia sardana

[code] <connectionStrings> <add name="ConnectionString" connectionString="Data Source=(local);Initial catalog=sonia;User ID=sonia;Password=sonia;" providerName="System.Data.SqlClient"/> </connectionStrings> [/code] [code] public partial class Frmgrid : System.Web.UI.Page { SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlDataAdapter da; DataSet ds; protected void Page_Load(object sender, EventArgs e) { try { da = new SqlDataAdapter("SELECT * FROM Products", conn); da.Fill(ds, "tb1"); DropDownList1.DataSource = ds.Tables["tb1"]; …

Member Avatar for guru_sarkar
-1
101
Member Avatar for sonia sardana

[code] protected void btnLogin_Click(object sender, EventArgs e) { try { SqlConnection conn = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlCommand cmd = new SqlCommand("SELECT * FROM UserLogin", conn); conn.Open(); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { if (txtUserName.Text == dr[0].ToString()) { if (txtPassword.Text == dr[1].ToString()) { Response.Redirect("FrmLogin.aspx"); } else { lblError.Text = "UserName & …

0
83
Member Avatar for sonia sardana

Hey frnds tell me to see ASP.net site video tutorials,is it necessary that msdn sites will open up. Because msdn sites will not open up in my computer. Or by installing silver light,i can watch tutorials. Plaese give me the links to download silverlight.

Member Avatar for pritaeas
0
86
Member Avatar for sonia sardana

Creating a Class Library -------------------------------------------------------------------------------- 1) Choose File NewProject 2) Select ClassLibrary from the project templetes. 3) Suppose I rename it to ClassLibrary. 4) Add Code inside the block code. I write Public Class assembly Public Function add(ByVal x As Integer, ByVal y As Integer) Return x + y End …

Member Avatar for henry032
-1
554
Member Avatar for jamesrobb

Hi, Can anyone explain why my code enters a loop when the length of a file is zero. I would expect that the loop below would not be entered if strFile.Length is zero. strFile = strSubCommittees.Split("|") For i = 0 To strFile.Length - 1 Next i Thanks.

Member Avatar for jamesrobb
0
108
Member Avatar for sonia sardana

[code] public partial class FrmOnline : System.Web.UI.Page { string Query; SqlCommand cmd; SqlConnection conn; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { OpenSQLConnection(); SqlCommand cmd = new SqlCommand("select * from Info1 where UID=1", conn); SqlDataReader dr; dr = cmd.ExecuteReader(); while (dr.Read()) { dr.Read(); TextBox1.Text = dr[0].ToString(); } } …

Member Avatar for shenulal
0
106
Member Avatar for sonia sardana

I want to develop a project in ASP.Net. Can somebody will send me the project descriptions plz its very urgent.

Member Avatar for ithelp
-1
148
Member Avatar for sonia sardana

As u all know,at runtime we can move the form. I use the foll. code,so dat form doesn't move.I want to ask dat is there any easy way to do it. Mine code below working correctly,but lengthy- [code] Option Compare Text Option Strict On Option Explicit On Public Class Form1 …

Member Avatar for yorro
-1
353
Member Avatar for sonia sardana

I was asked Suppose there is table A in DB,Suppose when we update that table,whose are two tables(Magic tables) that are updated other than table A?

Member Avatar for baki100
0
197
Member Avatar for sonia sardana

I want to change the value & its backcolor of cell. On Button1_Click,I m adding records to the Gridview. On Button3_Click,I want to chnage the value of cell & its backcolor. Suppose two Rows & two columns are there in Grdiview 1 10 2 20 Suppose I want to change …

Member Avatar for sonia sardana
0
114
Member Avatar for sonia sardana

I was asked Suppose there is table A in DB,Suppose when we update that table,whose are two tables(Magic tables) that are updated other than table A?

Member Avatar for sonia sardana
0
242
Member Avatar for sonia sardana

SOURCE CODE [code] <asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table border="1" width="100%"> <tr bgcolor=Gray> <th>ProductId</th> <th>ProductName</th> <th>Description</th> <th>Weight</th> <th>isInStock</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td width ="10%" height ="50%"><%# DataBinder.Eval(Container.DataItem,"ProdID") %></td> <td width ="10%" height ="50%"><asp:HyperLink id="hlEdit" runat="server" NavigateUrl="Frmuser.aspx" Text='<%# DataBinder.Eval(Container.DataItem, "ProdName") %>'></asp:HyperLink></td> <td width ="10%" height ="50%" ><%# DataBinder.Eval(Container.DataItem,"Descr") %></td> <td width …

Member Avatar for sonia sardana
0
501
Member Avatar for sonia sardana

WEB.CONFIG FIlE [code] <?xml version="1.0"?> <configuration> <appSettings/> <connectionStrings/> <system.web> <authentication mode ="Forms"> <forms loginUrl="FrmLogin.aspx" protection="All" > <credentials passwordFormat="Clear"> <user name="sonia" password="citm123"/> <user name="soni" password="citm123" /> <user name="muru" password="citm1234"/> </credentials> </forms> </authentication> <authorization> <allow users="sonia"/> <allow users ="soni"/> <deny users="muru"/> </authorization> <compilation debug="true"/> </system.web> </configuration> [/code] FRMLOGIN.aspx [code] protected void btnLogin_Click(object …

Member Avatar for Ramesh S
0
110
Member Avatar for sonia sardana

Can somebody give me the idea of Light WIndow in ASP.Net? When i click on butoon,form appears & the current form becomes Gray.How to do dat!Can somebody tell me!

Member Avatar for hericles
0
91
Member Avatar for sonia sardana

I want to develop a login page ,i want that admin username & password to be saved in asp file suppose FrmLoginDetails.asp. Username - sonia Password - citm123 When the user logins,i want that his entered usernme & password to be compared with the that are stored in file FrmLoginDetails.asp.. …

Member Avatar for sedgey
0
90
Member Avatar for sonia sardana

I want to convert VB.Net to C# code VB.NET- [code] Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try Dim lCount As Integer For lCount = 1 To 5 ListView1.Items.Add(lCount.ToString) Next Catch ex As Exception MsgBox(ex.Message) End Try End Sub Private Sub Button1_Click(ByVal …

Member Avatar for DdoubleD
0
226