Dear All,
Please let me know the connection string for odbc in vb.net web application.... .
I tried the following,
"Dsn=Excel1 ; providerName=Sy stem.Data.Odbc; "
but its throwing an error .....
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Arun....
User Profile
Collapse
-
Connection String ODBC
-
ASP.NET ---- How to get database value as dropdownlist selected value
Hi All,
I have an editable datagrid with 10 columns, one of those is ddl column which I used for showing the status....
[ Please note : Status is a template column with an item template as label... and edit item template as dropdownlist]
By default all the columns are readonly, when user clicks edit, status ll be enabled and im getting the values in the grid.......
say, following are the... -
Multithreading in vb.net
Please let me know how to send message from thread to main application on a button click. Some samples will be more effective ....
Thanks .... -
Hi,
Thanks for your reply.....
first i ll tell me required output......
say for example following is the textfile which im reading
Code:9954552067,abc.wav 1234567890,def.wav 7879989907,abc.wav 8989867890,def.wav
my messagebox should display each line one by one..... but its displaying only first line ..... Please let me know how to...Leave a comment:
-
Reading a textfile line by line and storing it in variable using vb.net
hi,
I can able to read the text file, following is the code for your reference......
...Code:Dim file As New System.IO.StreamReader("E:\Dialer.txt") Dim readLine As String = file.ReadLine Dim I As Integer = 1 Do Until file.ReadLine Is Nothing Dim s As String = readLine MessageBox.Show(s) I += 1 -
Hi Bala,
Thanks a lot, your post gave me the solution.....
Arun :)...Leave a comment:
-
Thanks for your response......
following is the format of sms....
my requirement is, I need to extract...Code:AT+CMGR=2 +CMGR: "REC READ","121",,"07/04/18,15:26:01+00" (1/2)Roam with Airtel at 56% reduced National roaming rates and no monthly rental. All local calls-Rs1.40/min, incoming calls-Rs1.75/min, STD calls-Rs2.40/mi OK
Leave a comment:
-
How to extract only message from sms in VB.NET
Hi,
Im working in mobile application using vb.net.... I read the stored sms from my simcard using GSM modem connected to my system. The sms i retrived from sim contains all details like (date, time, phone number) etc..... My question is, how to retrive only message.
I have stored the complete sms in a variable..... i tried using split and substring functions..... I didnt get the solution ......
... -
How to set the default value in a combobox using c#.net
I have four combobox two for start time ( one combo can show the hour and another for minute....)
and two for end time .
i need to set a default time say, 12:00 AM to 11:59 AM
Please let me know..... -
Inserting range of values
Hi friends,
Im using a tabel with column names (timefrom, timeto, extension) .For this tabel im inserting the values using stored procedure...
how to insert values if extension has range of values like (100 - 150)
Following is my code:
...Code:con.Open(); SqlCommand cmd=new SqlCommand("AddToDatabase",con); cmd.CommandType=CommandType.StoredProcedure; -
modifying regional and language settings programatically in vb.net
Hi friends,
i know how to retrive the regional and language options of control panel in vb.net
Eg:Code:CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern()
my question is, how to modify the regional and language settings of control panel programatically in vb.net....
Thanks in advance....... -
Hi cloud225,
Thanks 4 ur reply....
Is there any namespace to be added.... Please let me know .....Leave a comment:
-
Retirve current system location specific settings in vb.net
Hi friends,
Control Panel -> Regional and Language options will display the current location specific settings such as language [Eg- English [United States] and Short date format [Eg- dd/mm/yyyy] etc. how can we get these information programatically using .NET
Thanks in advance :)
Arun. -
Hi,
Can you be more specific or tell me what exactly is your required output and where you have to display...Leave a comment:
-
Hi,
Yes,You can change the connection string after installation. Write your connection string in web.config file. So you can install your setup anywhere you want and can run it, by just changing the Appsetting in config file..
If you have any doubt regarding Appsettings, plaese refer following link
http://www.odetocode.c om/Articles/345.aspx
All the best :)Leave a comment:
-
Hi friends i resolved the problem.......
instead of selected value i gave selected text........that was the problem.Code:if (ddlColumnName[B].SelectedValue [/B] == "File size") { Label4.Text = "Bytes"; }
Thank u......Leave a comment:
-
Following is the code
Code:private void ddlColumnName_SelectedIndexChanged(object sender, System.EventArgs e) { if (ddlColumnName.SelectedItem.Text == "call duration") { Label4.Text = "HH:MM:SS"; } }Leave a comment:
-
yes i have placed under SelectedIndexCh anged event but still label value is not displayed..... Anything wrong in my code ?Leave a comment:
-
How to display label text when a dropdown list is selected..
Hi friends,
following is my code
Im using c#, i have one dropdown list with n number of items. one amoung that item is call duration. If user select this option i have...Code://================ if (ddlColumnName.SelectedItem.Text == "call duration") { Label4.Text = "HH:MM:SS"; } //=================
No activity results to display
Show More
Leave a comment: