|
so how that file structure should b maintained .can u suggest any website link for its help...
how to make that file structure...
prashant jain malviya national institute of technology
|
|
|
|
|
Hi,
I think, database will be a good choice. Using databases will allow you easy searching facility.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
thanx for replying. do you think it is efficient to store the complete mail in string format in table.. is that followed in yahoomail.. any article on web discussing on this topic
thanx
prashant jain malviya national institute of technology
|
|
|
|
|
Hi
Am trying to develop a web application for BlackBerry.
For this ,do i have to make use of ASP.NET Mobile web applications or ASP.NET web applications?
Can anyone please help me in finding out this and any website for referring the same?
Thanx
~Vsree
|
|
|
|
|
I think mobile application.
|
|
|
|
|
Thanks ya
But can u please suggest me any good articles as reference for developing this kind of applications?
|
|
|
|
|
Try this :
http://www.c-sharpcorner.com/UploadFile/ggaganesh/DvelopingMobileWebApplicationwith.NET11182005013704AM/DvelopingMobileWebApplicationwith.NET.aspx
http://www.wirelessdevnet.com/channels/wap/features/mobilesdk.html
Hope this helps u...
|
|
|
|
|
Thanks friend
Now am comfortable with designing pages in Mobile Web Application.
The two links are quite useful.
If anyone can help me with more samples,it would be of great help.
Thanks
~VSree
|
|
|
|
|
i need code for upload an xl file which has size 100mb. so how can i approach. using file laoder it si not possible as it is too big. so by FTP it possible i think ...but i don't know the code to use in c#
so plzzzzzzzzz any one can gve me response as early as possible
Suresh.R
|
|
|
|
|
|
Hello
am a beginner in programming asp.net(vb)I really don't understand what might be the problem connected my application to the database,inside the values in the tables to test my applicatuion,bind it,when I try to run it the value in the dropdowmlist doesn't appear....
Please help me
Thank you in Advance
oga m
|
|
|
|
|
Show me how u binded dropdown ?
|
|
|
|
|
Hi Change your Datasource name and Database then it will work
page_load()
----------
If Not Page.IsPostBack Then
bindDrop()
End If
Sub bindDrop()
Try
conObj = New SqlConnection("Data Source=B4B-2F-323-CK26;user id=sa;password=sa;Database=TEST")
conObj.Open()
adpObj = New SqlDataAdapter("SELECT * FROM Login", conObj)
adpObj.Fill(dsObj, "Login")
ddl.DataSource = dsObj.Tables("Login").DefaultView
ddl.DataTextField = "UserName"
ddl.DataValueField = "ContactNo"
ddl.DataBind()
Catch ex As Exception
Console.WriteLine(ex.ToString())
Finally
conObj.Close()
adpObj.Dispose()
End Try
End Sub
if you find any problems then mail me bye
|
|
|
|
|
Hi All,
I need to write a query where I have to search Date form DB.
Suppose I have a column name as InvoiceDate and I have to search all the records whose InvoiceDate is Like 02/14 or 02 or 02/14/2007.These are the different searches which I need to do.
Please help me...
Thanks in advance...
|
|
|
|
|
How you are storing date values in database ? Varchar or datatime ?
If varchar then
select * from table where InvoiceDate like '02/14'
select * from table where InvoiceDate like '02'
select * from table where InvoiceDate like '02/14/2007'
if datetime use day,month and year functions to search like this
|
|
|
|
|
Thanks for the reply.I storing it as datetime.Can u please explain me in detail or help me in writting the code.
Thanks ...
|
|
|
|
|
It could be something like
--For checking day
select * from table where day( convert(datetime,yourdatetimecolumn) ) = yourday
--For checking day and month
select * from table where month( convert(datetime,yourdatetimecolumn) ) = yourmonth and day( convert(datetime,yourdatetimecolumn) ) = yourday
select * from table where convert(datetime,yourdatetimecolumn) = yourdate
I am not sure that this is the best way. But I think it can work according to u r requirement.
|
|
|
|
|
The input can be anything I mean if user put 2/ then how will I use this...
|
|
|
|
|
varshavmane wrote: The input can be anything I mean if user put 2/ then how will I use this...
You should ensure that the input is valid. If not valid like 2/ change it to the format which we can do checking
|
|
|
|
|
if i want to design a Report then which one we will choose.
aspx page or CrystalReport(.rpt) if CrystalReport then how will do that?
Suppose, if I enter a Empno and Date in TextBoxes then Report should display task details for that day for the given Empno?
pls tell me ,Can we add any labels and TextBoxes in CrystalReport(.rpt)
Thanks to all Repliers
|
|
|
|
|
siddisagar wrote: f i want to design a Report then which one we will choose.
aspx page or CrystalReport(.rpt) if CrystalReport then how will do that?
It depends on your requirement. If you want only showing the output to user then better go for aspx page. Or if u wan to convert the output to PDF then crystal reports will be good solution.
siddisagar wrote: Can we add any labels and TextBoxes in CrystalReport(.rpt)
Labels you can. Textboxes I am not sure
|
|
|
|
|
I need to populate a listbox named "subcategory" once the user clicks his desired selection in dropdownlist named "category" e.g. c++ has subcategories polymorphism,inheritance etc.
please help me thru code
|
|
|
|
|
manugrg wrote: I need to populate a listbox named "subcategory" once the user clicks his desired selection in dropdownlist named "category"
In server side you can do like this
1. Make autopostback to true for category dropdown
2. On selected index changed event of category write the following code
if( category.SelectedItem.Text == "c++" )
{
subcategory.items.add("polymorphism");
subcategory.items.add("overloading");
subcategory.items.add("something");
}
But this method will make a postback each time when you change category. For avoiding postback use javascript
|
|
|
|
|
Try this:
strSql = "SELECT ID , Name FROM sysTable"
objDT = objDB.ExecuteDatatable(strSql)
If objDT.Rows.Count > 0 Then
With cmb
.DataSource = objDT
.DataTextField = objDT.Columns(1).ToString
.DataValueField = objDT.Columns(0).ToString
.DataBind()
If IsDefaultValueNeeded Then
.Items.Insert(0, New ListItem("Select", -1))
End If
End With
End If
On SelectedIndexChanged of combo Fill the listbox
strSql = "Ur Query"
objDT = objDB.ExecuteDatatable(strSql)
If objDT.Rows.Count > 0 Then
'Fill ListBox With Column Display Name
With lstsource
.DataSource = objDT
.DataTextField = objDT.Columns(3).ToString
.DataValueField = objDT.Columns(0).ToString
.DataBind()
End With
Endif
hope this helps u...
|
|
|
|
|
how to connect a string array fileList in the gridview .i am doing it as
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt.Columns.Add("title", typeof(String));
DataRow newRow;
foreach (DataRow row in fileList)//???<u>i am not getting how to do this </u> {
newRow = dt.NewRow();
newRow["title"] = Title;
dt.Rows.Add(newRow);
}
GridView1.DataSource =dt.DefaultView ;
GridView1.DataBind();
}
GridView1.AutoGenerateColumns = false;
GridView1.DataBind();
on aspx page
<asp:GridView ID="GridView1" AutoGenerateColumns="true" runat="server" ShowHeader="False" GridLines="None" OnRowCommand="GridView1_OnRowCommand" >
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="Hyperlinkpolicy" runat="server" Text='<%#Eval("fileList") %>' CommandArgument='<%#Eval("fileList") %>' CommandName="button" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
pls help me out .
thanks in advance
-- modified at 2:24 Thursday 15th March, 2007
thanks in advance .
|
|
|
|