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
~53.2K People Reached
Favorite Tags

163 Posted Topics

Member Avatar for babbu

[code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try MsgBox("Form Load") Catch ex As Exception MsgBox(ex.Message) End Try End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try Call Form1_Load(sender, e) Catch ex As Exception MsgBox(ex.Message) End Try End Sub …

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
171
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
71
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
78
Member Avatar for SolTec

Private Sub Command2_Click() Call clear End Sub Public Sub clear() Dim txt As Control For Each txt In Controls If TypeOf txt Is TextBox Then txt.Text = "" End If Next

Member Avatar for Pie46
0
9K
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
219
Member Avatar for dnk

On Form Load,I m adding items to the ListView. [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim f As System.Drawing.Font = New System.Drawing.Font("Arial", 12.0!, System.Drawing.FontStyle.Bold) Dim lvitem As ListViewItem lvitem = ListView2.Items.Add("1") lvitem.SubItems.Add("A", Color.Black, Color.White, f) lvitem.SubItems(1).Font = f lvitem.UseItemStyleForSubItems = False lvitem = …

Member Avatar for dnk
0
322
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
352
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
198
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
197
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
226
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
103
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
85
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
88
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
584
Member Avatar for jamesrobb
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
109
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
151
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
357
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
198
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
116
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
247
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
504
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
113
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
93
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
93
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
233
Member Avatar for mania_comp
Member Avatar for serkan sendur
0
262
Member Avatar for sonia sardana

I have dropdown & Gridview on FrmSatelliteMain,In dropdown DataValueField uid is there,Now i want that as the user selects the value in dropdown ,on basis of uid i will fetch the records fromm DB & bind to Gridview using AJAX. Plz frnds dont tell me dat,dat do it using AJAX …

0
65
Member Avatar for mohankumar554

[B]Hello sknake sir [/B] I didnt get ur code..Can u tell me is it necesarry or not to have handler.aspx ...to get the image from DB..See in mine code below-??? [B]hello mohan sir [/B], I m saving the multiple images & extracting the multiple images..may be this is lenthgy method,but …

Member Avatar for mohankumar554
0
439
Member Avatar for sonia sardana

I have made connection in web.config file,Its working ,I want to just confirmed dat Whether i m doing it in right way or not! Web.Config File- [code] <configuration> <appSettings/> <connectionStrings> <add name="Connection" connectionString="Data Source=(local);Initial catalog=sonia;User ID=sonia;Password=sonia;" providerName="System.Data.SqlClient"/> </connectionStrings> [/code] Code Behind Page [code] public partial class FrmPractise : System.Web.UI.Page { …

Member Avatar for sonia sardana
0
98
Member Avatar for sonia sardana

I have currently two forms in mine website..I m also posting their codes-- FrmRegistration.aspx [code] public partial class FrmRegistration : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { btnSubmit.Attributes.Add("onclick", "Javascript: return Validations() "); } protected void btnSubmit_Click(object …

Member Avatar for sonia sardana
0
306
Member Avatar for sonia sardana

hi i want to know that how to use sound like query in VB.net with access. EXAMPLE (SQL) - [code] create table names (name varchar(100)) insert into names values ('ritu') select * from names where soundex(name) =soundex('reetu') [/code] OUTPUT- [code] ritu [/code]

Member Avatar for dkmansion
0
766
Member Avatar for motters

hi frnd , can u plz explain ur question more clearly...or send me ur question on mine id <EMAIL SNIPPED>

Member Avatar for motters
0
235
Member Avatar for Batool.Ahmed

Just copy & run the code..But its in VB.net..U want this?? [code] Option Strict On Option Explicit On Option Compare Text 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 Dim tvw As TreeNode For lCount = 1 To …

Member Avatar for dnanetwork
0
92
Member Avatar for sonia sardana

I used the GridView1_RowDeleting Event to delete from the gridview . [code] use sonia select * from Info1 drop table Info1 create table Info1(UID integer,FirstName Varchar(100),LastName varchar(100),EMail varchar(100),Address varchar(100),PhoneNo varchar(100)) Insert into Info1 values(1,'Sonia','Sardana','a@yahoo.com','FBD','2222') Insert into Info1 values(2,'Shouvik','Choudhary','b@yahoo.com','KolKatta','9848484474743') Insert into Info1 values(3,'A','Ad','ds@yahoo.com','qqwD','9444212270') [/code] Suppose I delete record that has UID …

0
53
Member Avatar for sonia sardana

I bound the Gridview to the database,Now I want that in each row edit link is there,When i click on dat,then the data of data row comes to edit mode... SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" onrowediting="GridView1_RowEditing" AutoGenerateColumns="False"> <Columns> <asp:BoundField HeaderText="SNo" DataField ="UID" /> <asp:BoundField HeaderText="First Name" DataField ="FirstName" /> …

Member Avatar for anuj_sharma
0
238
Member Avatar for sonia sardana

Suppose I have two exes WindowsApplication1.exe WindowsApplication2.exe..On the form load of WindowsApplication2.exe,I m calling WindowsApplication1.exe & sending the command line arguements..I copy the WindowsApplication1.exe into the debug folder of WindowsApplication2.exe. WindowsApplication2.exe [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Process.Start(Application.StartupPath & "\" & "WindowsApplication1.exe", "one" …

Member Avatar for sknake
0
192
Member Avatar for sonia sardana

[code] function ConvertToUpperCase() { var result; var numaric = "sonia"; var Character = numaric.charAt(0); result=Character.toUpperCase(); //In Result char is coming in UpperCase /[B]/I want how to replace the charater at postion 0 in numaric with result[/B] } [/code]

Member Avatar for Airshow
0
233
Member Avatar for sonia sardana

Suppose I have webbrowser in mine form..Is it possoble to capture only the cookies create by mine webbrower..suppose before starting the project,in mine cookies folder there are cookies names cookie1 & cookie2....Suppose after the project run.cookies created by mine project are named cookie3 & cookie4...I want to delete cookie3 & …

0
48
Member Avatar for sonia sardana

hello frnds,I want to prevent the page from refreshing...I want that only some portion of page is refreshed..not full page,,Is it possible?? Which control i use for dat..I want just the hints..not the code...

Member Avatar for carobee
0
134
Member Avatar for vampke

Can u plz tell me which functinality u want to do using CTRL + A & on which control.....so dat i can help u further

Member Avatar for vampke
0
109
Member Avatar for sonia sardana

I want that when i check or uncheck the checkbox state,accordingly in label text is changed. If i check the checkbox,then in label text is checked else unchecked. [code] protected void Page_Load(object sender, EventArgs e) { CheckBox1.Attributes.Add("oncheckedchanged", "javascript: return CheckboxState"); } <script language ="javascript" type ="text/javascript"> function CheckboxState() { var …

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

I want to lock the folder.I have found the code,but its not helpful [url]http://www.codeproject.com/KB/files/Unique_Folder_Protection.aspx[/url] Suppose mine foldername is sonia ,In the codeProject code,he is renaming the folder to sonia.{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0} & password is set & that password is written to xml file in the folder sonia only...next time when we double …

Member Avatar for kvprajapati
0
92
Member Avatar for sonia sardana

hey frnds, I m creating the database at page load,I m able to do dat.I just want to do check that if the table is already existing,then do not create the table.below code create table- [code] using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; …

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

I m working on project in which i have to add tab & close tab as that of IE. I m able to do dat,but its not very much clean.Check it out.Plz see if somebody can help me to do it more better. [code] Public Class Form5 Public lSelectedTabPageIndex As …

Member Avatar for tedhead2
0
161
Member Avatar for sonia sardana

I drag Tabcontrol.& add two tab pages. I have contextmenu Strip, dat i bound to tabcontrol.I select the ContextMenuStrip & set it to ContextMenuStrip1 Now i right click on tab headers.Suppose i right click on tabpage1,contextmenu is displayed.I want that when i right click on tabpage..I want to get the …

Member Avatar for sonia sardana
0
3K

The End.