Search Results

Showing results 1 to 40 of 66
Search took 0.01 seconds.
Search: Posts Made By: reach_yousuf
Forum: ASP.NET 17 Days Ago
Replies: 1
Views: 276
Posted By reach_yousuf
Take a look at it
http://www.dotnetbips.com/articles/fb517596-9838-454b-b65d-999a7bb78445.aspx
Forum: ASP.NET 18 Days Ago
Replies: 4
Views: 248
Posted By reach_yousuf
Hello

Just check your web.config file for connection string or send us the error message to find exact problem.


Mark as solved if it helps you!!!
Forum: ASP.NET 18 Days Ago
Replies: 4
Views: 365
Posted By reach_yousuf
Hello there

If i understand u correctly, u need a Nested/group dataset in a single dataset

Do the following, i have created an eg for you.
follow the steps
1) In solution explorer Add-> new...
Forum: ASP.NET 23 Days Ago
Replies: 10
Views: 699
Posted By reach_yousuf
Hello

You can use the following code
ASPX

<asp:TemplateColumn>
<headertemplate>
<asp:checkbox id="chkSelectAll" runat="server" Width="30px"...
Forum: ASP.NET 24 Days Ago
Replies: 1
Views: 263
Posted By reach_yousuf
Hi there

I assume that you have " " single blanck space as separator in ur input. pls. follow the code below...





Private Function DoStuff() As String
Dim arr As Array
Forum: ASP.NET 25 Days Ago
Replies: 1
Views: 250
Posted By reach_yousuf
you can retrieve the Product Registration date then compare while accessing. have a look at the sample code

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
Forum: ASP.NET 25 Days Ago
Replies: 1
Views: 237
Posted By reach_yousuf
check out this link
http://support.microsoft.com/kb/175168
Forum: ASP.NET 25 Days Ago
Replies: 1
Solved: td border
Views: 239
Posted By reach_yousuf
Hi
Use the following Code

<table>

<tr>
<td style="border:dotted">
<asp:Label ID="Label1" runat="server" Text=""></asp:Label>
...
Forum: ASP.NET 25 Days Ago
Replies: 3
Views: 225
Posted By reach_yousuf
Hi

You can compare the Path Stored in DB with physical path of the file along with their file extension eg .bmp/.jpeg etc...
Forum: ASP.NET 25 Days Ago
Replies: 3
Views: 406
Posted By reach_yousuf
Hi There

You can try this code
Note : RegisterDate is your actual date from table

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

If...
Forum: ASP.NET 25 Days Ago
Replies: 1
Views: 175
Posted By reach_yousuf
Hi

are you using Website or Web Project? if yours is website then ur solution saved in the following path

C:\Users\yourusername\Documents\Visual Studio 2005\Projects
Forum: ASP.NET Sep 26th, 2009
Replies: 3
Views: 335
Posted By reach_yousuf
Hi Sandeep

1) set Autopostback Property = true of Textbox1
2) protected Sub Textbox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtNewJobRankSerial.TextChanged
...
Forum: ASP.NET Sep 19th, 2009
Replies: 1
Views: 333
Posted By reach_yousuf
Hi,

Use the following code...

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim dsTemp As New ProductGridDS
obj = New...
Forum: ASP.NET Sep 16th, 2009
Replies: 2
Views: 367
Posted By reach_yousuf
Hi Husna

You can use Typed Dataset and merge the additional ROLE column to it, the dataset can be used to bind your GRIDVIEW and so on and so forth...

Regards
Forum: ASP.NET Sep 14th, 2009
Replies: 1
Views: 359
Posted By reach_yousuf
Hi

We can display dropdownlist in gridview but not gridview in DDL
Tell us what is the scenario and what u want to achieve?.

Regards
Forum: ASP.NET Sep 14th, 2009
Replies: 4
Views: 297
Posted By reach_yousuf
Hi There

Pls. try this

Text='<%# Bind ("price", "$ {0:f2)") %>'>


Mark as fixed if it helps you!!!
Forum: ASP.NET Sep 12th, 2009
Replies: 2
Views: 660
Posted By reach_yousuf
Hi
if i understood correctly, u need a SQL query after joining those two tables ??

Pls. gimme what columns u needed from each of these tables and where conditions if any...
Forum: ASP.NET Sep 12th, 2009
Replies: 1
Views: 257
Posted By reach_yousuf
Hi
If i understood u correctly, u need to search records based on your Query value stored in session("Example").

Write: "select * from mytable where mycolumn like '%" & session("Example") & "%'...
Forum: ASP.NET Sep 7th, 2009
Replies: 6
Views: 638
Posted By reach_yousuf
Hello dear

You can use select_IndexChangeEvent Like this...

Protected Sub MyDropDownList_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles...
Forum: ASP.NET Sep 7th, 2009
Replies: 12
Views: 810
Posted By reach_yousuf
Hi there

Pls. follow the link, this is a solved thread by me.

http://www.daniweb.com/forums/thread174460.html

Mark the thread as solved if it helps you!!!
Happy coding
Forum: ASP.NET Sep 7th, 2009
Replies: 5
Views: 547
Posted By reach_yousuf
Hi there

Use the Query like this . The result is tested in 'Adventureworks' database


Select
product.ProductID,
product.Name,
ProductInventory.Quantity,
product.Name+'('+...
Forum: ASP.NET Sep 7th, 2009
Replies: 5
Views: 547
Posted By reach_yousuf
Hello there

