568 Posted Topics

Member Avatar for M.Waqas Aslam

hello ! i have query , in which i am concatinating different fields and making a simple string , the length of string is very large, i want to put line break in it , i dont know to do this , my string is now in this format. LotNo:12 …

Member Avatar for scudzilla
0
85
Member Avatar for M.Waqas Aslam

Hello ! i am working on a simple asp.net project , i have two forms , frmlogin.aspx and frmmain.aspx , i want to redirect my frmlogin.aspx when my session is expired. i already added global.asax. i used all these codes at the session end event of it , HttpContent.Current.Response.Redirect("frmlogin.aspx"); Server.Transfer("frmlogin.aspx"); …

Member Avatar for M.Waqas Aslam
0
124
Member Avatar for jezguitarist30

please do not post same question with different wordings , this is your third one i am watching right now , bad habbit .

Member Avatar for M.Waqas Aslam
-1
135
Member Avatar for jezguitarist30

please just check [Click Here](http://www.planet-source-code.com/) and search there you will find some demo projects about this. hope this link will provide you enough information to take your first step. i think you have to make your base of socket programming before doing something like this. Regards

Member Avatar for M.Waqas Aslam
0
369
Member Avatar for HibaPro

well if you have a form having diff controls , like datetime picker , picture box , textboxes and you want to populate them by using combo box. you have to bind all your controls with your datasource , like this . dim con as new sqlconnection("you connection string") con.open …

Member Avatar for poojavb
0
1K
Member Avatar for gahhon

well , you have to use the array list , for this purpose , here is what i tried at my end first i add a list box and a button on my form , i add 4 items a b c d manually in the list box , then …

Member Avatar for gahhon
0
182
Member Avatar for tracemic

there is another method to do this is use this code at the textbox textchange event dim con as new sqlconnection("connection string") dim dt as new datatable con.open() dim da as new sqldataadapter("select * from table1 where name like '" & textbox1.text & "%'",con) da.fill(dt) datagridview1.datasource = dt con.close hope …

Member Avatar for M.Waqas Aslam
0
177
Member Avatar for Reverend Jim
Member Avatar for zilonox

well i think it is much better that you allow your user to make changes in grid after that press save button to save all the changes , this will not put load on your db , but i think in your case you may use cellvaluechange event , to …

Member Avatar for zilonox
0
1K
Member Avatar for daydie
Member Avatar for tariqondego

this error comes when we try to insert the FK value which is not in it Parent table.

Member Avatar for tariqondego
0
179
Member Avatar for bazzer14

hello please see these links hope they will solve your prob [Click Here](http://code.google.com/p/geocoordconversion/) [Click Here](http://www.codeproject.com/Articles/15659/Longitude-Latitude-String-Parser-and-Formatter)

Member Avatar for bazzer14
0
397
Member Avatar for skran

well just set the format property to time and set showUpDown property true , :P if this answer solve your porb , please vote up . Regards

Member Avatar for poojavb
0
781
Member Avatar for ulasoc

you want to some to give you working code ? if yes :P then NO ONE will give you , please do some efforts before asking any thing :P Regards

Member Avatar for M.Waqas Aslam
0
67
Member Avatar for satti
Member Avatar for satti
0
137
Member Avatar for M.Waqas Aslam

hello ! may God bless all of us , well i am working on a project in which i need to create a simple desktop viewer , a user can view the screen of any computer in LAN network , how can i do this , as this is very …

Member Avatar for Reverend Jim
0
270
Member Avatar for Mike Bishop

when ever you find this type of error ,please type your query in management studio it will help you to find errors , Regards

Member Avatar for poojavb
0
97
Member Avatar for M.Waqas Aslam

hello ! i am using mssql server 2008 , i have a table with three fields , 1- ProdID 2-ProdName 3-ProdPic , now i want to show the all records of the table in the datagridview by using vb.net , how can i show my image field in datagridview , …

Member Avatar for poojavb
0
2K
Member Avatar for M.Waqas Aslam

hello all of you ! i am making a simple form which can create the text file from the database table , for this , i am using this code at the load event of my form so that it can create the files at the load time. IO.File.Create("C:\Customers.txt") IO.File.Create("C:\Towns.txt") …

Member Avatar for M.Waqas Aslam
0
211
Member Avatar for M.Waqas Aslam

hello ! this is my code , i am writing a text file form the datagrid, but this code is very slow , please check it out and give me some advice how i can make my code fast , If IO.File.Exists("C:\Customers.txt") = False Then IO.File.Create("C:\Customers.txt") End If Dim FILE_NAME …

Member Avatar for M.Waqas Aslam
0
192
Member Avatar for bantex07

well set the backgroud color property ----> transparent (in web tab). hope this will solve your prob. Regards

Member Avatar for M.Waqas Aslam
0
69
Member Avatar for wenbnet

well i think you have to set the anchor property of your form and controls so that when ever size of your form is changed the control will also set their locations. and you can also use flowlayoutpanel control it will also set the position of your form according to …

Member Avatar for poojavb
1
481
Member Avatar for M.Waqas Aslam

hello ! well i dont have any idea about the socket programming ,i am developing an lan chatting application , i want to add the file transfer functionality in it , now you are thinking that why not i share my folder over network , well i dont want to …

0
102
Member Avatar for M.Waqas Aslam

hello ! i love to use cell phone apps , but now i want to develop them , please guide me which is the best and easy sdk for android mobile applications , and from where i can start working on it. Regards

Member Avatar for peter_budo
0
189
Member Avatar for M.Waqas Aslam

hello ! i am working on a c# project , but i had done all this is vb before , now i have all the code in vb.net and i want to use it in c# project , someone told me that if i make dll of my vb modules …

Member Avatar for M.Waqas Aslam
0
200
Member Avatar for mie.ilani

as i understand is that you have 10 rows and you have a column name house and a optimum value now you just want to get the largest optimum value of any house ? if i m right then you can do like this. here is code if there is …

Member Avatar for mie.ilani
0
161
Member Avatar for M.Waqas Aslam

hello ! i am new in c# , i have images in my mssql table and i want to show those images in the datagridview , i add a column type image , but i am not able to show images in it , please help me in this . …

Member Avatar for Mitja Bonca
0
849
Member Avatar for Pricess

well , if you just want to show the value in textbox related to the selected value of the combo then you can do like this , dim con as new sqlconnection("your connection string ") con.open() dim da as new sqldataadapter("select val1 , val2 from table ",con) dim dt as …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for VB 2012

well you can first get the id or name of those frames , as i just worked once in a facebook scraper , so i dont have that much knowledge , but the basic idea is that you can use the get element by id , to get the any …

Member Avatar for VB 2012
-1
141
Member Avatar for M.Waqas Aslam

hello all ! may God Bless you all , basically i like to work in .net , but due my boss's requirement i have to work on ExtJs , in the bigging it was very difficult for me to switch my self from .net to JS , but i am …

Member Avatar for Dani
0
204
Member Avatar for salman_hundekar
Member Avatar for salman_hundekar
0
176
Member Avatar for garrettchap1

hello ! well there is not enough time to read your all code , it is better to always ask question to the point , as far as i understand you simply populate the grid from your database using vb.net , if yes then do like this . import system.data …

Member Avatar for poojavb
0
776
Member Avatar for renzlo

well , there is an idea to deal with this situation , is that , you can just add a column to your db , name isViewing datatype bit , now if user one get records it will not only get records to you but also update isViewing true , …

Member Avatar for renzlo
0
349
Member Avatar for poojavb

i think you can do like this, now here is sample you can do same with your close function , Public Function Open_DB_Connection(byval formName as string) As String Try Connection.ConnectionString = "Data Source = LocalHost\;Initial Catalog = Database;Integrated Security = True" Connection.Open() Return "Success" Catch ex As Exception MsgBox("your " …

Member Avatar for poojavb
0
255
Member Avatar for ashley24

i think there is nothing wrong with the query , as there is not that much time to read your full code , but i think you are using data table or data set , , the best way is to add row to your datagrid manualy using sqldatareader , …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for Beginner20

my advice to beginner20 is that please try to study first , then search some code samples , after knowing all the basic logics and working of components which will be used in your coding then start coding , this will save lot of time of yours , while coding …

Member Avatar for M.Waqas Aslam
0
150
Member Avatar for poojavb

i think first you have to set then format of your datetime picker so that it can only show the time then just simple bind it with your datasource. Regards

Member Avatar for poojavb
-1
1K
Member Avatar for M.Waqas Aslam

hello ! i am working on a simple grid , i create 3 columns name , A B C , manually , now i have a table having three fields A B C , i want to show Rec A in A col , B in B Col and C …

Member Avatar for hericles
0
110
Member Avatar for Mr_Man

i think the most simple way is this that when you make setup of your application to deploy it on your client machine , the window where you add all your files present in bin folder , and create shortcut at the desktop , there are two columns , you …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for M.Waqas Aslam

hello every one ! i want to make an application that can work like windows remorte desktop connection or teamviewer , but on local network , how can i do this , i even dont know where to start my work , please guide me , and help me if …

Member Avatar for Max_Trottier
0
168
Member Avatar for M.Waqas Aslam

hello every one , ! i have same prob as the user had in this thread [Click Here](http://www.daniweb.com/web-development/databases/ms-sql/threads/421214/remote-server-access) first i thought to post my question in that thread but then i thought it is better to open new thread . in above mentioned thread a user have prob to connect …

Member Avatar for JorgeM
0
167
Member Avatar for Iamateur

well , this is very simpele , you can do like this dim con as new sqlconnection("your connection string") con.open() dim da as new sqldataadapter("select columnName from table",con) dim dt as new datatable() da.fill(dt) combobox1.datasource = dt combobox1.displaymember = "columnName" combobox1.valuemember = "ColumnName" con.Close() hope this will help you. Best …

Member Avatar for Begginnerdev
0
131
Member Avatar for smitty68503

dim i as integer Dim conn As New SqlConnection("*******") conn.open() for i = 0 to DataGridView1.rows.count - 1 Dim query As String = "Insert Into orders(Itemname, Quantity, totalcost, barcode, ordernumber, orderdate, buyinprice, saleprice, vendorname, status, RepairNumber) values (@Itemname, @Quantity, @totalcost, @barcode, @ordernumber, @orderdate, @buyinprice, @saleprice, @vendorname, @status, @RepairNumber)" Dim cmd …

Member Avatar for smitty68503
0
185
Member Avatar for M.Waqas Aslam

hello! i am facing an error ("object refrence is not set to an instance of an object.") i check my all code but i can able to solve it . here is a line of code where i getting it. . . . cmd = new sqlcommand(_mycommand_) if (__mycondition) { …

Member Avatar for arunkumars
0
183
Member Avatar for prajot_03

i think you have to use a simple code which you used to populate your combobox what you have to do it to use a query with where clause and use that query to populate the combo call that query at your first combo where you select the brandy. you …

Member Avatar for artemix22
0
191
Member Avatar for cardin94

well , simple you have to change the query like this [CODE] Dim da As New OleDb.OleDbDataAdapter("Select DISTINCT firm from Employees where firm='"& combobox1.text &"'", con) [/CODE] use this , then your grid will only show the records of selected firm , now you have to use oledb connection in …

Member Avatar for cardin94
0
156
Member Avatar for jhedonghae

well first you have to select the reporting tool to make reports , like crystal reports , telerik reports , and also active x report etc , then google that how to make the specific reports , after this you will be able to make reports you want to create. …

Member Avatar for poojavb
0
160
Member Avatar for tashee2007

hello ! use this code for binding [CODE] cboOrganization.DataBindings.Add("SelectedValue", ds.Tables(bsTableName2, "OsID",true) [/CODE] This will work fine :) Regards

Member Avatar for robea
0
291
Member Avatar for agilocha

replace this TextBoxDataKode.Text = DGS4.Item(1, GridView.SelectedRows(0).Index).Value with this TextBoxDataKode.Text = DGS4.Item(1, DGS4.currentrow.Index).Value.tostring() Regards

Member Avatar for poojavb
0
199
Member Avatar for M.Waqas Aslam

hello! i am working on a client and server application , i want to connect my server with my client application to perform some database transactions.i think it is very simple to connect a client with the server , but here is the point , i have two pc , …

Member Avatar for pritaeas
0
177

The End.