You can do this with the resultset from your dataset source.
You can write the Group query to select eg:

select ProductID , ProductName and Value as Contactinate Productname +...
Forum: ASP.NET Jul 19th, 2009
Replies: 6
Views: 2,931
Posted By reach_yousuf
Hi there

try connection pooling . It may help you
<add key="DBConnection" value="Data Source=10.100.50.93;Initial Catalog=billing_production;User Id=sa;Password=;Pooling=true;Min Pool Size=2;Max...
Forum: ASP.NET Jun 30th, 2009
Replies: 5
Views: 442
Posted By reach_yousuf
Hi

This is not a recommended solution... it's not a good programming practice... the maintenance would be a big issue as you move in development stage.

Try keep n-tier architecture.
1) keep...
Forum: ASP.NET Jun 30th, 2009
Replies: 5
Views: 329
Posted By reach_yousuf
Hi

Can you post errors u r receiving... and be clear n specific about your problem..

Hope we i can help you.
Forum: ASP.NET Jun 24th, 2009
Replies: 2
Views: 615
Posted By reach_yousuf
Hi

Whats the error message??
Forum: ASP.NET Jun 24th, 2009
Replies: 4
Views: 540
Posted By reach_yousuf
Hi There

Pls. see the code that uses reader

You can assign data to sql reader

Public Function CheckRequest(ByVal response As String) As Boolean
Dim reader As SqlDataReader
...
Forum: ASP.NET Jun 24th, 2009
Replies: 3
Views: 763
Posted By reach_yousuf
Hi there

Try something like this


Dim MyTxt As TextBox
MyTxt = CType(Page.Master.FindControl("ContentPlaceHolder1").FindControl("TextBox2"), TextBox)
...
Forum: ASP.NET Feb 11th, 2009
Replies: 2
Solved: Sending Email
Views: 859
Posted By reach_yousuf
Hi

Try this code


Try
'(1) Create the MailMessage instance
Dim mm As New MailMessage(FromEmailAddress, ToEmailAddress)

'(2) Assign the MailMessage's properties
Forum: ASP.NET Jan 25th, 2009
Replies: 3
Views: 2,792
Posted By reach_yousuf
Hi there

Try this

Aspx

<asp:GridView ID="gvBranchInfo" runat="server" BackColor="linen" AutoGenerateColumns="False"
DataKeyNames="ID"...
Forum: ASP.NET Jan 25th, 2009
Replies: 2
Views: 1,232
Posted By reach_yousuf
Hi

Populate your dataset with appropriate data



Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


Dim sb1 As New StringBuilder
Forum: ASP.NET Jan 20th, 2009
Replies: 3
Views: 2,363
Posted By reach_yousuf
Hi there

This peace of code can be handy to deal with file extensions.


Public Shared Function GetFileName(ByVal Path As String) As String
Try
Dim RetVal As String
...
Forum: ASP.NET Jan 20th, 2009
Replies: 1
Views: 2,579
Posted By reach_yousuf
Dear
Do Something like this.. you can convert your code to C# easily


Public Shared Function ReadBillFile(ByVal Filename As String) As String
Try
Dim sr As StreamReader
...
Forum: ASP.NET Dec 2nd, 2008
Replies: 19
Views: 1,962
Posted By reach_yousuf
As i understood from you code in selectindexchanged event:


daItems.SelectCommand.CommandText = "Select ProductName, UnitPrice, UnitsInStock, ProductImage from dbo.Products where CategoryID = " ...
Forum: ASP.NET Dec 2nd, 2008
Replies: 3
Views: 975
Posted By reach_yousuf
hii

Add the code code in your .aspx


<asp:DropDownList id="ddl1" runat="server" AutoPostBack="True" AppendDataBoundItems="True" >
<asp:ListItem Selected="True"...
Forum: ASP.NET Dec 2nd, 2008
Replies: 19
Views: 1,962
Posted By reach_yousuf
hii
Add the 3rd line code while binding DDlist.

ddlItems.DataSource = dsCategory;
ddlItems.DataMember = "Categories";
ddlItems.DataValueField= "CategoryID"...
Forum: ASP.NET Nov 29th, 2008
Replies: 2
Views: 1,770
Posted By reach_yousuf
Hi

Try to find the value of the grid's control


Dim MyTxt As TextBox

MyTxt = CType(Mygridview.FindControl("ord_Date"), TextBox)

Let me know if it solves your problem!
Forum: ASP.NET Nov 24th, 2008
Replies: 3
Views: 1,314
Posted By reach_yousuf
If i understand correctly, you need to instantiate your dataset

VB code

dim ds as new dataset

C# (Pls. correct the syntax if its wrong)

dataset ds = new dataset
Forum: ASP.NET Nov 23rd, 2008
Replies: 1
Views: 565
Posted By reach_yousuf
Pls. use SQL query viz

strQuery = "Select * from customers where customer name like '%" textbox1.text &" %'"

Pls. make sure to change your approriate db connection string


Public Function...
Forum: ASP.NET Nov 23rd, 2008
Replies: 2
Views: 589
Posted By reach_yousuf
Hi

Pls. use SQL query viz

strQuery = "Select Zipcode from Ziptable where Zipcode like '%" & your param &" %'"

Pls. make sure to change your approriate db connection string

Public...
Showing results 1 to 40 of 66

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC